HSL(61, 19%, 27%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(61,19%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(61, 19%, 27%) | color: hsl(61, 19%, 27%) | |
| HEX | #515238 | color: #515238 | |
| RGB | rgb(81, 82, 56) | color: rgb(81, 82, 56) | |
| CMYK | cmyk(1%, 0%, 32%, 68%) | — | |
| HSV | hsv(62, 32%, 32%) | — | |
| HWB | hwb(62 22% 68%) | color: hwb(62 22% 68%) | |
| OKLCH | oklch(0.4303 0.0404 109.83) | color: oklch(0.4303 0.0404 109.83) | |
| Lab | lab(34.13 -5.25 15.18) | color: lab(34.13 -5.25 15.18) | |
| LCH | lch(34.13 16.06 109.08) | color: lch(34.13 16.06 109.08) |
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)
#51513E — rgb(81, 81, 62)
Deuteranopia (Green-blind)
#515140 — rgb(81, 81, 64)
Tritanopia (Blue-blind)
#514344 — rgb(81, 67, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(61, 19%, 27%);
text
color: hsl(61, 19%, 27%);
border
border: 2px solid hsl(61, 19%, 27%);
gradient light
background: linear-gradient(to right, hsl(61, 19%, 47%), hsl(61, 19%, 27%));
gradient dark
background: linear-gradient(to right, hsl(61, 19%, 27%), hsl(61, 19%, 7%))
hex
background-color: #515238;
tailwind
bg-[hsl(61,19%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(61, 19%, 27%, 0.4);
css variable
--color-primary: hsl(61, 19%, 27%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(61, 19%, 27%)?
HEX: #515238 | RGB: rgb(81, 82, 56) | CMYK: 1%, 0%, 32%, 68% | HSV: 62°, 32%, 32%. Copy any format from the conversion table above.
What colors go well with #515238?
The complementary color is HSL(241, 19%, 27%). 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, 19%, 27%) in CSS?
As HSL: color: hsl(61, 19%, 27%); — As HEX: color: #515238; — As RGB: color: rgb(81, 82, 56); — Tailwind CSS: bg-[hsl(61,19%,27%)] — CSS variable: --color-primary: hsl(61, 19%, 27%);