HSL(45, 80%, 44%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(45,80%,44%)]

Color Conversions

Format Value CSS Usage
HSL hsl(45, 80%, 44%) color: hsl(45, 80%, 44%)
HEX #CA9D16 color: #CA9D16
RGB rgb(202, 157, 22) color: rgb(202, 157, 22)
CMYK cmyk(0%, 22%, 89%, 21%)
HSV hsv(45, 89%, 79%)
HWB hwb(45 9% 21%) color: hwb(45 9% 21%)
OKLCH oklch(0.7182 0.1424 87.21) color: oklch(0.7182 0.1424 87.21)
Lab lab(67.07 5.55 67.45) color: lab(67.07 5.55 67.45)
LCH lch(67.07 67.68 85.3) color: lch(67.07 67.68 85.3)

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.52:1
vs Black 8.35: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)

#B7B637 — rgb(183, 182, 55)

Deuteranopia (Green-blind)

#B9BD3F — rgb(185, 189, 63)

Tritanopia (Blue-blind)

#C85056 — rgb(200, 80, 86)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(45, 80%, 44%);

text

color: hsl(45, 80%, 44%);

border

border: 2px solid hsl(45, 80%, 44%);

gradient light

background: linear-gradient(to right, hsl(45, 80%, 64%), hsl(45, 80%, 44%));

gradient dark

background: linear-gradient(to right, hsl(45, 80%, 44%), hsl(45, 80%, 24%))

hex

background-color: #CA9D16;

tailwind

bg-[hsl(45,80%,44%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(45, 80%, 44%, 0.4);

css variable

--color-primary: hsl(45, 80%, 44%);

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(45, 80%, 44%)?

HEX: #CA9D16 | RGB: rgb(202, 157, 22) | CMYK: 0%, 22%, 89%, 21% | HSV: 45°, 89%, 79%. Copy any format from the conversion table above.

What colors go well with #CA9D16?

The complementary color is HSL(225, 80%, 44%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(45, 80%, 44%) in CSS?

As HSL: color: hsl(45, 80%, 44%); — As HEX: color: #CA9D16; — As RGB: color: rgb(202, 157, 22); — Tailwind CSS: bg-[hsl(45,80%,44%)] — CSS variable: --color-primary: hsl(45, 80%, 44%);