HSL(54, 30%, 17%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,30%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 30%, 17%) | color: hsl(54, 30%, 17%) | |
| HEX | #38361E | color: #38361E | |
| RGB | rgb(56, 54, 30) | color: rgb(56, 54, 30) | |
| CMYK | cmyk(0%, 4%, 46%, 78%) | — | |
| HSV | hsv(55, 46%, 22%) | — | |
| HWB | hwb(55 12% 78%) | color: hwb(55 12% 78%) | |
| OKLCH | oklch(0.3281 0.0388 104.2) | color: oklch(0.3281 0.0388 104.2) | |
| Lab | lab(22.21 -3.49 15.4) | color: lab(22.21 -3.49 15.4) | |
| LCH | lch(22.21 15.79 102.77) | color: lch(22.21 15.79 102.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)
#373724 — rgb(55, 55, 36)
Deuteranopia (Green-blind)
#373725 — rgb(55, 55, 37)
Tritanopia (Blue-blind)
#382829 — rgb(56, 40, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 30%, 17%);
text
color: hsl(54, 30%, 17%);
border
border: 2px solid hsl(54, 30%, 17%);
gradient light
background: linear-gradient(to right, hsl(54, 30%, 37%), hsl(54, 30%, 17%));
gradient dark
background: linear-gradient(to right, hsl(54, 30%, 17%), hsl(54, 30%, 0%))
hex
background-color: #38361E;
tailwind
bg-[hsl(54,30%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 30%, 17%, 0.4);
css variable
--color-primary: hsl(54, 30%, 17%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 30%, 17%)?
HEX: #38361E | RGB: rgb(56, 54, 30) | CMYK: 0%, 4%, 46%, 78% | HSV: 55°, 46%, 22%. Copy any format from the conversion table above.
What colors go well with #38361E?
The complementary color is HSL(234, 30%, 17%). 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, 30%, 17%) in CSS?
As HSL: color: hsl(54, 30%, 17%); — As HEX: color: #38361E; — As RGB: color: rgb(56, 54, 30); — Tailwind CSS: bg-[hsl(54,30%,17%)] — CSS variable: --color-primary: hsl(54, 30%, 17%);