HSL(47, 25%, 8%)
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(47,25%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 25%, 8%) | color: hsl(47, 25%, 8%) | |
| HEX | #1A170F | color: #1A170F | |
| RGB | rgb(26, 23, 15) | color: rgb(26, 23, 15) | |
| CMYK | cmyk(0%, 12%, 42%, 90%) | — | |
| HSV | hsv(44, 42%, 10%) | — | |
| HWB | hwb(44 6% 90%) | color: hwb(44 6% 90%) | |
| OKLCH | oklch(0.2054 0.0157 89.91) | color: oklch(0.2054 0.0157 89.91) | |
| Lab | lab(7.83 -0.22 5.26) | color: lab(7.83 -0.22 5.26) | |
| LCH | lch(7.83 5.26 92.4) | color: lch(7.83 5.26 92.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)
#191911 — rgb(25, 25, 17)
Deuteranopia (Green-blind)
#191911 — rgb(25, 25, 17)
Tritanopia (Blue-blind)
#1A1213 — rgb(26, 18, 19)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 25%, 8%);
text
color: hsl(47, 25%, 8%);
border
border: 2px solid hsl(47, 25%, 8%);
gradient light
background: linear-gradient(to right, hsl(47, 25%, 28%), hsl(47, 25%, 8%));
gradient dark
background: linear-gradient(to right, hsl(47, 25%, 8%), hsl(47, 25%, 0%))
hex
background-color: #1A170F;
tailwind
bg-[hsl(47,25%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 25%, 8%, 0.4);
css variable
--color-primary: hsl(47, 25%, 8%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 25%, 8%)?
HEX: #1A170F | RGB: rgb(26, 23, 15) | CMYK: 0%, 12%, 42%, 90% | HSV: 44°, 42%, 10%. Copy any format from the conversion table above.
What colors go well with #1A170F?
The complementary color is HSL(227, 25%, 8%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 25%, 8%) in CSS?
As HSL: color: hsl(47, 25%, 8%); — As HEX: color: #1A170F; — As RGB: color: rgb(26, 23, 15); — Tailwind CSS: bg-[hsl(47,25%,8%)] — CSS variable: --color-primary: hsl(47, 25%, 8%);