HSL(46, 52%, 38%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,52%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 52%, 38%) | color: hsl(46, 52%, 38%) | |
| HEX | #937C2F | color: #937C2F | |
| RGB | rgb(147, 124, 47) | color: rgb(147, 124, 47) | |
| CMYK | cmyk(0%, 16%, 68%, 42%) | — | |
| HSV | hsv(46, 68%, 58%) | — | |
| HWB | hwb(46 19% 42%) | color: hwb(46 19% 42%) | |
| OKLCH | oklch(0.5927 0.0994 92.35) | color: oklch(0.5927 0.0994 92.35) | |
| Lab | lab(52.76 -0.19 43.87) | color: lab(52.76 -0.19 43.87) | |
| LCH | lch(52.76 43.87 90.25) | color: lch(52.76 43.87 90.25) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#898942 — rgb(137, 137, 66)
Deuteranopia (Green-blind)
#8A8C46 — rgb(138, 140, 70)
Tritanopia (Blue-blind)
#925054 — rgb(146, 80, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 52%, 38%);
text
color: hsl(46, 52%, 38%);
border
border: 2px solid hsl(46, 52%, 38%);
gradient light
background: linear-gradient(to right, hsl(46, 52%, 58%), hsl(46, 52%, 38%));
gradient dark
background: linear-gradient(to right, hsl(46, 52%, 38%), hsl(46, 52%, 18%))
hex
background-color: #937C2F;
tailwind
bg-[hsl(46,52%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 52%, 38%, 0.4);
css variable
--color-primary: hsl(46, 52%, 38%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 52%, 38%)?
HEX: #937C2F | RGB: rgb(147, 124, 47) | CMYK: 0%, 16%, 68%, 42% | HSV: 46°, 68%, 58%. Copy any format from the conversion table above.
What colors go well with #937C2F?
The complementary color is HSL(226, 52%, 38%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 52%, 38%) in CSS?
As HSL: color: hsl(46, 52%, 38%); — As HEX: color: #937C2F; — As RGB: color: rgb(147, 124, 47); — Tailwind CSS: bg-[hsl(46,52%,38%)] — CSS variable: --color-primary: hsl(46, 52%, 38%);