HSL(58, 72%, 33%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(58,72%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(58, 72%, 33%) | color: hsl(58, 72%, 33%) | |
| HEX | #918D18 | color: #918D18 | |
| RGB | rgb(145, 141, 24) | color: rgb(145, 141, 24) | |
| CMYK | cmyk(0%, 3%, 83%, 43%) | — | |
| HSV | hsv(58, 83%, 57%) | — | |
| HWB | hwb(58 10% 43%) | color: hwb(58 10% 43%) | |
| OKLCH | oklch(0.6272 0.128 107.46) | color: oklch(0.6272 0.128 107.46) | |
| Lab | lab(57.21 -11.53 56.61) | color: lab(57.21 -11.53 56.61) | |
| LCH | lch(57.21 57.77 101.51) | color: lch(57.21 57.77 101.51) |
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)
#8F8F34 — rgb(143, 143, 52)
Deuteranopia (Green-blind)
#90903B — rgb(144, 144, 59)
Tritanopia (Blue-blind)
#914B50 — rgb(145, 75, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(58, 72%, 33%);
text
color: hsl(58, 72%, 33%);
border
border: 2px solid hsl(58, 72%, 33%);
gradient light
background: linear-gradient(to right, hsl(58, 72%, 53%), hsl(58, 72%, 33%));
gradient dark
background: linear-gradient(to right, hsl(58, 72%, 33%), hsl(58, 72%, 13%))
hex
background-color: #918D18;
tailwind
bg-[hsl(58,72%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(58, 72%, 33%, 0.4);
css variable
--color-primary: hsl(58, 72%, 33%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(58, 72%, 33%)?
HEX: #918D18 | RGB: rgb(145, 141, 24) | CMYK: 0%, 3%, 83%, 43% | HSV: 58°, 83%, 57%. Copy any format from the conversion table above.
What colors go well with #918D18?
The complementary color is HSL(238, 72%, 33%). For a triadic harmony, use hues 58°, 178°, and 298°. For analogous combinations, try hues 28° and 88°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(58, 72%, 33%) in CSS?
As HSL: color: hsl(58, 72%, 33%); — As HEX: color: #918D18; — As RGB: color: rgb(145, 141, 24); — Tailwind CSS: bg-[hsl(58,72%,33%)] — CSS variable: --color-primary: hsl(58, 72%, 33%);