#9EC838

Closest named color: Yellow Green (#9ACD32). oklch(77.6% 0.172 124.7), rgb(158, 200, 56).

Aa

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

About this color

#9EC838 is a medium-light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.172 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Yellow Green (#9ACD32), ΔE 0.016 away. Black text reads best on it, at 10.77:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromavivid (0.172)
Temperaturein between
Nearest nameYellow Green (#9ACD32)
Black text10.77:1
White text1.94:1

Values

HEX#9EC838
RGBrgb(158, 200, 56)
HSLhsl(78, 57%, 50%)
OKLCHoklch(77.6% 0.172 124.7)

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 #9EC838 1.94:1 Fails Lc -41.7 Non-text elements, placeholder text
Black text on #9EC838 10.77:1 AAA Lc 66.6 Content text, not long reading
#9EC838 text on white 1.94:1 Fails Lc 37.3 Non-text elements, placeholder text
#9EC838 text on black 10.77:1 AAA Lc -65.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

    #F2F8E8

    oklch(97% 0.022 123.6)

  2. Step 100

    100

    #E2F0CC

    oklch(93.5% 0.05 124.7)

  3. Step 200

    200

    #CBE59E

    oklch(88.6% 0.097 124.7)

  4. Step 300

    300 (this color)

    #9EC838

    oklch(77.6% 0.172 124.7)

  5. Step 400

    400

    #88B200

    oklch(70.7% 0.177 124.8)

  6. Step 500

    500

    #759900

    oklch(63.3% 0.158 124.6)

  7. Step 600

    600

    #618000

    oklch(55.5% 0.139 124.8)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#9EC838 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)#D3BB1D0.074
Deuteranopia (no green cones)#CDB9450.077
Tritanopia (no blue cones)#A5BEAC0.141
Achromatopsia (no color)#BABABA0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #9EC838

    #9EC838

    oklch(77.6% 0.172 124.7)

  • #CB9EFF

    #CB9EFF

    oklch(77.7% 0.142 304.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9EC838

    #9EC838

    oklch(77.6% 0.172 124.7)

  • #D7B300

    #D7B300

    oklch(77.6% 0.159 94.3)

  • #3ED583

    #3ED583

    oklch(77.5% 0.172 154.7)

Open the analogous palette in the generator

Split complementary

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

  • #9EC838

    #9EC838

    oklch(77.6% 0.172 124.7)

  • #A0B0FF

    #A0B0FF

    oklch(77.5% 0.115 274.7)

  • #F788E2

    #F788E2

    oklch(77.6% 0.172 334.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9EC838

    #9EC838

    oklch(77.6% 0.172 124.7)

  • #6DBEFF

    #6DBEFF

    oklch(77.6% 0.123 244.6)

  • #FF8EAB

    #FF8EAB

    oklch(77.6% 0.139 4.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9EC838

    #9EC838

    oklch(77.6% 0.172 124.7)

  • #00CBEC

    #00CBEC

    oklch(77.5% 0.137 215)

  • #CB9EFF

    #CB9EFF

    oklch(77.7% 0.142 304.7)

  • #FF957B

    #FF957B

    oklch(77.6% 0.134 34.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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