HSL(56, 20%, 7%)
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(56,20%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(56, 20%, 7%) | color: hsl(56, 20%, 7%) | |
| HEX | #15150E | color: #15150E | |
| RGB | rgb(21, 21, 14) | color: rgb(21, 21, 14) | |
| CMYK | cmyk(0%, 0%, 33%, 92%) | — | |
| HSV | hsv(60, 33%, 8%) | — | |
| HWB | hwb(60 5% 92%) | color: hwb(60 5% 92%) | |
| OKLCH | oklch(0.1932 0.0135 107.6) | color: oklch(0.1932 0.0135 107.6) | |
| Lab | lab(6.57 -1.42 3.87) | color: lab(6.57 -1.42 3.87) | |
| LCH | lch(6.57 4.12 110.15) | color: lch(6.57 4.12 110.15) |
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)
#151510 — rgb(21, 21, 16)
Deuteranopia (Green-blind)
#151510 — rgb(21, 21, 16)
Tritanopia (Blue-blind)
#151111 — rgb(21, 17, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(56, 20%, 7%);
text
color: hsl(56, 20%, 7%);
border
border: 2px solid hsl(56, 20%, 7%);
gradient light
background: linear-gradient(to right, hsl(56, 20%, 27%), hsl(56, 20%, 7%));
gradient dark
background: linear-gradient(to right, hsl(56, 20%, 7%), hsl(56, 20%, 0%))
hex
background-color: #15150E;
tailwind
bg-[hsl(56,20%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(56, 20%, 7%, 0.4);
css variable
--color-primary: hsl(56, 20%, 7%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(56, 20%, 7%)?
HEX: #15150E | RGB: rgb(21, 21, 14) | CMYK: 0%, 0%, 33%, 92% | HSV: 60°, 33%, 8%. Copy any format from the conversion table above.
What colors go well with #15150E?
The complementary color is HSL(236, 20%, 7%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(56, 20%, 7%) in CSS?
As HSL: color: hsl(56, 20%, 7%); — As HEX: color: #15150E; — As RGB: color: rgb(21, 21, 14); — Tailwind CSS: bg-[hsl(56,20%,7%)] — CSS variable: --color-primary: hsl(56, 20%, 7%);