HSL(50, 100%, 6%)

Very Dark Yellow — Yellow color

Adjust Color

Color Information

Color Name

Very Dark Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(50,100%,6%)]

Color Conversions

Format Value CSS Usage
HSL hsl(50, 100%, 6%) color: hsl(50, 100%, 6%)
HEX #1F1A00 color: #1F1A00
RGB rgb(31, 26, 0) color: rgb(31, 26, 0)
CMYK cmyk(0%, 16%, 100%, 88%)
HSV hsv(50, 100%, 12%)
HWB hwb(50 0% 88%) color: hwb(50 0% 88%)
OKLCH oklch(0.217 0.0451 99.52) color: oklch(0.217 0.0451 99.52)
Lab lab(9.24 -1.68 13.79) color: lab(9.24 -1.68 13.79)
LCH lch(9.24 13.89 96.95) color: lch(9.24 13.89 96.95)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 17.41:1
vs Black 1.21:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#1D1D06 — rgb(29, 29, 6)

Deuteranopia (Green-blind)

#1D1E08 — rgb(29, 30, 8)

Tritanopia (Blue-blind)

#1F0B0C — rgb(31, 11, 12)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(50, 100%, 6%);

text

color: hsl(50, 100%, 6%);

border

border: 2px solid hsl(50, 100%, 6%);

gradient light

background: linear-gradient(to right, hsl(50, 100%, 26%), hsl(50, 100%, 6%));

gradient dark

background: linear-gradient(to right, hsl(50, 100%, 6%), hsl(50, 100%, 0%))

hex

background-color: #1F1A00;

tailwind

bg-[hsl(50,100%,6%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(50, 100%, 6%, 0.4);

css variable

--color-primary: hsl(50, 100%, 6%);

Related Colors

Use Cases for Very Dark Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(50, 100%, 6%)?

HEX: #1F1A00 | RGB: rgb(31, 26, 0) | CMYK: 0%, 16%, 100%, 88% | HSV: 50°, 100%, 12%. Copy any format from the conversion table above.

What colors go well with #1F1A00?

The complementary color is HSL(230, 100%, 6%). For a triadic harmony, use hues 50°, 170°, and 290°. For analogous combinations, try hues 20° and 80°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(50, 100%, 6%) in CSS?

As HSL: color: hsl(50, 100%, 6%); — As HEX: color: #1F1A00; — As RGB: color: rgb(31, 26, 0); — Tailwind CSS: bg-[hsl(50,100%,6%)] — CSS variable: --color-primary: hsl(50, 100%, 6%);