HSL(57, 19%, 15%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(57,19%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 19%, 15%) | color: hsl(57, 19%, 15%) | |
| HEX | #2E2D1F | color: #2E2D1F | |
| RGB | rgb(46, 45, 31) | color: rgb(46, 45, 31) | |
| CMYK | cmyk(0%, 2%, 33%, 82%) | — | |
| HSV | hsv(56, 33%, 18%) | — | |
| HWB | hwb(56 12% 82%) | color: hwb(56 12% 82%) | |
| OKLCH | oklch(0.2937 0.0241 104.35) | color: oklch(0.2937 0.0241 104.35) | |
| Lab | lab(18.17 -2.41 9.25) | color: lab(18.17 -2.41 9.25) | |
| LCH | lch(18.17 9.56 104.6) | color: lch(18.17 9.56 104.6) |
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)
#2E2E22 — rgb(46, 46, 34)
Deuteranopia (Green-blind)
#2E2E23 — rgb(46, 46, 35)
Tritanopia (Blue-blind)
#2E2526 — rgb(46, 37, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 19%, 15%);
text
color: hsl(57, 19%, 15%);
border
border: 2px solid hsl(57, 19%, 15%);
gradient light
background: linear-gradient(to right, hsl(57, 19%, 35%), hsl(57, 19%, 15%));
gradient dark
background: linear-gradient(to right, hsl(57, 19%, 15%), hsl(57, 19%, 0%))
hex
background-color: #2E2D1F;
tailwind
bg-[hsl(57,19%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 19%, 15%, 0.4);
css variable
--color-primary: hsl(57, 19%, 15%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 19%, 15%)?
HEX: #2E2D1F | RGB: rgb(46, 45, 31) | CMYK: 0%, 2%, 33%, 82% | HSV: 56°, 33%, 18%. Copy any format from the conversion table above.
What colors go well with #2E2D1F?
The complementary color is HSL(237, 19%, 15%). 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, 19%, 15%) in CSS?
As HSL: color: hsl(57, 19%, 15%); — As HEX: color: #2E2D1F; — As RGB: color: rgb(46, 45, 31); — Tailwind CSS: bg-[hsl(57,19%,15%)] — CSS variable: --color-primary: hsl(57, 19%, 15%);