HSL(54, 70%, 3%)
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%,3%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 70%, 3%) | color: hsl(54, 70%, 3%) | |
| HEX | #0D0C02 | color: #0D0C02 | |
| RGB | rgb(13, 12, 2) | color: rgb(13, 12, 2) | |
| CMYK | cmyk(0%, 8%, 85%, 95%) | — | |
| HSV | hsv(55, 85%, 5%) | — | |
| HWB | hwb(55 1% 95%) | color: hwb(55 1% 95%) | |
| OKLCH | oklch(0.1515 0.0249 105.11) | color: oklch(0.1515 0.0249 105.11) | |
| Lab | lab(3.19 -1.11 3.93) | color: lab(3.19 -1.11 3.93) | |
| LCH | lch(3.19 4.08 105.77) | color: lch(3.19 4.08 105.77) |
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)
#0D0D04 — rgb(13, 13, 4)
Deuteranopia (Green-blind)
#0D0D05 — rgb(13, 13, 5)
Tritanopia (Blue-blind)
#0D0607 — rgb(13, 6, 7)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 70%, 3%);
text
color: hsl(54, 70%, 3%);
border
border: 2px solid hsl(54, 70%, 3%);
gradient light
background: linear-gradient(to right, hsl(54, 70%, 23%), hsl(54, 70%, 3%));
gradient dark
background: linear-gradient(to right, hsl(54, 70%, 3%), hsl(54, 70%, 0%))
hex
background-color: #0D0C02;
tailwind
bg-[hsl(54,70%,3%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 70%, 3%, 0.4);
css variable
--color-primary: hsl(54, 70%, 3%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 70%, 3%)?
HEX: #0D0C02 | RGB: rgb(13, 12, 2) | CMYK: 0%, 8%, 85%, 95% | HSV: 55°, 85%, 5%. Copy any format from the conversion table above.
What colors go well with #0D0C02?
The complementary color is HSL(234, 70%, 3%). 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%, 3%) in CSS?
As HSL: color: hsl(54, 70%, 3%); — As HEX: color: #0D0C02; — As RGB: color: rgb(13, 12, 2); — Tailwind CSS: bg-[hsl(54,70%,3%)] — CSS variable: --color-primary: hsl(54, 70%, 3%);