HSL(54, 70%, 9%)
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(54,70%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 70%, 9%) | color: hsl(54, 70%, 9%) | |
| HEX | #272407 | color: #272407 | |
| RGB | rgb(39, 36, 7) | color: rgb(39, 36, 7) | |
| CMYK | cmyk(0%, 8%, 82%, 85%) | — | |
| HSV | hsv(54, 82%, 15%) | — | |
| HWB | hwb(54 3% 85%) | color: hwb(54 3% 85%) | |
| OKLCH | oklch(0.2565 0.045 103.46) | color: oklch(0.2565 0.045 103.46) | |
| Lab | lab(13.88 -3.19 17.47) | color: lab(13.88 -3.19 17.47) | |
| LCH | lch(13.88 17.76 100.35) | color: lch(13.88 17.76 100.35) |
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)
#26260E — rgb(38, 38, 14)
Deuteranopia (Green-blind)
#262610 — rgb(38, 38, 16)
Tritanopia (Blue-blind)
#271415 — rgb(39, 20, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 70%, 9%);
text
color: hsl(54, 70%, 9%);
border
border: 2px solid hsl(54, 70%, 9%);
gradient light
background: linear-gradient(to right, hsl(54, 70%, 29%), hsl(54, 70%, 9%));
gradient dark
background: linear-gradient(to right, hsl(54, 70%, 9%), hsl(54, 70%, 0%))
hex
background-color: #272407;
tailwind
bg-[hsl(54,70%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 70%, 9%, 0.4);
css variable
--color-primary: hsl(54, 70%, 9%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 70%, 9%)?
HEX: #272407 | RGB: rgb(39, 36, 7) | CMYK: 0%, 8%, 82%, 85% | HSV: 54°, 82%, 15%. Copy any format from the conversion table above.
What colors go well with #272407?
The complementary color is HSL(234, 70%, 9%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 70%, 9%) in CSS?
As HSL: color: hsl(54, 70%, 9%); — As HEX: color: #272407; — As RGB: color: rgb(39, 36, 7); — Tailwind CSS: bg-[hsl(54,70%,9%)] — CSS variable: --color-primary: hsl(54, 70%, 9%);