HSL(62, 78%, 25%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,78%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 78%, 25%) | color: hsl(62, 78%, 25%) | |
| HEX | #6E710E | color: #6E710E | |
| RGB | rgb(110, 113, 14) | color: rgb(110, 113, 14) | |
| CMYK | cmyk(3%, 0%, 88%, 56%) | — | |
| HSV | hsv(62, 88%, 44%) | — | |
| HWB | hwb(62 5% 56%) | color: hwb(62 5% 56%) | |
| OKLCH | oklch(0.5288 0.1119 111.57) | color: oklch(0.5288 0.1119 111.57) | |
| Lab | lab(45.85 -12.9 48.41) | color: lab(45.85 -12.9 48.41) | |
| LCH | lch(45.85 50.1 104.92) | color: lch(45.85 50.1 104.92) |
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)
#6F6F26 — rgb(111, 111, 38)
Deuteranopia (Green-blind)
#6F6F2C — rgb(111, 111, 44)
Tritanopia (Blue-blind)
#6E393D — rgb(110, 57, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 78%, 25%);
text
color: hsl(62, 78%, 25%);
border
border: 2px solid hsl(62, 78%, 25%);
gradient light
background: linear-gradient(to right, hsl(62, 78%, 45%), hsl(62, 78%, 25%));
gradient dark
background: linear-gradient(to right, hsl(62, 78%, 25%), hsl(62, 78%, 5%))
hex
background-color: #6E710E;
tailwind
bg-[hsl(62,78%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 78%, 25%, 0.4);
css variable
--color-primary: hsl(62, 78%, 25%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 78%, 25%)?
HEX: #6E710E | RGB: rgb(110, 113, 14) | CMYK: 3%, 0%, 88%, 56% | HSV: 62°, 88%, 44%. Copy any format from the conversion table above.
What colors go well with #6E710E?
The complementary color is HSL(242, 78%, 25%). 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, 78%, 25%) in CSS?
As HSL: color: hsl(62, 78%, 25%); — As HEX: color: #6E710E; — As RGB: color: rgb(110, 113, 14); — Tailwind CSS: bg-[hsl(62,78%,25%)] — CSS variable: --color-primary: hsl(62, 78%, 25%);