HSL(53, 71%, 35%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,71%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 71%, 35%) | color: hsl(53, 71%, 35%) | |
| HEX | #998A1A | color: #998A1A | |
| RGB | rgb(153, 138, 26) | color: rgb(153, 138, 26) | |
| CMYK | cmyk(0%, 10%, 83%, 40%) | — | |
| HSV | hsv(53, 83%, 60%) | — | |
| HWB | hwb(53 10% 40%) | color: hwb(53 10% 40%) | |
| OKLCH | oklch(0.6281 0.1235 101.05) | color: oklch(0.6281 0.1235 101.05) | |
| Lab | lab(57.1 -6.18 56.24) | color: lab(57.1 -6.18 56.24) | |
| LCH | lch(57.1 56.58 96.27) | color: lch(57.1 56.58 96.27) |
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)
#939235 — rgb(147, 146, 53)
Deuteranopia (Green-blind)
#93953C — rgb(147, 149, 60)
Tritanopia (Blue-blind)
#984A4F — rgb(152, 74, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 71%, 35%);
text
color: hsl(53, 71%, 35%);
border
border: 2px solid hsl(53, 71%, 35%);
gradient light
background: linear-gradient(to right, hsl(53, 71%, 55%), hsl(53, 71%, 35%));
gradient dark
background: linear-gradient(to right, hsl(53, 71%, 35%), hsl(53, 71%, 15%))
hex
background-color: #998A1A;
tailwind
bg-[hsl(53,71%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 71%, 35%, 0.4);
css variable
--color-primary: hsl(53, 71%, 35%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 71%, 35%)?
HEX: #998A1A | RGB: rgb(153, 138, 26) | CMYK: 0%, 10%, 83%, 40% | HSV: 53°, 83%, 60%. Copy any format from the conversion table above.
What colors go well with #998A1A?
The complementary color is HSL(233, 71%, 35%). 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, 71%, 35%) in CSS?
As HSL: color: hsl(53, 71%, 35%); — As HEX: color: #998A1A; — As RGB: color: rgb(153, 138, 26); — Tailwind CSS: bg-[hsl(53,71%,35%)] — CSS variable: --color-primary: hsl(53, 71%, 35%);