#DEC271

Closest named color: Saffron (#E9C46A). oklch(82.1% 0.106 90.9), rgb(222, 194, 113).

Aa

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

About this color

#DEC271 is a light, moderately saturated yellow. In OKLCH its lightness is 82%, its chroma 0.106 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Saffron (#E9C46A), ΔE 0.019 away. Black text reads best on it, at 12.06:1.

Hue familyYellows
Lightnesslight (82%)
Chromamoderately saturated (0.106)
Temperaturewarm
Nearest nameSaffron (#E9C46A)
Black text12.06:1
White text1.74:1

Values

HEX#DEC271
RGBrgb(222, 194, 113)
HSLhsl(45, 62%, 66%)
OKLCHoklch(82.1% 0.106 90.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 #DEC271 1.74:1 Fails Lc -35.5 Non-text elements, placeholder text
Black text on #DEC271 12.06:1 AAA Lc 72.3 Content text, not long reading
#DEC271 text on white 1.74:1 Fails Lc 31.6 Non-text elements, placeholder text
#DEC271 text on black 12.06:1 AAA Lc -71.1 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

    #F9F5EB

    oklch(97.1% 0.014 88.7)

  2. Step 100

    100

    #F1EAD3

    oklch(93.6% 0.031 92.9)

  3. Step 200

    200

    #E8D8AD

    oklch(88.5% 0.059 90)

  4. Step 300

    300 (this color)

    #DEC271

    oklch(82.1% 0.106 90.9)

  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

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#DEC271 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)#D2C06A0.021
Deuteranopia (no green cones)#D9C8740.016
Tritanopia (no blue cones)#EDB6AF0.097
Achromatopsia (no color)#C4C4C40.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #DEC271

    #DEC271

    oklch(82.1% 0.106 90.9)

  • #AFC2FF

    #AFC2FF

    oklch(82.1% 0.089 271)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DEC271

    #DEC271

    oklch(82.1% 0.106 90.9)

  • #F7B47C

    #F7B47C

    oklch(82% 0.106 60.4)

  • #BACF80

    #BACF80

    oklch(82% 0.106 120.9)

Open the analogous palette in the generator

Split complementary

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

  • #DEC271

    #DEC271

    oklch(82.1% 0.106 90.9)

  • #88CDFF

    #88CDFF

    oklch(82.1% 0.099 241)

  • #D0B5FF

    #D0B5FF

    oklch(82.2% 0.106 300.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DEC271

    #DEC271

    oklch(82.1% 0.106 90.9)

  • #66D7EB

    #66D7EB

    oklch(82.1% 0.106 210.7)

  • #ECABE4

    #ECABE4

    oklch(82% 0.106 330.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DEC271

    #DEC271

    oklch(82.1% 0.106 90.9)

  • #6CDBC8

    #6CDBC8

    oklch(82.1% 0.106 180.9)

  • #AFC2FF

    #AFC2FF

    oklch(82.1% 0.089 271)

  • #FEA7C0

    #FEA7C0

    oklch(82% 0.107 1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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