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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 2.01:1
vs Black 10.44:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

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%);