HSL(62, 80%, 27%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,80%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 80%, 27%) | color: hsl(62, 80%, 27%) | |
| HEX | #787C0E | color: #787C0E | |
| RGB | rgb(120, 124, 14) | color: rgb(120, 124, 14) | |
| CMYK | cmyk(3%, 0%, 89%, 51%) | — | |
| HSV | hsv(62, 89%, 49%) | — | |
| HWB | hwb(62 5% 51%) | color: hwb(62 5% 51%) | |
| OKLCH | oklch(0.5643 0.1207 112) | color: oklch(0.5643 0.1207 112) | |
| Lab | lab(50.03 -14.19 52.23) | color: lab(50.03 -14.19 52.23) | |
| LCH | lch(50.03 54.12 105.2) | color: lch(50.03 54.12 105.2) |
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)
#7A7A29 — rgb(122, 122, 41)
Deuteranopia (Green-blind)
#7A792F — rgb(122, 121, 47)
Tritanopia (Blue-blind)
#783E42 — rgb(120, 62, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 80%, 27%);
text
color: hsl(62, 80%, 27%);
border
border: 2px solid hsl(62, 80%, 27%);
gradient light
background: linear-gradient(to right, hsl(62, 80%, 47%), hsl(62, 80%, 27%));
gradient dark
background: linear-gradient(to right, hsl(62, 80%, 27%), hsl(62, 80%, 7%))
hex
background-color: #787C0E;
tailwind
bg-[hsl(62,80%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 80%, 27%, 0.4);
css variable
--color-primary: hsl(62, 80%, 27%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 80%, 27%)?
HEX: #787C0E | RGB: rgb(120, 124, 14) | CMYK: 3%, 0%, 89%, 51% | HSV: 62°, 89%, 49%. Copy any format from the conversion table above.
What colors go well with #787C0E?
The complementary color is HSL(242, 80%, 27%). 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, 80%, 27%) in CSS?
As HSL: color: hsl(62, 80%, 27%); — As HEX: color: #787C0E; — As RGB: color: rgb(120, 124, 14); — Tailwind CSS: bg-[hsl(62,80%,27%)] — CSS variable: --color-primary: hsl(62, 80%, 27%);