HSL(62, 71%, 22%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,71%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 71%, 22%) | color: hsl(62, 71%, 22%) | |
| HEX | #5D6010 | color: #5D6010 | |
| RGB | rgb(93, 96, 16) | color: rgb(93, 96, 16) | |
| CMYK | cmyk(3%, 0%, 83%, 62%) | — | |
| HSV | hsv(62, 83%, 38%) | — | |
| HWB | hwb(62 6% 62%) | color: hwb(62 6% 62%) | |
| OKLCH | oklch(0.4713 0.0972 111.84) | color: oklch(0.4713 0.0972 111.84) | |
| Lab | lab(39.12 -11.48 41.42) | color: lab(39.12 -11.48 41.42) | |
| LCH | lch(39.12 42.98 105.49) | color: lch(39.12 42.98 105.49) |
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)
#5E5E23 — rgb(94, 94, 35)
Deuteranopia (Green-blind)
#5E5E28 — rgb(94, 94, 40)
Tritanopia (Blue-blind)
#5D3336 — rgb(93, 51, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 71%, 22%);
text
color: hsl(62, 71%, 22%);
border
border: 2px solid hsl(62, 71%, 22%);
gradient light
background: linear-gradient(to right, hsl(62, 71%, 42%), hsl(62, 71%, 22%));
gradient dark
background: linear-gradient(to right, hsl(62, 71%, 22%), hsl(62, 71%, 2%))
hex
background-color: #5D6010;
tailwind
bg-[hsl(62,71%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 71%, 22%, 0.4);
css variable
--color-primary: hsl(62, 71%, 22%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 71%, 22%)?
HEX: #5D6010 | RGB: rgb(93, 96, 16) | CMYK: 3%, 0%, 83%, 62% | HSV: 62°, 83%, 38%. Copy any format from the conversion table above.
What colors go well with #5D6010?
The complementary color is HSL(242, 71%, 22%). 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, 71%, 22%) in CSS?
As HSL: color: hsl(62, 71%, 22%); — As HEX: color: #5D6010; — As RGB: color: rgb(93, 96, 16); — Tailwind CSS: bg-[hsl(62,71%,22%)] — CSS variable: --color-primary: hsl(62, 71%, 22%);