HSL(51, 63%, 29%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,63%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 63%, 29%) | color: hsl(51, 63%, 29%) | |
| HEX | #796B1B | color: #796B1B | |
| RGB | rgb(121, 107, 27) | color: rgb(121, 107, 27) | |
| CMYK | cmyk(0%, 12%, 78%, 53%) | — | |
| HSV | hsv(51, 78%, 47%) | — | |
| HWB | hwb(51 10% 53%) | color: hwb(51 10% 53%) | |
| OKLCH | oklch(0.526 0.0979 98.89) | color: oklch(0.526 0.0979 98.89) | |
| Lab | lab(45.17 -3.79 43.97) | color: lab(45.17 -3.79 43.97) | |
| LCH | lch(45.17 44.13 94.93) | color: lch(45.17 44.13 94.93) |
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)
#73732E — rgb(115, 115, 46)
Deuteranopia (Green-blind)
#747533 — rgb(116, 117, 51)
Tritanopia (Blue-blind)
#783E41 — rgb(120, 62, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 63%, 29%);
text
color: hsl(51, 63%, 29%);
border
border: 2px solid hsl(51, 63%, 29%);
gradient light
background: linear-gradient(to right, hsl(51, 63%, 49%), hsl(51, 63%, 29%));
gradient dark
background: linear-gradient(to right, hsl(51, 63%, 29%), hsl(51, 63%, 9%))
hex
background-color: #796B1B;
tailwind
bg-[hsl(51,63%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 63%, 29%, 0.4);
css variable
--color-primary: hsl(51, 63%, 29%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 63%, 29%)?
HEX: #796B1B | RGB: rgb(121, 107, 27) | CMYK: 0%, 12%, 78%, 53% | HSV: 51°, 78%, 47%. Copy any format from the conversion table above.
What colors go well with #796B1B?
The complementary color is HSL(231, 63%, 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, 63%, 29%) in CSS?
As HSL: color: hsl(51, 63%, 29%); — As HEX: color: #796B1B; — As RGB: color: rgb(121, 107, 27); — Tailwind CSS: bg-[hsl(51,63%,29%)] — CSS variable: --color-primary: hsl(51, 63%, 29%);