HSL(56, 100%, 29%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(56,100%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(56, 100%, 29%) | color: hsl(56, 100%, 29%) | |
| HEX | #948A00 | color: #948A00 | |
| RGB | rgb(148, 138, 0) | color: rgb(148, 138, 0) | |
| CMYK | cmyk(0%, 7%, 100%, 42%) | — | |
| HSV | hsv(56, 100%, 58%) | — | |
| HWB | hwb(56 0% 42%) | color: hwb(56 0% 42%) | |
| OKLCH | oklch(0.6224 0.1317 104.46) | color: oklch(0.6224 0.1317 104.46) | |
| Lab | lab(56.56 -9.04 60.9) | color: lab(56.56 -9.04 60.9) | |
| LCH | lch(56.56 61.57 98.44) | color: lch(56.56 61.57 98.44) |
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)
#909021 — rgb(144, 144, 33)
Deuteranopia (Green-blind)
#909129 — rgb(144, 145, 41)
Tritanopia (Blue-blind)
#943C42 — rgb(148, 60, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(56, 100%, 29%);
text
color: hsl(56, 100%, 29%);
border
border: 2px solid hsl(56, 100%, 29%);
gradient light
background: linear-gradient(to right, hsl(56, 100%, 49%), hsl(56, 100%, 29%));
gradient dark
background: linear-gradient(to right, hsl(56, 100%, 29%), hsl(56, 100%, 9%))
hex
background-color: #948A00;
tailwind
bg-[hsl(56,100%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(56, 100%, 29%, 0.4);
css variable
--color-primary: hsl(56, 100%, 29%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(56, 100%, 29%)?
HEX: #948A00 | RGB: rgb(148, 138, 0) | CMYK: 0%, 7%, 100%, 42% | HSV: 56°, 100%, 58%. Copy any format from the conversion table above.
What colors go well with #948A00?
The complementary color is HSL(236, 100%, 29%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(56, 100%, 29%) in CSS?
As HSL: color: hsl(56, 100%, 29%); — As HEX: color: #948A00; — As RGB: color: rgb(148, 138, 0); — Tailwind CSS: bg-[hsl(56,100%,29%)] — CSS variable: --color-primary: hsl(56, 100%, 29%);