HSL(62, 60%, 34%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,60%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 60%, 34%) | color: hsl(62, 60%, 34%) | |
| HEX | #878B23 | color: #878B23 | |
| RGB | rgb(135, 139, 35) | color: rgb(135, 139, 35) | |
| CMYK | cmyk(3%, 0%, 75%, 45%) | — | |
| HSV | hsv(62, 75%, 55%) | — | |
| HWB | hwb(62 14% 45%) | color: hwb(62 14% 45%) | |
| OKLCH | oklch(0.6142 0.1224 111.73) | color: oklch(0.6142 0.1224 111.73) | |
| Lab | lab(55.82 -14.55 51.54) | color: lab(55.82 -14.55 51.54) | |
| LCH | lch(55.82 53.55 105.76) | color: lch(55.82 53.55 105.76) |
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)
#89893C — rgb(137, 137, 60)
Deuteranopia (Green-blind)
#898842 — rgb(137, 136, 66)
Tritanopia (Blue-blind)
#875054 — rgb(135, 80, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 60%, 34%);
text
color: hsl(62, 60%, 34%);
border
border: 2px solid hsl(62, 60%, 34%);
gradient light
background: linear-gradient(to right, hsl(62, 60%, 54%), hsl(62, 60%, 34%));
gradient dark
background: linear-gradient(to right, hsl(62, 60%, 34%), hsl(62, 60%, 14%))
hex
background-color: #878B23;
tailwind
bg-[hsl(62,60%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 60%, 34%, 0.4);
css variable
--color-primary: hsl(62, 60%, 34%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 60%, 34%)?
HEX: #878B23 | RGB: rgb(135, 139, 35) | CMYK: 3%, 0%, 75%, 45% | HSV: 62°, 75%, 55%. Copy any format from the conversion table above.
What colors go well with #878B23?
The complementary color is HSL(242, 60%, 34%). 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, 60%, 34%) in CSS?
As HSL: color: hsl(62, 60%, 34%); — As HEX: color: #878B23; — As RGB: color: rgb(135, 139, 35); — Tailwind CSS: bg-[hsl(62,60%,34%)] — CSS variable: --color-primary: hsl(62, 60%, 34%);