HSL(57, 100%, 29%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,100%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 100%, 29%) | color: hsl(57, 100%, 29%) | |
| HEX | #948D00 | color: #948D00 | |
| RGB | rgb(148, 141, 0) | color: rgb(148, 141, 0) | |
| CMYK | cmyk(0%, 5%, 100%, 42%) | — | |
| HSV | hsv(57, 100%, 58%) | — | |
| HWB | hwb(57 0% 42%) | color: hwb(57 0% 42%) | |
| OKLCH | oklch(0.6292 0.1343 106.15) | color: oklch(0.6292 0.1343 106.15) | |
| Lab | lab(57.41 -10.65 61.52) | color: lab(57.41 -10.65 61.52) | |
| LCH | lch(57.41 62.44 99.82) | color: lch(57.41 62.44 99.82) |
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)
#919122 — rgb(145, 145, 34)
Deuteranopia (Green-blind)
#91922A — rgb(145, 146, 42)
Tritanopia (Blue-blind)
#943D43 — rgb(148, 61, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 100%, 29%);
text
color: hsl(57, 100%, 29%);
border
border: 2px solid hsl(57, 100%, 29%);
gradient light
background: linear-gradient(to right, hsl(57, 100%, 49%), hsl(57, 100%, 29%));
gradient dark
background: linear-gradient(to right, hsl(57, 100%, 29%), hsl(57, 100%, 9%))
hex
background-color: #948D00;
tailwind
bg-[hsl(57,100%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 100%, 29%, 0.4);
css variable
--color-primary: hsl(57, 100%, 29%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 100%, 29%)?
HEX: #948D00 | RGB: rgb(148, 141, 0) | CMYK: 0%, 5%, 100%, 42% | HSV: 57°, 100%, 58%. Copy any format from the conversion table above.
What colors go well with #948D00?
The complementary color is HSL(237, 100%, 29%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 100%, 29%) in CSS?
As HSL: color: hsl(57, 100%, 29%); — As HEX: color: #948D00; — As RGB: color: rgb(148, 141, 0); — Tailwind CSS: bg-[hsl(57,100%,29%)] — CSS variable: --color-primary: hsl(57, 100%, 29%);