HSL(62, 90%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,90%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 90%, 20%) | color: hsl(62, 90%, 20%) | |
| HEX | #5E6105 | color: #5E6105 | |
| RGB | rgb(94, 97, 5) | color: rgb(94, 97, 5) | |
| CMYK | cmyk(3%, 0%, 95%, 62%) | — | |
| HSV | hsv(62, 95%, 38%) | — | |
| HWB | hwb(62 2% 62%) | color: hwb(62 2% 62%) | |
| OKLCH | oklch(0.4742 0.1028 111.85) | color: oklch(0.4742 0.1028 111.85) | |
| Lab | lab(39.48 -11.93 44.84) | color: lab(39.48 -11.93 44.84) | |
| LCH | lch(39.48 46.4 104.9) | color: lch(39.48 46.4 104.9) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5F5F1B — rgb(95, 95, 27)
Deuteranopia (Green-blind)
#5F5F21 — rgb(95, 95, 33)
Tritanopia (Blue-blind)
#5E2D31 — rgb(94, 45, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 90%, 20%);
text
color: hsl(62, 90%, 20%);
border
border: 2px solid hsl(62, 90%, 20%);
gradient light
background: linear-gradient(to right, hsl(62, 90%, 40%), hsl(62, 90%, 20%));
gradient dark
background: linear-gradient(to right, hsl(62, 90%, 20%), hsl(62, 90%, 0%))
hex
background-color: #5E6105;
tailwind
bg-[hsl(62,90%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 90%, 20%, 0.4);
css variable
--color-primary: hsl(62, 90%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 90%, 20%)?
HEX: #5E6105 | RGB: rgb(94, 97, 5) | CMYK: 3%, 0%, 95%, 62% | HSV: 62°, 95%, 38%. Copy any format from the conversion table above.
What colors go well with #5E6105?
The complementary color is HSL(242, 90%, 20%). For a triadic harmony, use hues 62°, 182°, and 302°. For analogous combinations, try hues 32° and 92°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(62, 90%, 20%) in CSS?
As HSL: color: hsl(62, 90%, 20%); — As HEX: color: #5E6105; — As RGB: color: rgb(94, 97, 5); — Tailwind CSS: bg-[hsl(62,90%,20%)] — CSS variable: --color-primary: hsl(62, 90%, 20%);