HSL(52, 13%, 50%)
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(52,13%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 13%, 50%) | color: hsl(52, 13%, 50%) | |
| HEX | #908C6F | color: #908C6F | |
| RGB | rgb(144, 140, 111) | color: rgb(144, 140, 111) | |
| CMYK | cmyk(0%, 3%, 23%, 44%) | — | |
| HSV | hsv(53, 23%, 56%) | — | |
| HWB | hwb(53 43% 44%) | color: hwb(53 43% 44%) | |
| OKLCH | oklch(0.6356 0.0417 100.95) | color: oklch(0.6356 0.0417 100.95) | |
| Lab | lab(57.88 -3.52 16.07) | color: lab(57.88 -3.52 16.07) | |
| LCH | lch(57.88 16.45 102.36) | color: lch(57.88 16.45 102.36) |
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)
#8E8E76 — rgb(142, 142, 118)
Deuteranopia (Green-blind)
#8F8F78 — rgb(143, 143, 120)
Tritanopia (Blue-blind)
#907C7D — rgb(144, 124, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 13%, 50%);
text
color: hsl(52, 13%, 50%);
border
border: 2px solid hsl(52, 13%, 50%);
gradient light
background: linear-gradient(to right, hsl(52, 13%, 70%), hsl(52, 13%, 50%));
gradient dark
background: linear-gradient(to right, hsl(52, 13%, 50%), hsl(52, 13%, 30%))
hex
background-color: #908C6F;
tailwind
bg-[hsl(52,13%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 13%, 50%, 0.4);
css variable
--color-primary: hsl(52, 13%, 50%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 13%, 50%)?
HEX: #908C6F | RGB: rgb(144, 140, 111) | CMYK: 0%, 3%, 23%, 44% | HSV: 53°, 23%, 56%. Copy any format from the conversion table above.
What colors go well with #908C6F?
The complementary color is HSL(232, 13%, 50%). 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, 13%, 50%) in CSS?
As HSL: color: hsl(52, 13%, 50%); — As HEX: color: #908C6F; — As RGB: color: rgb(144, 140, 111); — Tailwind CSS: bg-[hsl(52,13%,50%)] — CSS variable: --color-primary: hsl(52, 13%, 50%);