HSL(49, 75%, 46%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(49,75%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(49, 75%, 46%) color: hsl(49, 75%, 46%)
HEX #CDAD1D color: #CDAD1D
RGB rgb(205, 173, 29) color: rgb(205, 173, 29)
CMYK cmyk(0%, 16%, 86%, 20%)
HSV hsv(49, 86%, 80%)
HWB hwb(49 11% 20%) color: hwb(49 11% 20%)
OKLCH oklch(0.7541 0.1486 94.91) color: oklch(0.7541 0.1486 94.91)
Lab lab(71.53 -1.5 69.55) color: lab(71.53 -1.5 69.55)
LCH lch(71.53 69.57 91.24) color: lch(71.53 69.57 91.24)

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.19:1
vs Black 9.59: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)

#BFBF40 — rgb(191, 191, 64)

Deuteranopia (Green-blind)

#C1C348 — rgb(193, 195, 72)

Tritanopia (Blue-blind)

#CB5B61 — rgb(203, 91, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(49, 75%, 46%);

text

color: hsl(49, 75%, 46%);

border

border: 2px solid hsl(49, 75%, 46%);

gradient light

background: linear-gradient(to right, hsl(49, 75%, 66%), hsl(49, 75%, 46%));

gradient dark

background: linear-gradient(to right, hsl(49, 75%, 46%), hsl(49, 75%, 26%))

hex

background-color: #CDAD1D;

tailwind

bg-[hsl(49,75%,46%)]

box shadow

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

css variable

--color-primary: hsl(49, 75%, 46%);

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(49, 75%, 46%)?

HEX: #CDAD1D | RGB: rgb(205, 173, 29) | CMYK: 0%, 16%, 86%, 20% | HSV: 49°, 86%, 80%. Copy any format from the conversion table above.

What colors go well with #CDAD1D?

The complementary color is HSL(229, 75%, 46%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(49, 75%, 46%) in CSS?

As HSL: color: hsl(49, 75%, 46%); — As HEX: color: #CDAD1D; — As RGB: color: rgb(205, 173, 29); — Tailwind CSS: bg-[hsl(49,75%,46%)] — CSS variable: --color-primary: hsl(49, 75%, 46%);