HSL(59, 35%, 45%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,35%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 35%, 45%) | color: hsl(59, 35%, 45%) | |
| HEX | #9B9A4B | color: #9B9A4B | |
| RGB | rgb(155, 154, 75) | color: rgb(155, 154, 75) | |
| CMYK | cmyk(0%, 1%, 52%, 39%) | — | |
| HSV | hsv(59, 52%, 61%) | — | |
| HWB | hwb(59 29% 39%) | color: hwb(59 29% 39%) | |
| OKLCH | oklch(0.67 0.102 108.21) | color: oklch(0.67 0.102 108.21) | |
| Lab | lab(62.16 -10.89 41.13) | color: lab(62.16 -10.89 41.13) | |
| LCH | lch(62.16 42.55 104.83) | color: lch(62.16 42.55 104.83) |
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)
#9B9B5E — rgb(155, 155, 94)
Deuteranopia (Green-blind)
#9B9B63 — rgb(155, 155, 99)
Tritanopia (Blue-blind)
#9B6D71 — rgb(155, 109, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 35%, 45%);
text
color: hsl(59, 35%, 45%);
border
border: 2px solid hsl(59, 35%, 45%);
gradient light
background: linear-gradient(to right, hsl(59, 35%, 65%), hsl(59, 35%, 45%));
gradient dark
background: linear-gradient(to right, hsl(59, 35%, 45%), hsl(59, 35%, 25%))
hex
background-color: #9B9A4B;
tailwind
bg-[hsl(59,35%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 35%, 45%, 0.4);
css variable
--color-primary: hsl(59, 35%, 45%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 35%, 45%)?
HEX: #9B9A4B | RGB: rgb(155, 154, 75) | CMYK: 0%, 1%, 52%, 39% | HSV: 59°, 52%, 61%. Copy any format from the conversion table above.
What colors go well with #9B9A4B?
The complementary color is HSL(239, 35%, 45%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(59, 35%, 45%) in CSS?
As HSL: color: hsl(59, 35%, 45%); — As HEX: color: #9B9A4B; — As RGB: color: rgb(155, 154, 75); — Tailwind CSS: bg-[hsl(59,35%,45%)] — CSS variable: --color-primary: hsl(59, 35%, 45%);