HSL(57, 12%, 23%)
Grayish Yellow — Yellow color
Adjust Color
Color Information
Color Name
Grayish Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(57,12%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 12%, 23%) | color: hsl(57, 12%, 23%) | |
| HEX | #424134 | color: #424134 | |
| RGB | rgb(66, 65, 52) | color: rgb(66, 65, 52) | |
| CMYK | cmyk(0%, 2%, 21%, 74%) | — | |
| HSV | hsv(56, 21%, 26%) | — | |
| HWB | hwb(56 21% 74%) | color: hwb(56 21% 74%) | |
| OKLCH | oklch(0.3722 0.0214 103.75) | color: oklch(0.3722 0.0214 103.75) | |
| Lab | lab(27.26 -2.21 8.11) | color: lab(27.26 -2.21 8.11) | |
| LCH | lch(27.26 8.41 105.24) | color: lch(27.26 8.41 105.24) |
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)
#424237 — rgb(66, 66, 55)
Deuteranopia (Green-blind)
#424238 — rgb(66, 66, 56)
Tritanopia (Blue-blind)
#423A3A — rgb(66, 58, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 12%, 23%);
text
color: hsl(57, 12%, 23%);
border
border: 2px solid hsl(57, 12%, 23%);
gradient light
background: linear-gradient(to right, hsl(57, 12%, 43%), hsl(57, 12%, 23%));
gradient dark
background: linear-gradient(to right, hsl(57, 12%, 23%), hsl(57, 12%, 3%))
hex
background-color: #424134;
tailwind
bg-[hsl(57,12%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 12%, 23%, 0.4);
css variable
--color-primary: hsl(57, 12%, 23%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 12%, 23%)?
HEX: #424134 | RGB: rgb(66, 65, 52) | CMYK: 0%, 2%, 21%, 74% | HSV: 56°, 21%, 26%. Copy any format from the conversion table above.
What colors go well with #424134?
The complementary color is HSL(237, 12%, 23%). 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, 12%, 23%) in CSS?
As HSL: color: hsl(57, 12%, 23%); — As HEX: color: #424134; — As RGB: color: rgb(66, 65, 52); — Tailwind CSS: bg-[hsl(57,12%,23%)] — CSS variable: --color-primary: hsl(57, 12%, 23%);