HSL(55, 80%, 31%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(55,80%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(55, 80%, 31%) | color: hsl(55, 80%, 31%) | |
| HEX | #8E8410 | color: #8E8410 | |
| RGB | rgb(142, 132, 16) | color: rgb(142, 132, 16) | |
| CMYK | cmyk(0%, 7%, 89%, 44%) | — | |
| HSV | hsv(55, 89%, 56%) | — | |
| HWB | hwb(55 6% 44%) | color: hwb(55 6% 44%) | |
| OKLCH | oklch(0.6035 0.1233 103.95) | color: oklch(0.6035 0.1233 103.95) | |
| Lab | lab(54.34 -8.27 56.11) | color: lab(54.34 -8.27 56.11) | |
| LCH | lch(54.34 56.72 98.38) | color: lch(54.34 56.72 98.38) |
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)
#8A8A2C — rgb(138, 138, 44)
Deuteranopia (Green-blind)
#8A8B33 — rgb(138, 139, 51)
Tritanopia (Blue-blind)
#8E4247 — rgb(142, 66, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(55, 80%, 31%);
text
color: hsl(55, 80%, 31%);
border
border: 2px solid hsl(55, 80%, 31%);
gradient light
background: linear-gradient(to right, hsl(55, 80%, 51%), hsl(55, 80%, 31%));
gradient dark
background: linear-gradient(to right, hsl(55, 80%, 31%), hsl(55, 80%, 11%))
hex
background-color: #8E8410;
tailwind
bg-[hsl(55,80%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(55, 80%, 31%, 0.4);
css variable
--color-primary: hsl(55, 80%, 31%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(55, 80%, 31%)?
HEX: #8E8410 | RGB: rgb(142, 132, 16) | CMYK: 0%, 7%, 89%, 44% | HSV: 55°, 89%, 56%. Copy any format from the conversion table above.
What colors go well with #8E8410?
The complementary color is HSL(235, 80%, 31%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(55, 80%, 31%) in CSS?
As HSL: color: hsl(55, 80%, 31%); — As HEX: color: #8E8410; — As RGB: color: rgb(142, 132, 16); — Tailwind CSS: bg-[hsl(55,80%,31%)] — CSS variable: --color-primary: hsl(55, 80%, 31%);