HSL(52, 91%, 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(52,91%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 91%, 9%) color: hsl(52, 91%, 9%)
HEX #2C2602 color: #2C2602
RGB rgb(44, 38, 2) color: rgb(44, 38, 2)
CMYK cmyk(0%, 14%, 95%, 83%)
HSV hsv(51, 95%, 17%)
HWB hwb(51 1% 83%) color: hwb(51 1% 83%)
OKLCH oklch(0.2673 0.0531 99.75) color: oklch(0.2673 0.0531 99.75)
Lab lab(15.09 -2.18 21.2) color: lab(15.09 -2.18 21.2)
LCH lch(15.09 21.31 95.87) color: lch(15.09 21.31 95.87)

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 15.16:1
vs Black 1.39: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)

#29290B — rgb(41, 41, 11)

Deuteranopia (Green-blind)

#2A2A0D — rgb(42, 42, 13)

Tritanopia (Blue-blind)

#2C1213 — rgb(44, 18, 19)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 91%, 9%);

text

color: hsl(52, 91%, 9%);

border

border: 2px solid hsl(52, 91%, 9%);

gradient light

background: linear-gradient(to right, hsl(52, 91%, 29%), hsl(52, 91%, 9%));

gradient dark

background: linear-gradient(to right, hsl(52, 91%, 9%), hsl(52, 91%, 0%))

hex

background-color: #2C2602;

tailwind

bg-[hsl(52,91%,9%)]

box shadow

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

css variable

--color-primary: hsl(52, 91%, 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(52, 91%, 9%)?

HEX: #2C2602 | RGB: rgb(44, 38, 2) | CMYK: 0%, 14%, 95%, 83% | HSV: 51°, 95%, 17%. Copy any format from the conversion table above.

What colors go well with #2C2602?

The complementary color is HSL(232, 91%, 9%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(52, 91%, 9%) in CSS?

As HSL: color: hsl(52, 91%, 9%); — As HEX: color: #2C2602; — As RGB: color: rgb(44, 38, 2); — Tailwind CSS: bg-[hsl(52,91%,9%)] — CSS variable: --color-primary: hsl(52, 91%, 9%);