#4EB21B

Closest named color: Leafy Green (#51B73B). oklch(67.7% 0.2 138.1), rgb(78, 178, 27).

Aa

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

About this color

#4EB21B is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.200 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Leafy Green (#51B73B), ΔE 0.022 away. Black text reads best on it, at 7.70:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromavivid (0.200)
Temperaturein between
Nearest nameLeafy Green (#51B73B)
Black text7.70:1
White text2.72:1

Values

HEX#4EB21B
RGBrgb(78, 178, 27)
HSLhsl(100, 74%, 40%)
OKLCHoklch(67.7% 0.2 138.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 #4EB21B 2.72:1 Fails Lc -57.6 Large or bold text, headings
Black text on #4EB21B 7.70:1 AAA Lc 51.7 Large or bold text, headings
#4EB21B text on white 2.72:1 Fails Lc 52.3 Large or bold text, headings
#4EB21B text on black 7.70:1 AAA Lc -49.5 Large or bold text, headings

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

  1. Step 50

    50

    #F0F8EE

    oklch(97% 0.016 139.4)

  2. Step 100

    100

    #DEF0D9

    oklch(93.6% 0.036 138.9)

  3. Step 200

    200

    #C3E5B8

    oklch(88.6% 0.07 138.1)

  4. Step 300

    300

    #98D484

    oklch(81% 0.125 138.1)

  5. Step 400

    400 (this color)

    #4EB21B

    oklch(67.7% 0.2 138.1)

  6. Step 500

    500

    #41A300

    oklch(63.2% 0.196 138.1)

  7. Step 600

    600

    #368900

    oklch(55.6% 0.172 138)

  8. Step 700

    700

    #2C7300

    oklch(49.1% 0.152 138.1)

  9. Step 800

    800

    #235E00

    oklch(42.6% 0.131 138)

  10. Step 900

    900

    #1C4F00

    oklch(37.8% 0.117 138)

  11. Step 950

    950

    #0D2F00

    oklch(26.9% 0.084 138.2)

Export this scale for Tailwind in the Tailwind colors tool

#4EB21B 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)#B8A2000.129
Deuteranopia (no green cones)#AB9A2F0.128
Tritanopia (no blue cones)#45AC970.138
Achromatopsia (no color)#9D9D9D0.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #4EB21B

    #4EB21B

    oklch(67.7% 0.2 138.1)

  • #C967E5

    #C967E5

    oklch(67.7% 0.2 318.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4EB21B

    #4EB21B

    oklch(67.7% 0.2 138.1)

  • #A19D00

    #A19D00

    oklch(67.7% 0.146 107.9)

  • #00B287

    #00B287

    oklch(67.8% 0.138 167.9)

Open the analogous palette in the generator

Split complementary

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

  • #4EB21B

    #4EB21B

    oklch(67.7% 0.2 138.1)

  • #9580FF

    #9580FF

    oklch(67.8% 0.181 288.2)

  • #EB58AD

    #EB58AD

    oklch(67.8% 0.2 348)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4EB21B

    #4EB21B

    oklch(67.7% 0.2 138.1)

  • #4E96FF

    #4E96FF

    oklch(67.7% 0.172 258)

  • #FA5567

    #FA5567

    oklch(67.7% 0.2 18.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4EB21B

    #4EB21B

    oklch(67.7% 0.2 138.1)

  • #00A6D7

    #00A6D7

    oklch(67.7% 0.132 228.1)

  • #C967E5

    #C967E5

    oklch(67.7% 0.2 318.3)

  • #EE6B00

    #EE6B00

    oklch(67.7% 0.185 47.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #4EB21B.

Similar named colors

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

Use #4EB21B 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.