HSL(61, 40%, 5%)
Very Dark Yellow — Yellow color
Adjust Color
Color Information
Color Name
Very Dark Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,40%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 40%, 5%) | color: hsl(61, 40%, 5%) | |
| HEX | #121208 | color: #121208 | |
| RGB | rgb(18, 18, 8) | color: rgb(18, 18, 8) | |
| CMYK | cmyk(0%, 0%, 56%, 93%) | — | |
| HSV | hsv(60, 56%, 7%) | — | |
| HWB | hwb(60 3% 93%) | color: hwb(60 3% 93%) | |
| OKLCH | oklch(0.1787 0.0193 108.2) | color: oklch(0.1787 0.0193 108.2) | |
| Lab | lab(5.23 -1.66 4.51) | color: lab(5.23 -1.66 4.51) | |
| LCH | lch(5.23 4.81 110.21) | color: lch(5.23 4.81 110.21) |
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)
#12120A — rgb(18, 18, 10)
Deuteranopia (Green-blind)
#12120B — rgb(18, 18, 11)
Tritanopia (Blue-blind)
#120C0D — rgb(18, 12, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 40%, 5%);
text
color: hsl(61, 40%, 5%);
border
border: 2px solid hsl(61, 40%, 5%);
gradient light
background: linear-gradient(to right, hsl(61, 40%, 25%), hsl(61, 40%, 5%));
gradient dark
background: linear-gradient(to right, hsl(61, 40%, 5%), hsl(61, 40%, 0%))
hex
background-color: #121208;
tailwind
bg-[hsl(61,40%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 40%, 5%, 0.4);
css variable
--color-primary: hsl(61, 40%, 5%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 40%, 5%)?
HEX: #121208 | RGB: rgb(18, 18, 8) | CMYK: 0%, 0%, 56%, 93% | HSV: 60°, 56%, 7%. Copy any format from the conversion table above.
What colors go well with #121208?
The complementary color is HSL(241, 40%, 5%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(61, 40%, 5%) in CSS?
As HSL: color: hsl(61, 40%, 5%); — As HEX: color: #121208; — As RGB: color: rgb(18, 18, 8); — Tailwind CSS: bg-[hsl(61,40%,5%)] — CSS variable: --color-primary: hsl(61, 40%, 5%);