HSL(51, 92%, 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(51,92%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 92%, 8%) | color: hsl(51, 92%, 8%) | |
| HEX | #272202 | color: #272202 | |
| RGB | rgb(39, 34, 2) | color: rgb(39, 34, 2) | |
| CMYK | cmyk(0%, 13%, 95%, 85%) | — | |
| HSV | hsv(52, 95%, 15%) | — | |
| HWB | hwb(52 1% 85%) | color: hwb(52 1% 85%) | |
| OKLCH | oklch(0.2501 0.0493 100.62) | color: oklch(0.2501 0.0493 100.62) | |
| Lab | lab(13.11 -2.32 18.48) | color: lab(13.11 -2.32 18.48) | |
| LCH | lch(13.11 18.63 97.16) | color: lch(13.11 18.63 97.16) |
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)
#25250A — rgb(37, 37, 10)
Deuteranopia (Green-blind)
#25260C — rgb(37, 38, 12)
Tritanopia (Blue-blind)
#271011 — rgb(39, 16, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 92%, 8%);
text
color: hsl(51, 92%, 8%);
border
border: 2px solid hsl(51, 92%, 8%);
gradient light
background: linear-gradient(to right, hsl(51, 92%, 28%), hsl(51, 92%, 8%));
gradient dark
background: linear-gradient(to right, hsl(51, 92%, 8%), hsl(51, 92%, 0%))
hex
background-color: #272202;
tailwind
bg-[hsl(51,92%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 92%, 8%, 0.4);
css variable
--color-primary: hsl(51, 92%, 8%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 92%, 8%)?
HEX: #272202 | RGB: rgb(39, 34, 2) | CMYK: 0%, 13%, 95%, 85% | HSV: 52°, 95%, 15%. Copy any format from the conversion table above.
What colors go well with #272202?
The complementary color is HSL(231, 92%, 8%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 92%, 8%) in CSS?
As HSL: color: hsl(51, 92%, 8%); — As HEX: color: #272202; — As RGB: color: rgb(39, 34, 2); — Tailwind CSS: bg-[hsl(51,92%,8%)] — CSS variable: --color-primary: hsl(51, 92%, 8%);