HSL(54, 75%, 29%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,75%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 75%, 29%) | color: hsl(54, 75%, 29%) | |
| HEX | #817612 | color: #817612 | |
| RGB | rgb(129, 118, 18) | color: rgb(129, 118, 18) | |
| CMYK | cmyk(0%, 9%, 86%, 49%) | — | |
| HSV | hsv(54, 86%, 51%) | — | |
| HWB | hwb(54 7% 49%) | color: hwb(54 7% 49%) | |
| OKLCH | oklch(0.5589 0.1117 102.52) | color: oklch(0.5589 0.1117 102.52) | |
| Lab | lab(49.09 -6.57 50.77) | color: lab(49.09 -6.57 50.77) | |
| LCH | lch(49.09 51.19 97.37) | color: lch(49.09 51.19 97.37) |
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)
#7C7C2A — rgb(124, 124, 42)
Deuteranopia (Green-blind)
#7D7E30 — rgb(125, 126, 48)
Tritanopia (Blue-blind)
#803D42 — rgb(128, 61, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 75%, 29%);
text
color: hsl(54, 75%, 29%);
border
border: 2px solid hsl(54, 75%, 29%);
gradient light
background: linear-gradient(to right, hsl(54, 75%, 49%), hsl(54, 75%, 29%));
gradient dark
background: linear-gradient(to right, hsl(54, 75%, 29%), hsl(54, 75%, 9%))
hex
background-color: #817612;
tailwind
bg-[hsl(54,75%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 75%, 29%, 0.4);
css variable
--color-primary: hsl(54, 75%, 29%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 75%, 29%)?
HEX: #817612 | RGB: rgb(129, 118, 18) | CMYK: 0%, 9%, 86%, 49% | HSV: 54°, 86%, 51%. Copy any format from the conversion table above.
What colors go well with #817612?
The complementary color is HSL(234, 75%, 29%). 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, 75%, 29%) in CSS?
As HSL: color: hsl(54, 75%, 29%); — As HEX: color: #817612; — As RGB: color: rgb(129, 118, 18); — Tailwind CSS: bg-[hsl(54,75%,29%)] — CSS variable: --color-primary: hsl(54, 75%, 29%);