HSL(62, 75%, 24%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,75%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 75%, 24%) | color: hsl(62, 75%, 24%) | |
| HEX | #686B0F | color: #686B0F | |
| RGB | rgb(104, 107, 15) | color: rgb(104, 107, 15) | |
| CMYK | cmyk(3%, 0%, 86%, 58%) | — | |
| HSV | hsv(62, 86%, 42%) | — | |
| HWB | hwb(62 6% 58%) | color: hwb(62 6% 58%) | |
| OKLCH | oklch(0.5087 0.1067 111.65) | color: oklch(0.5087 0.1067 111.65) | |
| Lab | lab(43.5 -12.4 45.93) | color: lab(43.5 -12.4 45.93) | |
| LCH | lch(43.5 47.57 105.11) | color: lch(43.5 47.57 105.11) |
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)
#696925 — rgb(105, 105, 37)
Deuteranopia (Green-blind)
#69692B — rgb(105, 105, 43)
Tritanopia (Blue-blind)
#68373B — rgb(104, 55, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 75%, 24%);
text
color: hsl(62, 75%, 24%);
border
border: 2px solid hsl(62, 75%, 24%);
gradient light
background: linear-gradient(to right, hsl(62, 75%, 44%), hsl(62, 75%, 24%));
gradient dark
background: linear-gradient(to right, hsl(62, 75%, 24%), hsl(62, 75%, 4%))
hex
background-color: #686B0F;
tailwind
bg-[hsl(62,75%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 75%, 24%, 0.4);
css variable
--color-primary: hsl(62, 75%, 24%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 75%, 24%)?
HEX: #686B0F | RGB: rgb(104, 107, 15) | CMYK: 3%, 0%, 86%, 58% | HSV: 62°, 86%, 42%. Copy any format from the conversion table above.
What colors go well with #686B0F?
The complementary color is HSL(242, 75%, 24%). 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, 75%, 24%) in CSS?
As HSL: color: hsl(62, 75%, 24%); — As HEX: color: #686B0F; — As RGB: color: rgb(104, 107, 15); — Tailwind CSS: bg-[hsl(62,75%,24%)] — CSS variable: --color-primary: hsl(62, 75%, 24%);