HSL(46, 50%, 18%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(46,50%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(46, 50%, 18%) color: hsl(46, 50%, 18%)
HEX #453A17 color: #453A17
RGB rgb(69, 58, 23) color: rgb(69, 58, 23)
CMYK cmyk(0%, 16%, 67%, 73%)
HSV hsv(46, 67%, 27%)
HWB hwb(46 9% 73%) color: hwb(46 9% 73%)
OKLCH oklch(0.3517 0.0537 92.01) color: oklch(0.3517 0.0537 92.01)
Lab lab(24.81 -0.22 23.13) color: lab(24.81 -0.22 23.13)
LCH lch(24.81 23.13 90.54) color: lch(24.81 23.13 90.54)

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 11.23:1
vs Black 1.87:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#40401F — rgb(64, 64, 31)

Deuteranopia (Green-blind)

#414222 — rgb(65, 66, 34)

Tritanopia (Blue-blind)

#442628 — rgb(68, 38, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(46, 50%, 18%);

text

color: hsl(46, 50%, 18%);

border

border: 2px solid hsl(46, 50%, 18%);

gradient light

background: linear-gradient(to right, hsl(46, 50%, 38%), hsl(46, 50%, 18%));

gradient dark

background: linear-gradient(to right, hsl(46, 50%, 18%), hsl(46, 50%, 0%))

hex

background-color: #453A17;

tailwind

bg-[hsl(46,50%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(46, 50%, 18%, 0.4);

css variable

--color-primary: hsl(46, 50%, 18%);

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(46, 50%, 18%)?

HEX: #453A17 | RGB: rgb(69, 58, 23) | CMYK: 0%, 16%, 67%, 73% | HSV: 46°, 67%, 27%. Copy any format from the conversion table above.

What colors go well with #453A17?

The complementary color is HSL(226, 50%, 18%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(46, 50%, 18%) in CSS?

As HSL: color: hsl(46, 50%, 18%); — As HEX: color: #453A17; — As RGB: color: rgb(69, 58, 23); — Tailwind CSS: bg-[hsl(46,50%,18%)] — CSS variable: --color-primary: hsl(46, 50%, 18%);