HSL(53, 42%, 38%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,42%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 42%, 38%) | color: hsl(53, 42%, 38%) | |
| HEX | #8A8038 | color: #8A8038 | |
| RGB | rgb(138, 128, 56) | color: rgb(138, 128, 56) | |
| CMYK | cmyk(0%, 7%, 59%, 46%) | — | |
| HSV | hsv(53, 59%, 54%) | — | |
| HWB | hwb(53 22% 46%) | color: hwb(53 22% 46%) | |
| OKLCH | oklch(0.5936 0.0938 101.47) | color: oklch(0.5936 0.0938 101.47) | |
| Lab | lab(53.09 -5.88 39.68) | color: lab(53.09 -5.88 39.68) | |
| LCH | lch(53.09 40.11 98.43) | color: lch(53.09 40.11 98.43) |
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)
#868649 — rgb(134, 134, 73)
Deuteranopia (Green-blind)
#86874E — rgb(134, 135, 78)
Tritanopia (Blue-blind)
#8A575A — rgb(138, 87, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 42%, 38%);
text
color: hsl(53, 42%, 38%);
border
border: 2px solid hsl(53, 42%, 38%);
gradient light
background: linear-gradient(to right, hsl(53, 42%, 58%), hsl(53, 42%, 38%));
gradient dark
background: linear-gradient(to right, hsl(53, 42%, 38%), hsl(53, 42%, 18%))
hex
background-color: #8A8038;
tailwind
bg-[hsl(53,42%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 42%, 38%, 0.4);
css variable
--color-primary: hsl(53, 42%, 38%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 42%, 38%)?
HEX: #8A8038 | RGB: rgb(138, 128, 56) | CMYK: 0%, 7%, 59%, 46% | HSV: 53°, 59%, 54%. Copy any format from the conversion table above.
What colors go well with #8A8038?
The complementary color is HSL(233, 42%, 38%). For a triadic harmony, use hues 53°, 173°, and 293°. For analogous combinations, try hues 23° and 83°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(53, 42%, 38%) in CSS?
As HSL: color: hsl(53, 42%, 38%); — As HEX: color: #8A8038; — As RGB: color: rgb(138, 128, 56); — Tailwind CSS: bg-[hsl(53,42%,38%)] — CSS variable: --color-primary: hsl(53, 42%, 38%);