#EDD798

Closest named color: Vanilla (#E9D8A6). oklch(88.3% 0.084 91), rgb(237, 215, 152).

Aa

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

About this color

#EDD798 is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.084 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.016 away. Black text reads best on it, at 14.77:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text14.77:1
White text1.42:1

Values

HEX#EDD798
RGBrgb(237, 215, 152)
HSLhsl(44, 70%, 76%)
OKLCHoklch(88.3% 0.084 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 #EDD798 1.42:1 Fails Lc -23.1 Dividers and decoration only
Black text on #EDD798 14.77:1 AAA Lc 83.5 Fine for body text
#EDD798 text on white 1.42:1 Fails Lc 20.3 Dividers and decoration only
#EDD798 text on black 14.77:1 AAA Lc -83.2 Fine for body text

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 200.

  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 (this color)

    #EDD798

    oklch(88.3% 0.084 91)

  4. Step 300

    300

    #DBBE6B

    oklch(80.9% 0.108 90.6)

  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

#EDD798 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)#E5D5940.014
Deuteranopia (no green cones)#EADB9A0.010
Tritanopia (no blue cones)#FACDC70.077
Achromatopsia (no color)#D8D8D80.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #EDD798

    #EDD798

    oklch(88.3% 0.084 91)

  • #CAD7FF

    #CAD7FF

    oklch(88.2% 0.057 271)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EDD798

    #EDD798

    oklch(88.3% 0.084 91)

  • #FFCDA4

    #FFCDA4

    oklch(88.2% 0.078 60.9)

  • #D0E2A3

    #D0E2A3

    oklch(88.4% 0.085 121.1)

Open the analogous palette in the generator

Split complementary

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

  • #EDD798

    #EDD798

    oklch(88.3% 0.084 91)

  • #B4DFFF

    #B4DFFF

    oklch(88.4% 0.063 240.6)

  • #E0CFFF

    #E0CFFF

    oklch(88.4% 0.068 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EDD798

    #EDD798

    oklch(88.3% 0.084 91)

  • #94E8F8

    #94E8F8

    oklch(88.3% 0.084 210.9)

  • #FAC5F2

    #FAC5F2

    oklch(88.4% 0.084 331.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EDD798

    #EDD798

    oklch(88.3% 0.084 91)

  • #98EBDB

    #98EBDB

    oklch(88.2% 0.084 180.7)

  • #CAD7FF

    #CAD7FF

    oklch(88.2% 0.057 271)

  • #FFC7D6

    #FFC7D6

    oklch(88.3% 0.066 0.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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