HSL(62, 17%, 85%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(62,17%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(62, 17%, 85%) color: hsl(62, 17%, 85%)
HEX #DFDFD2 color: #DFDFD2
RGB rgb(223, 223, 210) color: rgb(223, 223, 210)
CMYK cmyk(0%, 0%, 6%, 13%)
HSV hsv(60, 6%, 87%)
HWB hwb(60 82% 13%) color: hwb(60 82% 13%)
OKLCH oklch(0.9001 0.0174 106.74) color: oklch(0.9001 0.0174 106.74)
Lab lab(88.5 -2.27 6.37) color: lab(88.5 -2.27 6.37)
LCH lch(88.5 6.76 109.61) color: lch(88.5 6.76 109.61)

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.34:1
vs Black 15.62: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)

#DFDFD5 — rgb(223, 223, 213)

Deuteranopia (Green-blind)

#DFDFD6 — rgb(223, 223, 214)

Tritanopia (Blue-blind)

#DFD8D8 — rgb(223, 216, 216)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(62, 17%, 85%);

text

color: hsl(62, 17%, 85%);

border

border: 2px solid hsl(62, 17%, 85%);

gradient light

background: linear-gradient(to right, hsl(62, 17%, 100%), hsl(62, 17%, 85%));

gradient dark

background: linear-gradient(to right, hsl(62, 17%, 85%), hsl(62, 17%, 65%))

hex

background-color: #DFDFD2;

tailwind

bg-[hsl(62,17%,85%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(62, 17%, 85%, 0.4);

css variable

--color-primary: hsl(62, 17%, 85%);

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(62, 17%, 85%)?

HEX: #DFDFD2 | RGB: rgb(223, 223, 210) | CMYK: 0%, 0%, 6%, 13% | HSV: 60°, 6%, 87%. Copy any format from the conversion table above.

What colors go well with #DFDFD2?

The complementary color is HSL(242, 17%, 85%). For a triadic harmony, use hues 62°, 182°, and 302°. For analogous combinations, try hues 32° and 92°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(62, 17%, 85%) in CSS?

As HSL: color: hsl(62, 17%, 85%); — As HEX: color: #DFDFD2; — As RGB: color: rgb(223, 223, 210); — Tailwind CSS: bg-[hsl(62,17%,85%)] — CSS variable: --color-primary: hsl(62, 17%, 85%);