HSL(60, 81%, 21%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
3500K
CSS Class
bg-[hsl(60,81%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(60, 81%, 21%) | color: hsl(60, 81%, 21%) | |
| HEX | #61610A | color: #61610A | |
| RGB | rgb(97, 97, 10) | color: rgb(97, 97, 10) | |
| CMYK | cmyk(0%, 0%, 90%, 62%) | — | |
| HSV | hsv(60, 90%, 38%) | — | |
| HWB | hwb(60 4% 62%) | color: hwb(60 4% 62%) | |
| OKLCH | oklch(0.4772 0.1 109.66) | color: oklch(0.4772 0.1 109.66) | |
| Lab | lab(39.77 -10.32 43.88) | color: lab(39.77 -10.32 43.88) | |
| LCH | lch(39.77 45.08 103.23) | color: lch(39.77 45.08 103.23) |
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)
#61611F — rgb(97, 97, 31)
Deuteranopia (Green-blind)
#616124 — rgb(97, 97, 36)
Tritanopia (Blue-blind)
#613033 — rgb(97, 48, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(60, 81%, 21%);
text
color: hsl(60, 81%, 21%);
border
border: 2px solid hsl(60, 81%, 21%);
gradient light
background: linear-gradient(to right, hsl(60, 81%, 41%), hsl(60, 81%, 21%));
gradient dark
background: linear-gradient(to right, hsl(60, 81%, 21%), hsl(60, 81%, 1%))
hex
background-color: #61610A;
tailwind
bg-[hsl(60,81%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(60, 81%, 21%, 0.4);
css variable
--color-primary: hsl(60, 81%, 21%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(60, 81%, 21%)?
HEX: #61610A | RGB: rgb(97, 97, 10) | CMYK: 0%, 0%, 90%, 62% | HSV: 60°, 90%, 38%. Copy any format from the conversion table above.
What colors go well with #61610A?
The complementary color is HSL(240, 81%, 21%). For a triadic harmony, use hues 60°, 180°, and 300°. For analogous combinations, try hues 30° and 90°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(60, 81%, 21%) in CSS?
As HSL: color: hsl(60, 81%, 21%); — As HEX: color: #61610A; — As RGB: color: rgb(97, 97, 10); — Tailwind CSS: bg-[hsl(60,81%,21%)] — CSS variable: --color-primary: hsl(60, 81%, 21%);