#EEC238

Closest named color: Golden (#F5BF03). oklch(83% 0.154 90.1), rgb(238, 194, 56).

Aa

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

About this color

#EEC238 is a light, vivid yellow. In OKLCH its lightness is 83%, its chroma 0.154 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Golden (#F5BF03), ΔE 0.017 away. Black text reads best on it, at 12.40:1.

Hue familyYellows
Lightnesslight (83%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameGolden (#F5BF03)
Black text12.40:1
White text1.69:1

Values

HEX#EEC238
RGBrgb(238, 194, 56)
HSLhsl(45, 84%, 58%)
OKLCHoklch(83% 0.154 90.1)

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 #EEC238 1.69:1 Fails Lc -33.7 Non-text elements, placeholder text
Black text on #EEC238 12.40:1 AAA Lc 73.9 Content text, not long reading
#EEC238 text on white 1.69:1 Fails Lc 30.0 Dividers and decoration only
#EEC238 text on black 12.40:1 AAA Lc -72.9 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

    #FBF5E6

    oklch(97.1% 0.021 88.7)

  2. Step 100

    100

    #F5E9C9

    oklch(93.5% 0.044 89.9)

  3. Step 200

    200

    #EFD798

    oklch(88.4% 0.085 89.6)

  4. Step 300

    300 (this color)

    #EEC238

    oklch(83% 0.154 90.1)

  5. Step 400

    400

    #C39B00

    oklch(70.6% 0.144 90.2)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  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

#EEC238 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)#D8C01D0.038
Deuteranopia (no green cones)#E3CC400.028
Tritanopia (no blue cones)#FFB1A80.140
Achromatopsia (no color)#C7C7C70.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #EEC238

    #EEC238

    oklch(83% 0.154 90.1)

  • #B2C5FF

    #B2C5FF

    oklch(82.9% 0.084 270.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EEC238

    #EEC238

    oklch(83% 0.154 90.1)

  • #FFB577

    #FFB577

    oklch(83% 0.117 60.2)

  • #BBD659

    #BBD659

    oklch(83.1% 0.154 120.1)

Open the analogous palette in the generator

Split complementary

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

  • #EEC238

    #EEC238

    oklch(83% 0.154 90.1)

  • #8ED0FF

    #8ED0FF

    oklch(83% 0.094 240.3)

  • #D1B9FF

    #D1B9FF

    oklch(83% 0.1 300)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EEC238

    #EEC238

    oklch(83% 0.154 90.1)

  • #00E0FB

    #00E0FB

    oklch(83.1% 0.144 210.1)

  • #FFA1F7

    #FFA1F7

    oklch(83.1% 0.154 329.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EEC238

    #EEC238

    oklch(83% 0.154 90.1)

  • #00E7CB

    #00E7CB

    oklch(83.1% 0.151 179.8)

  • #B2C5FF

    #B2C5FF

    oklch(82.9% 0.084 270.4)

  • #FFACC4

    #FFACC4

    oklch(83.1% 0.101 0.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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