HSL(61, 45%, 43%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,45%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 45%, 43%) | color: hsl(61, 45%, 43%) | |
| HEX | #9D9F3C | color: #9D9F3C | |
| RGB | rgb(157, 159, 60) | color: rgb(157, 159, 60) | |
| CMYK | cmyk(1%, 0%, 62%, 38%) | — | |
| HSV | hsv(61, 62%, 62%) | — | |
| HWB | hwb(61 24% 38%) | color: hwb(61 24% 38%) | |
| OKLCH | oklch(0.6813 0.1212 110.32) | color: oklch(0.6813 0.1212 110.32) | |
| Lab | lab(63.58 -13.86 49.84) | color: lab(63.58 -13.86 49.84) | |
| LCH | lch(63.58 51.73 105.54) | color: lch(63.58 51.73 105.54) |
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)
#9E9E54 — rgb(158, 158, 84)
Deuteranopia (Green-blind)
#9E9E5A — rgb(158, 158, 90)
Tritanopia (Blue-blind)
#9D676B — rgb(157, 103, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 45%, 43%);
text
color: hsl(61, 45%, 43%);
border
border: 2px solid hsl(61, 45%, 43%);
gradient light
background: linear-gradient(to right, hsl(61, 45%, 63%), hsl(61, 45%, 43%));
gradient dark
background: linear-gradient(to right, hsl(61, 45%, 43%), hsl(61, 45%, 23%))
hex
background-color: #9D9F3C;
tailwind
bg-[hsl(61,45%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 45%, 43%, 0.4);
css variable
--color-primary: hsl(61, 45%, 43%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 45%, 43%)?
HEX: #9D9F3C | RGB: rgb(157, 159, 60) | CMYK: 1%, 0%, 62%, 38% | HSV: 61°, 62%, 62%. Copy any format from the conversion table above.
What colors go well with #9D9F3C?
The complementary color is HSL(241, 45%, 43%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(61, 45%, 43%) in CSS?
As HSL: color: hsl(61, 45%, 43%); — As HEX: color: #9D9F3C; — As RGB: color: rgb(157, 159, 60); — Tailwind CSS: bg-[hsl(61,45%,43%)] — CSS variable: --color-primary: hsl(61, 45%, 43%);