HSL(46, 30%, 72%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(46,30%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(46, 30%, 72%) color: hsl(46, 30%, 72%)
HEX #CDC3A2 color: #CDC3A2
RGB rgb(205, 195, 162) color: rgb(205, 195, 162)
CMYK cmyk(0%, 5%, 21%, 20%)
HSV hsv(46, 21%, 80%)
HWB hwb(46 63% 20%) color: hwb(46 63% 20%)
OKLCH oklch(0.8168 0.0459 93.15) color: oklch(0.8168 0.0459 93.15)
Lab lab(78.82 -1.85 17.87) color: lab(78.82 -1.85 17.87)
LCH lch(78.82 17.97 95.91) color: lch(78.82 17.97 95.91)

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 1.76:1
vs Black 11.92: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)

#C9C9AA — rgb(201, 201, 170)

Deuteranopia (Green-blind)

#C9CAAC — rgb(201, 202, 172)

Tritanopia (Blue-blind)

#CDB0B2 — rgb(205, 176, 178)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(46, 30%, 72%);

text

color: hsl(46, 30%, 72%);

border

border: 2px solid hsl(46, 30%, 72%);

gradient light

background: linear-gradient(to right, hsl(46, 30%, 92%), hsl(46, 30%, 72%));

gradient dark

background: linear-gradient(to right, hsl(46, 30%, 72%), hsl(46, 30%, 52%))

hex

background-color: #CDC3A2;

tailwind

bg-[hsl(46,30%,72%)]

box shadow

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

css variable

--color-primary: hsl(46, 30%, 72%);

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, 30%, 72%)?

HEX: #CDC3A2 | RGB: rgb(205, 195, 162) | CMYK: 0%, 5%, 21%, 20% | HSV: 46°, 21%, 80%. Copy any format from the conversion table above.

What colors go well with #CDC3A2?

The complementary color is HSL(226, 30%, 72%). 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, 30%, 72%) in CSS?

As HSL: color: hsl(46, 30%, 72%); — As HEX: color: #CDC3A2; — As RGB: color: rgb(205, 195, 162); — Tailwind CSS: bg-[hsl(46,30%,72%)] — CSS variable: --color-primary: hsl(46, 30%, 72%);