HSL(61, 71%, 42%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(61,71%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 71%, 42%) | color: hsl(61, 71%, 42%) | |
| HEX | #B5B71F | color: #B5B71F | |
| RGB | rgb(181, 183, 31) | color: rgb(181, 183, 31) | |
| CMYK | cmyk(1%, 0%, 83%, 28%) | — | |
| HSV | hsv(61, 83%, 72%) | — | |
| HWB | hwb(61 12% 28%) | color: hwb(61 12% 28%) | |
| OKLCH | oklch(0.7535 0.1578 110.47) | color: oklch(0.7535 0.1578 110.47) | |
| Lab | lab(72.09 -17.13 68.67) | color: lab(72.09 -17.13 68.67) | |
| LCH | lch(72.09 70.77 104.01) | color: lch(72.09 70.77 104.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)
#B6B644 — rgb(182, 182, 68)
Deuteranopia (Green-blind)
#B6B64D — rgb(182, 182, 77)
Tritanopia (Blue-blind)
#B56167 — rgb(181, 97, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 71%, 42%);
text
color: hsl(61, 71%, 42%);
border
border: 2px solid hsl(61, 71%, 42%);
gradient light
background: linear-gradient(to right, hsl(61, 71%, 62%), hsl(61, 71%, 42%));
gradient dark
background: linear-gradient(to right, hsl(61, 71%, 42%), hsl(61, 71%, 22%))
hex
background-color: #B5B71F;
tailwind
bg-[hsl(61,71%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 71%, 42%, 0.4);
css variable
--color-primary: hsl(61, 71%, 42%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 71%, 42%)?
HEX: #B5B71F | RGB: rgb(181, 183, 31) | CMYK: 1%, 0%, 83%, 28% | HSV: 61°, 83%, 72%. Copy any format from the conversion table above.
What colors go well with #B5B71F?
The complementary color is HSL(241, 71%, 42%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(61, 71%, 42%) in CSS?
As HSL: color: hsl(61, 71%, 42%); — As HEX: color: #B5B71F; — As RGB: color: rgb(181, 183, 31); — Tailwind CSS: bg-[hsl(61,71%,42%)] — CSS variable: --color-primary: hsl(61, 71%, 42%);