HSL(51, 10%, 29%)
Grayish Yellow — Yellow color
Adjust Color
Color Information
Color Name
Grayish Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(51,10%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 10%, 29%) | color: hsl(51, 10%, 29%) | |
| HEX | #514F43 | color: #514F43 | |
| RGB | rgb(81, 79, 67) | color: rgb(81, 79, 67) | |
| CMYK | cmyk(0%, 2%, 17%, 68%) | — | |
| HSV | hsv(51, 17%, 32%) | — | |
| HWB | hwb(51 27% 68%) | color: hwb(51 27% 68%) | |
| OKLCH | oklch(0.4257 0.0194 99.36) | color: oklch(0.4257 0.0194 99.36) | |
| Lab | lab(33.45 -1.56 7.39) | color: lab(33.45 -1.56 7.39) | |
| LCH | lch(33.45 7.55 101.92) | color: lch(33.45 7.55 101.92) |
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)
#505046 — rgb(80, 80, 70)
Deuteranopia (Green-blind)
#505047 — rgb(80, 80, 71)
Tritanopia (Blue-blind)
#514849 — rgb(81, 72, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 10%, 29%);
text
color: hsl(51, 10%, 29%);
border
border: 2px solid hsl(51, 10%, 29%);
gradient light
background: linear-gradient(to right, hsl(51, 10%, 49%), hsl(51, 10%, 29%));
gradient dark
background: linear-gradient(to right, hsl(51, 10%, 29%), hsl(51, 10%, 9%))
hex
background-color: #514F43;
tailwind
bg-[hsl(51,10%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 10%, 29%, 0.4);
css variable
--color-primary: hsl(51, 10%, 29%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 10%, 29%)?
HEX: #514F43 | RGB: rgb(81, 79, 67) | CMYK: 0%, 2%, 17%, 68% | HSV: 51°, 17%, 32%. Copy any format from the conversion table above.
What colors go well with #514F43?
The complementary color is HSL(231, 10%, 29%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 10%, 29%) in CSS?
As HSL: color: hsl(51, 10%, 29%); — As HEX: color: #514F43; — As RGB: color: rgb(81, 79, 67); — Tailwind CSS: bg-[hsl(51,10%,29%)] — CSS variable: --color-primary: hsl(51, 10%, 29%);