HSL(45, 80%, 4%)
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(45,80%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 80%, 4%) | color: hsl(45, 80%, 4%) | |
| HEX | #120E02 | color: #120E02 | |
| RGB | rgb(18, 14, 2) | color: rgb(18, 14, 2) | |
| CMYK | cmyk(0%, 22%, 89%, 93%) | — | |
| HSV | hsv(45, 89%, 7%) | — | |
| HWB | hwb(45 1% 93%) | color: hwb(45 1% 93%) | |
| OKLCH | oklch(0.1646 0.0277 94.83) | color: oklch(0.1646 0.0277 94.83) | |
| Lab | lab(4.04 -0.31 5.22) | color: lab(4.04 -0.31 5.22) | |
| LCH | lch(4.04 5.23 93.4) | color: lch(4.04 5.23 93.4) |
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)
#101005 — rgb(16, 16, 5)
Deuteranopia (Green-blind)
#111106 — rgb(17, 17, 6)
Tritanopia (Blue-blind)
#120708 — rgb(18, 7, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 80%, 4%);
text
color: hsl(45, 80%, 4%);
border
border: 2px solid hsl(45, 80%, 4%);
gradient light
background: linear-gradient(to right, hsl(45, 80%, 24%), hsl(45, 80%, 4%));
gradient dark
background: linear-gradient(to right, hsl(45, 80%, 4%), hsl(45, 80%, 0%))
hex
background-color: #120E02;
tailwind
bg-[hsl(45,80%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 80%, 4%, 0.4);
css variable
--color-primary: hsl(45, 80%, 4%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 80%, 4%)?
HEX: #120E02 | RGB: rgb(18, 14, 2) | CMYK: 0%, 22%, 89%, 93% | HSV: 45°, 89%, 7%. Copy any format from the conversion table above.
What colors go well with #120E02?
The complementary color is HSL(225, 80%, 4%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(45, 80%, 4%) in CSS?
As HSL: color: hsl(45, 80%, 4%); — As HEX: color: #120E02; — As RGB: color: rgb(18, 14, 2); — Tailwind CSS: bg-[hsl(45,80%,4%)] — CSS variable: --color-primary: hsl(45, 80%, 4%);