HSL(61, 90%, 31%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,90%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 90%, 31%) | color: hsl(61, 90%, 31%) | |
| HEX | #949608 | color: #949608 | |
| RGB | rgb(148, 150, 8) | color: rgb(148, 150, 8) | |
| CMYK | cmyk(1%, 0%, 95%, 41%) | — | |
| HSV | hsv(61, 95%, 59%) | — | |
| HWB | hwb(61 3% 41%) | color: hwb(61 3% 41%) | |
| OKLCH | oklch(0.65 0.1408 110.7) | color: oklch(0.65 0.1408 110.7) | |
| Lab | lab(60 -15.28 62.21) | color: lab(60 -15.28 62.21) | |
| LCH | lch(60 64.06 103.8) | color: lch(60 64.06 103.8) |
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)
#95952A — rgb(149, 149, 42)
Deuteranopia (Green-blind)
#959533 — rgb(149, 149, 51)
Tritanopia (Blue-blind)
#94454B — rgb(148, 69, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 90%, 31%);
text
color: hsl(61, 90%, 31%);
border
border: 2px solid hsl(61, 90%, 31%);
gradient light
background: linear-gradient(to right, hsl(61, 90%, 51%), hsl(61, 90%, 31%));
gradient dark
background: linear-gradient(to right, hsl(61, 90%, 31%), hsl(61, 90%, 11%))
hex
background-color: #949608;
tailwind
bg-[hsl(61,90%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 90%, 31%, 0.4);
css variable
--color-primary: hsl(61, 90%, 31%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 90%, 31%)?
HEX: #949608 | RGB: rgb(148, 150, 8) | CMYK: 1%, 0%, 95%, 41% | HSV: 61°, 95%, 59%. Copy any format from the conversion table above.
What colors go well with #949608?
The complementary color is HSL(241, 90%, 31%). 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, 90%, 31%) in CSS?
As HSL: color: hsl(61, 90%, 31%); — As HEX: color: #949608; — As RGB: color: rgb(148, 150, 8); — Tailwind CSS: bg-[hsl(61,90%,31%)] — CSS variable: --color-primary: hsl(61, 90%, 31%);