#9EC231

Closest named color: Pea (#A4BF20). oklch(76.2% 0.169 122.9), rgb(158, 194, 49).

Aa

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

About this color

#9EC231 is a medium-light, vivid yellow. In OKLCH its lightness is 76%, its chroma 0.169 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.010 away. Black text reads best on it, at 10.21:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromavivid (0.169)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.21:1
White text2.05:1

Values

HEX#9EC231
RGBrgb(158, 194, 49)
HSLhsl(75, 60%, 48%)
OKLCHoklch(76.2% 0.169 122.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 #9EC231 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #9EC231 10.21:1 AAA Lc 64.0 Content text, not long reading
#9EC231 text on white 2.05:1 Fails Lc 39.9 Non-text elements, placeholder text
#9EC231 text on black 10.21:1 AAA Lc -62.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

    #F2F8E8

    oklch(97% 0.022 123.6)

  2. Step 100

    100

    #E3F0CC

    oklch(93.6% 0.049 123.5)

  3. Step 200

    200

    #CDE49E

    oklch(88.5% 0.095 123.1)

  4. Step 300

    300 (this color)

    #9EC231

    oklch(76.2% 0.169 122.9)

  5. Step 400

    400

    #8DB100

    oklch(70.8% 0.174 123)

  6. Step 500

    500

    #789700

    oklch(63% 0.154 123)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #455700

    oklch(42.6% 0.104 122.4)

  10. Step 900

    900

    #394900

    oklch(37.8% 0.092 122.7)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#9EC231 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)#CDB6100.067
Deuteranopia (no green cones)#C9B53E0.070
Tritanopia (no blue cones)#A6B8A70.142
Achromatopsia (no color)#B5B5B50.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #9EC231

    #9EC231

    oklch(76.2% 0.169 122.9)

  • #C599FF

    #C599FF

    oklch(76.3% 0.148 302.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9EC231

    #9EC231

    oklch(76.2% 0.169 122.9)

  • #D4AE00

    #D4AE00

    oklch(76.2% 0.156 93)

  • #44D07C

    #44D07C

    oklch(76.3% 0.17 152.9)

Open the analogous palette in the generator

Split complementary

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

  • #9EC231

    #9EC231

    oklch(76.2% 0.169 122.9)

  • #98ACFF

    #98ACFF

    oklch(76.2% 0.122 272.9)

  • #EF85DF

    #EF85DF

    oklch(76.1% 0.169 332.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9EC231

    #9EC231

    oklch(76.2% 0.169 122.9)

  • #5DBAFF

    #5DBAFF

    oklch(76.1% 0.133 243.3)

  • #FF85A8

    #FF85A8

    oklch(76.2% 0.152 3.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9EC231

    #9EC231

    oklch(76.2% 0.169 122.9)

  • #00C7E4

    #00C7E4

    oklch(76.2% 0.133 213)

  • #C599FF

    #C599FF

    oklch(76.3% 0.148 302.9)

  • #FF8D75

    #FF8D75

    oklch(76.2% 0.143 33)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9EC231 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.