HSL(62, 70%, 21%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,70%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 70%, 21%) | color: hsl(62, 70%, 21%) | |
| HEX | #595B10 | color: #595B10 | |
| RGB | rgb(89, 91, 16) | color: rgb(89, 91, 16) | |
| CMYK | cmyk(2%, 0%, 82%, 64%) | — | |
| HSV | hsv(62, 82%, 36%) | — | |
| HWB | hwb(62 6% 64%) | color: hwb(62 6% 64%) | |
| OKLCH | oklch(0.455 0.0926 111.15) | color: oklch(0.455 0.0926 111.15) | |
| Lab | lab(37.2 -10.58 39.55) | color: lab(37.2 -10.58 39.55) | |
| LCH | lch(37.2 40.94 104.98) | color: lch(37.2 40.94 104.98) |
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)
#5A5A22 — rgb(90, 90, 34)
Deuteranopia (Green-blind)
#5A5A27 — rgb(90, 90, 39)
Tritanopia (Blue-blind)
#593034 — rgb(89, 48, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 70%, 21%);
text
color: hsl(62, 70%, 21%);
border
border: 2px solid hsl(62, 70%, 21%);
gradient light
background: linear-gradient(to right, hsl(62, 70%, 41%), hsl(62, 70%, 21%));
gradient dark
background: linear-gradient(to right, hsl(62, 70%, 21%), hsl(62, 70%, 1%))
hex
background-color: #595B10;
tailwind
bg-[hsl(62,70%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 70%, 21%, 0.4);
css variable
--color-primary: hsl(62, 70%, 21%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 70%, 21%)?
HEX: #595B10 | RGB: rgb(89, 91, 16) | CMYK: 2%, 0%, 82%, 64% | HSV: 62°, 82%, 36%. Copy any format from the conversion table above.
What colors go well with #595B10?
The complementary color is HSL(242, 70%, 21%). 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, 70%, 21%) in CSS?
As HSL: color: hsl(62, 70%, 21%); — As HEX: color: #595B10; — As RGB: color: rgb(89, 91, 16); — Tailwind CSS: bg-[hsl(62,70%,21%)] — CSS variable: --color-primary: hsl(62, 70%, 21%);