HSL(55, 20%, 9%)

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(55,20%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(55, 20%, 9%) color: hsl(55, 20%, 9%)
HEX #1C1B12 color: #1C1B12
RGB rgb(28, 27, 18) color: rgb(28, 27, 18)
CMYK cmyk(0%, 4%, 36%, 89%)
HSV hsv(54, 36%, 11%)
HWB hwb(54 7% 89%) color: hwb(54 7% 89%)
OKLCH oklch(0.2201 0.0167 102.36) color: oklch(0.2201 0.0167 102.36)
Lab lab(9.6 -1.5 6.13) color: lab(9.6 -1.5 6.13)
LCH lch(9.6 6.31 103.75) color: lch(9.6 6.31 103.75)

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.29: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)

#1C1C14 — rgb(28, 28, 20)

Deuteranopia (Green-blind)

#1C1C15 — rgb(28, 28, 21)

Tritanopia (Blue-blind)

#1C1616 — rgb(28, 22, 22)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(55, 20%, 9%);

text

color: hsl(55, 20%, 9%);

border

border: 2px solid hsl(55, 20%, 9%);

gradient light

background: linear-gradient(to right, hsl(55, 20%, 29%), hsl(55, 20%, 9%));

gradient dark

background: linear-gradient(to right, hsl(55, 20%, 9%), hsl(55, 20%, 0%))

hex

background-color: #1C1B12;

tailwind

bg-[hsl(55,20%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(55, 20%, 9%, 0.4);

css variable

--color-primary: hsl(55, 20%, 9%);

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(55, 20%, 9%)?

HEX: #1C1B12 | RGB: rgb(28, 27, 18) | CMYK: 0%, 4%, 36%, 89% | HSV: 54°, 36%, 11%. Copy any format from the conversion table above.

What colors go well with #1C1B12?

The complementary color is HSL(235, 20%, 9%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(55, 20%, 9%) in CSS?

As HSL: color: hsl(55, 20%, 9%); — As HEX: color: #1C1B12; — As RGB: color: rgb(28, 27, 18); — Tailwind CSS: bg-[hsl(55,20%,9%)] — CSS variable: --color-primary: hsl(55, 20%, 9%);