HSL(55, 52%, 12%)

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,52%,12%)]

Color Conversions

Format Value CSS Usage
HSL hsl(55, 52%, 12%) color: hsl(55, 52%, 12%)
HEX #2F2C0F color: #2F2C0F
RGB rgb(47, 44, 15) color: rgb(47, 44, 15)
CMYK cmyk(0%, 6%, 68%, 82%)
HSV hsv(54, 68%, 18%)
HWB hwb(54 6% 82%) color: hwb(54 6% 82%)
OKLCH oklch(0.2889 0.0454 103.41) color: oklch(0.2889 0.0454 103.41)
Lab lab(17.65 -3.42 18.85) color: lab(17.65 -3.42 18.85)
LCH lch(17.65 19.16 100.28) color: lch(17.65 19.16 100.28)

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 14.11:1
vs Black 1.49: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)

#2E2E16 — rgb(46, 46, 22)

Deuteranopia (Green-blind)

#2E2E18 — rgb(46, 46, 24)

Tritanopia (Blue-blind)

#2F1C1D — rgb(47, 28, 29)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(55, 52%, 12%);

text

color: hsl(55, 52%, 12%);

border

border: 2px solid hsl(55, 52%, 12%);

gradient light

background: linear-gradient(to right, hsl(55, 52%, 32%), hsl(55, 52%, 12%));

gradient dark

background: linear-gradient(to right, hsl(55, 52%, 12%), hsl(55, 52%, 0%))

hex

background-color: #2F2C0F;

tailwind

bg-[hsl(55,52%,12%)]

box shadow

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

css variable

--color-primary: hsl(55, 52%, 12%);

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, 52%, 12%)?

HEX: #2F2C0F | RGB: rgb(47, 44, 15) | CMYK: 0%, 6%, 68%, 82% | HSV: 54°, 68%, 18%. Copy any format from the conversion table above.

What colors go well with #2F2C0F?

The complementary color is HSL(235, 52%, 12%). 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, 52%, 12%) in CSS?

As HSL: color: hsl(55, 52%, 12%); — As HEX: color: #2F2C0F; — As RGB: color: rgb(47, 44, 15); — Tailwind CSS: bg-[hsl(55,52%,12%)] — CSS variable: --color-primary: hsl(55, 52%, 12%);