HSL(57, 50%, 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(57,50%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 50%, 12%) | color: hsl(57, 50%, 12%) | |
| HEX | #2E2C0F | color: #2E2C0F | |
| RGB | rgb(46, 44, 15) | color: rgb(46, 44, 15) | |
| CMYK | cmyk(0%, 4%, 67%, 82%) | — | |
| HSV | hsv(56, 67%, 18%) | — | |
| HWB | hwb(56 6% 82%) | color: hwb(56 6% 82%) | |
| OKLCH | oklch(0.2878 0.0455 105.29) | color: oklch(0.2878 0.0455 105.29) | |
| Lab | lab(17.54 -3.95 18.7) | color: lab(17.54 -3.95 18.7) | |
| LCH | lch(17.54 19.11 101.93) | color: lch(17.54 19.11 101.93) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#2D2D16 — rgb(45, 45, 22)
Deuteranopia (Green-blind)
#2D2D18 — rgb(45, 45, 24)
Tritanopia (Blue-blind)
#2E1C1D — rgb(46, 28, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 50%, 12%);
text
color: hsl(57, 50%, 12%);
border
border: 2px solid hsl(57, 50%, 12%);
gradient light
background: linear-gradient(to right, hsl(57, 50%, 32%), hsl(57, 50%, 12%));
gradient dark
background: linear-gradient(to right, hsl(57, 50%, 12%), hsl(57, 50%, 0%))
hex
background-color: #2E2C0F;
tailwind
bg-[hsl(57,50%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 50%, 12%, 0.4);
css variable
--color-primary: hsl(57, 50%, 12%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 50%, 12%)?
HEX: #2E2C0F | RGB: rgb(46, 44, 15) | CMYK: 0%, 4%, 67%, 82% | HSV: 56°, 67%, 18%. Copy any format from the conversion table above.
What colors go well with #2E2C0F?
The complementary color is HSL(237, 50%, 12%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 50%, 12%) in CSS?
As HSL: color: hsl(57, 50%, 12%); — As HEX: color: #2E2C0F; — As RGB: color: rgb(46, 44, 15); — Tailwind CSS: bg-[hsl(57,50%,12%)] — CSS variable: --color-primary: hsl(57, 50%, 12%);