HSL(58, 23%, 65%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(58,23%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(58, 23%, 65%) | color: hsl(58, 23%, 65%) | |
| HEX | #BAB991 | color: #BAB991 | |
| RGB | rgb(186, 185, 145) | color: rgb(186, 185, 145) | |
| CMYK | cmyk(0%, 1%, 22%, 27%) | — | |
| HSV | hsv(59, 22%, 73%) | — | |
| HWB | hwb(59 57% 27%) | color: hwb(59 57% 27%) | |
| OKLCH | oklch(0.7763 0.0543 106.41) | color: oklch(0.7763 0.0543 106.41) | |
| Lab | lab(74.31 -6.28 20.49) | color: lab(74.31 -6.28 20.49) | |
| LCH | lch(74.31 21.43 107.04) | color: lch(74.31 21.43 107.04) |
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)
#BABA9B — rgb(186, 186, 155)
Deuteranopia (Green-blind)
#BABA9D — rgb(186, 186, 157)
Tritanopia (Blue-blind)
#BAA2A4 — rgb(186, 162, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(58, 23%, 65%);
text
color: hsl(58, 23%, 65%);
border
border: 2px solid hsl(58, 23%, 65%);
gradient light
background: linear-gradient(to right, hsl(58, 23%, 85%), hsl(58, 23%, 65%));
gradient dark
background: linear-gradient(to right, hsl(58, 23%, 65%), hsl(58, 23%, 45%))
hex
background-color: #BAB991;
tailwind
bg-[hsl(58,23%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(58, 23%, 65%, 0.4);
css variable
--color-primary: hsl(58, 23%, 65%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(58, 23%, 65%)?
HEX: #BAB991 | RGB: rgb(186, 185, 145) | CMYK: 0%, 1%, 22%, 27% | HSV: 59°, 22%, 73%. Copy any format from the conversion table above.
What colors go well with #BAB991?
The complementary color is HSL(238, 23%, 65%). 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, 23%, 65%) in CSS?
As HSL: color: hsl(58, 23%, 65%); — As HEX: color: #BAB991; — As RGB: color: rgb(186, 185, 145); — Tailwind CSS: bg-[hsl(58,23%,65%)] — CSS variable: --color-primary: hsl(58, 23%, 65%);