HSL(58, 75%, 30%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(58,75%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(58, 75%, 30%) | color: hsl(58, 75%, 30%) | |
| HEX | #868213 | color: #868213 | |
| RGB | rgb(134, 130, 19) | color: rgb(134, 130, 19) | |
| CMYK | cmyk(0%, 3%, 86%, 47%) | — | |
| HSV | hsv(58, 86%, 53%) | — | |
| HWB | hwb(58 7% 47%) | color: hwb(58 7% 47%) | |
| OKLCH | oklch(0.5915 0.1215 107.33) | color: oklch(0.5915 0.1215 107.33) | |
| Lab | lab(53.04 -10.81 54.02) | color: lab(53.04 -10.81 54.02) | |
| LCH | lch(53.04 55.09 101.32) | color: lch(53.04 55.09 101.32) |
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)
#84842E — rgb(132, 132, 46)
Deuteranopia (Green-blind)
#858534 — rgb(133, 133, 52)
Tritanopia (Blue-blind)
#864348 — rgb(134, 67, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(58, 75%, 30%);
text
color: hsl(58, 75%, 30%);
border
border: 2px solid hsl(58, 75%, 30%);
gradient light
background: linear-gradient(to right, hsl(58, 75%, 50%), hsl(58, 75%, 30%));
gradient dark
background: linear-gradient(to right, hsl(58, 75%, 30%), hsl(58, 75%, 10%))
hex
background-color: #868213;
tailwind
bg-[hsl(58,75%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(58, 75%, 30%, 0.4);
css variable
--color-primary: hsl(58, 75%, 30%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(58, 75%, 30%)?
HEX: #868213 | RGB: rgb(134, 130, 19) | CMYK: 0%, 3%, 86%, 47% | HSV: 58°, 86%, 53%. Copy any format from the conversion table above.
What colors go well with #868213?
The complementary color is HSL(238, 75%, 30%). 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, 75%, 30%) in CSS?
As HSL: color: hsl(58, 75%, 30%); — As HEX: color: #868213; — As RGB: color: rgb(134, 130, 19); — Tailwind CSS: bg-[hsl(58,75%,30%)] — CSS variable: --color-primary: hsl(58, 75%, 30%);