HSL(51, 40%, 32%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,40%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 40%, 32%) | color: hsl(51, 40%, 32%) | |
| HEX | #726831 | color: #726831 | |
| RGB | rgb(114, 104, 49) | color: rgb(114, 104, 49) | |
| CMYK | cmyk(0%, 9%, 57%, 55%) | — | |
| HSV | hsv(51, 57%, 45%) | — | |
| HWB | hwb(51 19% 55%) | color: hwb(51 19% 55%) | |
| OKLCH | oklch(0.5142 0.076 99.18) | color: oklch(0.5142 0.076 99.18) | |
| Lab | lab(43.8 -3.87 31.99) | color: lab(43.8 -3.87 31.99) | |
| LCH | lch(43.8 32.22 96.9) | color: lch(43.8 32.22 96.9) |
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)
#6E6E3E — rgb(110, 110, 62)
Deuteranopia (Green-blind)
#6E6F42 — rgb(110, 111, 66)
Tritanopia (Blue-blind)
#72494B — rgb(114, 73, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 40%, 32%);
text
color: hsl(51, 40%, 32%);
border
border: 2px solid hsl(51, 40%, 32%);
gradient light
background: linear-gradient(to right, hsl(51, 40%, 52%), hsl(51, 40%, 32%));
gradient dark
background: linear-gradient(to right, hsl(51, 40%, 32%), hsl(51, 40%, 12%))
hex
background-color: #726831;
tailwind
bg-[hsl(51,40%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 40%, 32%, 0.4);
css variable
--color-primary: hsl(51, 40%, 32%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 40%, 32%)?
HEX: #726831 | RGB: rgb(114, 104, 49) | CMYK: 0%, 9%, 57%, 55% | HSV: 51°, 57%, 45%. Copy any format from the conversion table above.
What colors go well with #726831?
The complementary color is HSL(231, 40%, 32%). 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, 40%, 32%) in CSS?
As HSL: color: hsl(51, 40%, 32%); — As HEX: color: #726831; — As RGB: color: rgb(114, 104, 49); — Tailwind CSS: bg-[hsl(51,40%,32%)] — CSS variable: --color-primary: hsl(51, 40%, 32%);