HSL(62, 78%, 41%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,78%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 78%, 41%) | color: hsl(62, 78%, 41%) | |
| HEX | #B5BA17 | color: #B5BA17 | |
| RGB | rgb(181, 186, 23) | color: rgb(181, 186, 23) | |
| CMYK | cmyk(3%, 0%, 88%, 27%) | — | |
| HSV | hsv(62, 88%, 73%) | — | |
| HWB | hwb(62 9% 27%) | color: hwb(62 9% 27%) | |
| OKLCH | oklch(0.7599 0.1633 111.69) | color: oklch(0.7599 0.1633 111.69) | |
| Lab | lab(72.89 -18.84 71.06) | color: lab(72.89 -18.84 71.06) | |
| LCH | lch(72.89 73.52 104.85) | color: lch(72.89 73.52 104.85) |
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)
#B7B73E — rgb(183, 183, 62)
Deuteranopia (Green-blind)
#B7B748 — rgb(183, 183, 72)
Tritanopia (Blue-blind)
#B55E64 — rgb(181, 94, 100)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 78%, 41%);
text
color: hsl(62, 78%, 41%);
border
border: 2px solid hsl(62, 78%, 41%);
gradient light
background: linear-gradient(to right, hsl(62, 78%, 61%), hsl(62, 78%, 41%));
gradient dark
background: linear-gradient(to right, hsl(62, 78%, 41%), hsl(62, 78%, 21%))
hex
background-color: #B5BA17;
tailwind
bg-[hsl(62,78%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 78%, 41%, 0.4);
css variable
--color-primary: hsl(62, 78%, 41%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 78%, 41%)?
HEX: #B5BA17 | RGB: rgb(181, 186, 23) | CMYK: 3%, 0%, 88%, 27% | HSV: 62°, 88%, 73%. Copy any format from the conversion table above.
What colors go well with #B5BA17?
The complementary color is HSL(242, 78%, 41%). 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%, 41%) in CSS?
As HSL: color: hsl(62, 78%, 41%); — As HEX: color: #B5BA17; — As RGB: color: rgb(181, 186, 23); — Tailwind CSS: bg-[hsl(62,78%,41%)] — CSS variable: --color-primary: hsl(62, 78%, 41%);