#DEC57D

Closest named color: Sand (#E2CA76). oklch(82.9% 0.096 91), rgb(222, 197, 125).

Aa

Black text reads best on this color (12.38:1).

About this color

#DEC57D is a light, moderately saturated yellow. In OKLCH its lightness is 83%, its chroma 0.096 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.018 away. Black text reads best on it, at 12.38:1.

Hue familyYellows
Lightnesslight (83%)
Chromamoderately saturated (0.096)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text12.38:1
White text1.69:1

Values

HEX#DEC57D
RGBrgb(222, 197, 125)
HSLhsl(45, 60%, 68%)
OKLCHoklch(82.9% 0.096 91)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #DEC57D 1.69:1 Fails Lc -34.0 Non-text elements, placeholder text
Black text on #DEC57D 12.38:1 AAA Lc 73.6 Content text, not long reading
#DEC57D text on white 1.69:1 Fails Lc 30.2 Non-text elements, placeholder text
#DEC57D text on black 12.38:1 AAA Lc -72.6 Content text, not long reading

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.

  1. Step 50

    50

    #F9F5EC

    oklch(97.1% 0.013 86.8)

  2. Step 100

    100

    #F1EAD6

    oklch(93.7% 0.028 90.9)

  3. Step 200

    200

    #E6D9B2

    oklch(88.6% 0.053 91.8)

  4. Step 300

    300 (this color)

    #DEC57D

    oklch(82.9% 0.096 91)

  5. Step 400

    400

    #C29C00

    oklch(70.7% 0.145 91.2)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#DEC57D with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#D4C3770.018
Deuteranopia (no green cones)#DACA7F0.013
Tritanopia (no blue cones)#ECBAB30.087
Achromatopsia (no color)#C7C7C70.096

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #DEC57D

    #DEC57D

    oklch(82.9% 0.096 91)

  • #B2C5FF

    #B2C5FF

    oklch(82.9% 0.084 270.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEC57D

    #DEC57D

    oklch(82.9% 0.096 91)

  • #F5B986

    #F5B986

    oklch(82.9% 0.096 61.3)

  • #BDD18A

    #BDD18A

    oklch(82.9% 0.096 121.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #DEC57D

    #DEC57D

    oklch(82.9% 0.096 91)

  • #8ECFFF

    #8ECFFF

    oklch(82.8% 0.095 241.3)

  • #D1B9FC

    #D1B9FC

    oklch(82.9% 0.096 300.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEC57D

    #DEC57D

    oklch(82.9% 0.096 91)

  • #76D8EA

    #76D8EA

    oklch(82.9% 0.096 210.8)

  • #ECB0E4

    #ECB0E4

    oklch(82.9% 0.097 331)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEC57D

    #DEC57D

    oklch(82.9% 0.096 91)

  • #7BDCCA

    #7BDCCA

    oklch(83% 0.096 180.4)

  • #B2C5FF

    #B2C5FF

    oklch(82.9% 0.084 270.4)

  • #FBADC3

    #FBADC3

    oklch(82.8% 0.095 0.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #DEC57D, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #DEC57D in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.