HSL(58, 70%, 23%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(58,70%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(58, 70%, 23%) color: hsl(58, 70%, 23%)
HEX #646112 color: #646112
RGB rgb(100, 97, 18) color: rgb(100, 97, 18)
CMYK cmyk(0%, 3%, 82%, 61%)
HSV hsv(58, 82%, 39%)
HWB hwb(58 7% 61%) color: hwb(58 7% 61%)
OKLCH oklch(0.4806 0.0955 107.23) color: oklch(0.4806 0.0955 107.23)
Lab lab(40.09 -8.57 41.85) color: lab(40.09 -8.57 41.85)
LCH lch(40.09 42.72 101.57) color: lch(40.09 42.72 101.57)

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 6.44:1
vs Black 3.26:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#636325 — rgb(99, 99, 37)

Deuteranopia (Green-blind)

#63632A — rgb(99, 99, 42)

Tritanopia (Blue-blind)

#643438 — rgb(100, 52, 56)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(58, 70%, 23%);

text

color: hsl(58, 70%, 23%);

border

border: 2px solid hsl(58, 70%, 23%);

gradient light

background: linear-gradient(to right, hsl(58, 70%, 43%), hsl(58, 70%, 23%));

gradient dark

background: linear-gradient(to right, hsl(58, 70%, 23%), hsl(58, 70%, 3%))

hex

background-color: #646112;

tailwind

bg-[hsl(58,70%,23%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(58, 70%, 23%, 0.4);

css variable

--color-primary: hsl(58, 70%, 23%);

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, 70%, 23%)?

HEX: #646112 | RGB: rgb(100, 97, 18) | CMYK: 0%, 3%, 82%, 61% | HSV: 58°, 82%, 39%. Copy any format from the conversion table above.

What colors go well with #646112?

The complementary color is HSL(238, 70%, 23%). 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, 70%, 23%) in CSS?

As HSL: color: hsl(58, 70%, 23%); — As HEX: color: #646112; — As RGB: color: rgb(100, 97, 18); — Tailwind CSS: bg-[hsl(58,70%,23%)] — CSS variable: --color-primary: hsl(58, 70%, 23%);