HSL(62, 86%, 33%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,86%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 86%, 33%) | color: hsl(62, 86%, 33%) | |
| HEX | #989D0C | color: #989D0C | |
| RGB | rgb(152, 157, 12) | color: rgb(152, 157, 12) | |
| CMYK | cmyk(3%, 0%, 92%, 38%) | — | |
| HSV | hsv(62, 92%, 62%) | — | |
| HWB | hwb(62 5% 38%) | color: hwb(62 5% 38%) | |
| OKLCH | oklch(0.6696 0.1457 112.03) | color: oklch(0.6696 0.1457 112.03) | |
| Lab | lab(62.35 -17.05 63.59) | color: lab(62.35 -17.05 63.59) | |
| LCH | lch(62.35 65.84 105.01) | color: lch(62.35 65.84 105.01) |
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)
#9A9A2F — rgb(154, 154, 47)
Deuteranopia (Green-blind)
#9A9A38 — rgb(154, 154, 56)
Tritanopia (Blue-blind)
#984B51 — rgb(152, 75, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 86%, 33%);
text
color: hsl(62, 86%, 33%);
border
border: 2px solid hsl(62, 86%, 33%);
gradient light
background: linear-gradient(to right, hsl(62, 86%, 53%), hsl(62, 86%, 33%));
gradient dark
background: linear-gradient(to right, hsl(62, 86%, 33%), hsl(62, 86%, 13%))
hex
background-color: #989D0C;
tailwind
bg-[hsl(62,86%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 86%, 33%, 0.4);
css variable
--color-primary: hsl(62, 86%, 33%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 86%, 33%)?
HEX: #989D0C | RGB: rgb(152, 157, 12) | CMYK: 3%, 0%, 92%, 38% | HSV: 62°, 92%, 62%. Copy any format from the conversion table above.
What colors go well with #989D0C?
The complementary color is HSL(242, 86%, 33%). 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, 86%, 33%) in CSS?
As HSL: color: hsl(62, 86%, 33%); — As HEX: color: #989D0C; — As RGB: color: rgb(152, 157, 12); — Tailwind CSS: bg-[hsl(62,86%,33%)] — CSS variable: --color-primary: hsl(62, 86%, 33%);