HSL(53, 30%, 45%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,30%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 30%, 45%) | color: hsl(53, 30%, 45%) | |
| HEX | #958D50 | color: #958D50 | |
| RGB | rgb(149, 141, 80) | color: rgb(149, 141, 80) | |
| CMYK | cmyk(0%, 5%, 46%, 42%) | — | |
| HSV | hsv(53, 46%, 58%) | — | |
| HWB | hwb(53 31% 42%) | color: hwb(53 31% 42%) | |
| OKLCH | oklch(0.6363 0.0823 101.85) | color: oklch(0.6363 0.0823 101.85) | |
| Lab | lab(58.06 -5.97 33.48) | color: lab(58.06 -5.97 33.48) | |
| LCH | lch(58.06 34.01 100.11) | color: lch(58.06 34.01 100.11) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#92915F — rgb(146, 145, 95)
Deuteranopia (Green-blind)
#929362 — rgb(146, 147, 98)
Tritanopia (Blue-blind)
#956A6D — rgb(149, 106, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 30%, 45%);
text
color: hsl(53, 30%, 45%);
border
border: 2px solid hsl(53, 30%, 45%);
gradient light
background: linear-gradient(to right, hsl(53, 30%, 65%), hsl(53, 30%, 45%));
gradient dark
background: linear-gradient(to right, hsl(53, 30%, 45%), hsl(53, 30%, 25%))
hex
background-color: #958D50;
tailwind
bg-[hsl(53,30%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 30%, 45%, 0.4);
css variable
--color-primary: hsl(53, 30%, 45%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 30%, 45%)?
HEX: #958D50 | RGB: rgb(149, 141, 80) | CMYK: 0%, 5%, 46%, 42% | HSV: 53°, 46%, 58%. Copy any format from the conversion table above.
What colors go well with #958D50?
The complementary color is HSL(233, 30%, 45%). For a triadic harmony, use hues 53°, 173°, and 293°. For analogous combinations, try hues 23° and 83°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(53, 30%, 45%) in CSS?
As HSL: color: hsl(53, 30%, 45%); — As HEX: color: #958D50; — As RGB: color: rgb(149, 141, 80); — Tailwind CSS: bg-[hsl(53,30%,45%)] — CSS variable: --color-primary: hsl(53, 30%, 45%);