HSL(61, 40%, 6%)
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%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 40%, 6%) | color: hsl(61, 40%, 6%) | |
| HEX | #151509 | color: #151509 | |
| RGB | rgb(21, 21, 9) | color: rgb(21, 21, 9) | |
| CMYK | cmyk(0%, 0%, 57%, 92%) | — | |
| HSV | hsv(60, 57%, 8%) | — | |
| HWB | hwb(60 3% 92%) | color: hwb(60 3% 92%) | |
| OKLCH | oklch(0.1918 0.0223 108.33) | color: oklch(0.1918 0.0223 108.33) | |
| Lab | lab(6.46 -2.18 5.94) | color: lab(6.46 -2.18 5.94) | |
| LCH | lch(6.46 6.33 110.15) | color: lch(6.46 6.33 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)
#15150C — rgb(21, 21, 12)
Deuteranopia (Green-blind)
#15150D — rgb(21, 21, 13)
Tritanopia (Blue-blind)
#150E0F — rgb(21, 14, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 40%, 6%);
text
color: hsl(61, 40%, 6%);
border
border: 2px solid hsl(61, 40%, 6%);
gradient light
background: linear-gradient(to right, hsl(61, 40%, 26%), hsl(61, 40%, 6%));
gradient dark
background: linear-gradient(to right, hsl(61, 40%, 6%), hsl(61, 40%, 0%))
hex
background-color: #151509;
tailwind
bg-[hsl(61,40%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 40%, 6%, 0.4);
css variable
--color-primary: hsl(61, 40%, 6%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 40%, 6%)?
HEX: #151509 | RGB: rgb(21, 21, 9) | CMYK: 0%, 0%, 57%, 92% | HSV: 60°, 57%, 8%. Copy any format from the conversion table above.
What colors go well with #151509?
The complementary color is HSL(241, 40%, 6%). 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%, 6%) in CSS?
As HSL: color: hsl(61, 40%, 6%); — As HEX: color: #151509; — As RGB: color: rgb(21, 21, 9); — Tailwind CSS: bg-[hsl(61,40%,6%)] — CSS variable: --color-primary: hsl(61, 40%, 6%);