HSL(52, 50%, 33%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,50%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 50%, 33%) | color: hsl(52, 50%, 33%) | |
| HEX | #7E732A | color: #7E732A | |
| RGB | rgb(126, 115, 42) | color: rgb(126, 115, 42) | |
| CMYK | cmyk(0%, 9%, 67%, 51%) | — | |
| HSV | hsv(52, 67%, 49%) | — | |
| HWB | hwb(52 16% 51%) | color: hwb(52 16% 51%) | |
| OKLCH | oklch(0.5507 0.0938 100.72) | color: oklch(0.5507 0.0938 100.72) | |
| Lab | lab(48.09 -5.13 40.61) | color: lab(48.09 -5.13 40.61) | |
| LCH | lch(48.09 40.93 97.2) | color: lch(48.09 40.93 97.2) |
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)
#79793C — rgb(121, 121, 60)
Deuteranopia (Green-blind)
#7A7B40 — rgb(122, 123, 64)
Tritanopia (Blue-blind)
#7D4A4D — rgb(125, 74, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 50%, 33%);
text
color: hsl(52, 50%, 33%);
border
border: 2px solid hsl(52, 50%, 33%);
gradient light
background: linear-gradient(to right, hsl(52, 50%, 53%), hsl(52, 50%, 33%));
gradient dark
background: linear-gradient(to right, hsl(52, 50%, 33%), hsl(52, 50%, 13%))
hex
background-color: #7E732A;
tailwind
bg-[hsl(52,50%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 50%, 33%, 0.4);
css variable
--color-primary: hsl(52, 50%, 33%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 50%, 33%)?
HEX: #7E732A | RGB: rgb(126, 115, 42) | CMYK: 0%, 9%, 67%, 51% | HSV: 52°, 67%, 49%. Copy any format from the conversion table above.
What colors go well with #7E732A?
The complementary color is HSL(232, 50%, 33%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 50%, 33%) in CSS?
As HSL: color: hsl(52, 50%, 33%); — As HEX: color: #7E732A; — As RGB: color: rgb(126, 115, 42); — Tailwind CSS: bg-[hsl(52,50%,33%)] — CSS variable: --color-primary: hsl(52, 50%, 33%);