HSL(47, 25%, 15%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,25%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 25%, 15%) | color: hsl(47, 25%, 15%) | |
| HEX | #302C1D | color: #302C1D | |
| RGB | rgb(48, 44, 29) | color: rgb(48, 44, 29) | |
| CMYK | cmyk(0%, 8%, 40%, 81%) | — | |
| HSV | hsv(47, 40%, 19%) | — | |
| HWB | hwb(47 11% 81%) | color: hwb(47 11% 81%) | |
| OKLCH | oklch(0.2928 0.0261 94.96) | color: oklch(0.2928 0.0261 94.96) | |
| Lab | lab(18 -1.08 10.42) | color: lab(18 -1.08 10.42) | |
| LCH | lch(18 10.48 95.92) | color: lch(18 10.48 95.92) |
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)
#2E2E21 — rgb(46, 46, 33)
Deuteranopia (Green-blind)
#2F2F22 — rgb(47, 47, 34)
Tritanopia (Blue-blind)
#302324 — rgb(48, 35, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 25%, 15%);
text
color: hsl(47, 25%, 15%);
border
border: 2px solid hsl(47, 25%, 15%);
gradient light
background: linear-gradient(to right, hsl(47, 25%, 35%), hsl(47, 25%, 15%));
gradient dark
background: linear-gradient(to right, hsl(47, 25%, 15%), hsl(47, 25%, 0%))
hex
background-color: #302C1D;
tailwind
bg-[hsl(47,25%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 25%, 15%, 0.4);
css variable
--color-primary: hsl(47, 25%, 15%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 25%, 15%)?
HEX: #302C1D | RGB: rgb(48, 44, 29) | CMYK: 0%, 8%, 40%, 81% | HSV: 47°, 40%, 19%. Copy any format from the conversion table above.
What colors go well with #302C1D?
The complementary color is HSL(227, 25%, 15%). 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%, 15%) in CSS?
As HSL: color: hsl(47, 25%, 15%); — As HEX: color: #302C1D; — As RGB: color: rgb(48, 44, 29); — Tailwind CSS: bg-[hsl(47,25%,15%)] — CSS variable: --color-primary: hsl(47, 25%, 15%);