#DEC866

Closest named color: Sand (#E2CA76). oklch(83.1% 0.121 96.9), rgb(222, 200, 102).

Aa

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

About this color

#DEC866 is a light, moderately saturated yellow. In OKLCH its lightness is 83%, its chroma 0.121 and its hue 97°. 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.55:1.

Hue familyYellows
Lightnesslight (83%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text12.55:1
White text1.67:1

Values

HEX#DEC866
RGBrgb(222, 200, 102)
HSLhsl(49, 65%, 64%)
OKLCHoklch(83.1% 0.121 96.9)

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 #DEC866 1.67:1 Fails Lc -33.1 Non-text elements, placeholder text
Black text on #DEC866 12.55:1 AAA Lc 74.4 Content text, not long reading
#DEC866 text on white 1.67:1 Fails Lc 29.4 Dividers and decoration only
#DEC866 text on black 12.55:1 AAA Lc -73.4 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

    #F8F6EA

    oklch(97.1% 0.016 99)

  2. Step 100

    100

    #F0EAD0

    oklch(93.5% 0.035 96.3)

  3. Step 200

    200

    #E5DAA7

    oklch(88.5% 0.068 97.3)

  4. Step 300

    300 (this color)

    #DEC866

    oklch(83.1% 0.121 96.9)

  5. Step 400

    400

    #BBA000

    oklch(70.8% 0.146 97)

  6. Step 500

    500

    #A08900

    oklch(63.2% 0.13 97.2)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#DEC866 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)#D9C45D0.015
Deuteranopia (no green cones)#DFCB6A0.008
Tritanopia (no blue cones)#EDBCB20.110
Achromatopsia (no color)#C8C8C80.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEC866

    #DEC866

    oklch(83.1% 0.121 96.9)

  • #B9C3FF

    #B9C3FF

    oklch(83% 0.085 277)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEC866

    #DEC866

    oklch(83.1% 0.121 96.9)

  • #FDB86E

    #FDB86E

    oklch(83.2% 0.121 66.8)

  • #B3D77E

    #B3D77E

    oklch(83.3% 0.122 126.9)

Open the analogous palette in the generator

Split complementary

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

  • #DEC866

    #DEC866

    oklch(83.1% 0.121 96.9)

  • #98CEFF

    #98CEFF

    oklch(83.2% 0.089 246.5)

  • #DAB5FF

    #DAB5FF

    oklch(83.1% 0.108 307)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEC866

    #DEC866

    oklch(83.1% 0.121 96.9)

  • #58DBFB

    #58DBFB

    oklch(83.2% 0.121 216.9)

  • #FAA9E5

    #FAA9E5

    oklch(83.1% 0.121 336.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEC866

    #DEC866

    oklch(83.1% 0.121 96.9)

  • #55E1D5

    #55E1D5

    oklch(83.1% 0.121 187.1)

  • #B9C3FF

    #B9C3FF

    oklch(83% 0.085 277)

  • #FFADBD

    #FFADBD

    oklch(83.1% 0.098 6.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #DEC866 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.