HSL(48, 34%, 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(48,34%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 34%, 9%) | color: hsl(48, 34%, 9%) | |
| HEX | #1F1C0F | color: #1F1C0F | |
| RGB | rgb(31, 28, 15) | color: rgb(31, 28, 15) | |
| CMYK | cmyk(0%, 10%, 52%, 88%) | — | |
| HSV | hsv(49, 52%, 12%) | — | |
| HWB | hwb(49 6% 88%) | color: hwb(49 6% 88%) | |
| OKLCH | oklch(0.2257 0.0237 96.74) | color: oklch(0.2257 0.0237 96.74) | |
| Lab | lab(10.23 -1.13 8.79) | color: lab(10.23 -1.13 8.79) | |
| LCH | lch(10.23 8.86 97.33) | color: lch(10.23 8.86 97.33) |
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)
#1E1E12 — rgb(30, 30, 18)
Deuteranopia (Green-blind)
#1E1E13 — rgb(30, 30, 19)
Tritanopia (Blue-blind)
#1F1515 — rgb(31, 21, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 34%, 9%);
text
color: hsl(48, 34%, 9%);
border
border: 2px solid hsl(48, 34%, 9%);
gradient light
background: linear-gradient(to right, hsl(48, 34%, 29%), hsl(48, 34%, 9%));
gradient dark
background: linear-gradient(to right, hsl(48, 34%, 9%), hsl(48, 34%, 0%))
hex
background-color: #1F1C0F;
tailwind
bg-[hsl(48,34%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 34%, 9%, 0.4);
css variable
--color-primary: hsl(48, 34%, 9%);
Related Colors
Use Cases for Very Dark Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 34%, 9%)?
HEX: #1F1C0F | RGB: rgb(31, 28, 15) | CMYK: 0%, 10%, 52%, 88% | HSV: 49°, 52%, 12%. Copy any format from the conversion table above.
What colors go well with #1F1C0F?
The complementary color is HSL(228, 34%, 9%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(48, 34%, 9%) in CSS?
As HSL: color: hsl(48, 34%, 9%); — As HEX: color: #1F1C0F; — As RGB: color: rgb(31, 28, 15); — Tailwind CSS: bg-[hsl(48,34%,9%)] — CSS variable: --color-primary: hsl(48, 34%, 9%);