HSL(46, 70%, 79%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(46,70%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(46, 70%, 79%) color: hsl(46, 70%, 79%)
HEX #EFDDA4 color: #EFDDA4
RGB rgb(239, 221, 164) color: rgb(239, 221, 164)
CMYK cmyk(0%, 8%, 31%, 6%)
HSV hsv(46, 31%, 94%)
HWB hwb(46 65% 6%) color: hwb(46 65% 6%)
OKLCH oklch(0.8987 0.076 92.63) color: oklch(0.8987 0.076 92.63)
Lab lab(88.33 -2.15 30.28) color: lab(88.33 -2.15 30.28)
LCH lch(88.33 30.36 94.06) color: lch(88.33 30.36 94.06)

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.35:1
vs Black 15.55: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)

#E7E7B2 — rgb(231, 231, 178)

Deuteranopia (Green-blind)

#E8EAB5 — rgb(232, 234, 181)

Tritanopia (Blue-blind)

#EEBDBF — rgb(238, 189, 191)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(46, 70%, 79%);

text

color: hsl(46, 70%, 79%);

border

border: 2px solid hsl(46, 70%, 79%);

gradient light

background: linear-gradient(to right, hsl(46, 70%, 99%), hsl(46, 70%, 79%));

gradient dark

background: linear-gradient(to right, hsl(46, 70%, 79%), hsl(46, 70%, 59%))

hex

background-color: #EFDDA4;

tailwind

bg-[hsl(46,70%,79%)]

box shadow

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

css variable

--color-primary: hsl(46, 70%, 79%);

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

HEX: #EFDDA4 | RGB: rgb(239, 221, 164) | CMYK: 0%, 8%, 31%, 6% | HSV: 46°, 31%, 94%. Copy any format from the conversion table above.

What colors go well with #EFDDA4?

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

As HSL: color: hsl(46, 70%, 79%); — As HEX: color: #EFDDA4; — As RGB: color: rgb(239, 221, 164); — Tailwind CSS: bg-[hsl(46,70%,79%)] — CSS variable: --color-primary: hsl(46, 70%, 79%);