HSL(57, 85%, 5%)
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,85%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 85%, 5%) | color: hsl(57, 85%, 5%) | |
| HEX | #181702 | color: #181702 | |
| RGB | rgb(24, 23, 2) | color: rgb(24, 23, 2) | |
| CMYK | cmyk(0%, 4%, 92%, 91%) | — | |
| HSV | hsv(57, 92%, 9%) | — | |
| HWB | hwb(57 1% 91%) | color: hwb(57 1% 91%) | |
| OKLCH | oklch(0.1998 0.0384 107.07) | color: oklch(0.1998 0.0384 107.07) | |
| Lab | lab(7.33 -3.16 10.1) | color: lab(7.33 -3.16 10.1) | |
| LCH | lch(7.33 10.58 107.37) | color: lch(7.33 10.58 107.37) |
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)
#181807 — rgb(24, 24, 7)
Deuteranopia (Green-blind)
#181808 — rgb(24, 24, 8)
Tritanopia (Blue-blind)
#180B0C — rgb(24, 11, 12)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 85%, 5%);
text
color: hsl(57, 85%, 5%);
border
border: 2px solid hsl(57, 85%, 5%);
gradient light
background: linear-gradient(to right, hsl(57, 85%, 25%), hsl(57, 85%, 5%));
gradient dark
background: linear-gradient(to right, hsl(57, 85%, 5%), hsl(57, 85%, 0%))
hex
background-color: #181702;
tailwind
bg-[hsl(57,85%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 85%, 5%, 0.4);
css variable
--color-primary: hsl(57, 85%, 5%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 85%, 5%)?
HEX: #181702 | RGB: rgb(24, 23, 2) | CMYK: 0%, 4%, 92%, 91% | HSV: 57°, 92%, 9%. Copy any format from the conversion table above.
What colors go well with #181702?
The complementary color is HSL(237, 85%, 5%). 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, 85%, 5%) in CSS?
As HSL: color: hsl(57, 85%, 5%); — As HEX: color: #181702; — As RGB: color: rgb(24, 23, 2); — Tailwind CSS: bg-[hsl(57,85%,5%)] — CSS variable: --color-primary: hsl(57, 85%, 5%);