#4EB21C

Closest named color: Leafy Green (#51B73B). oklch(67.7% 0.199 138.2), rgb(78, 178, 28).

Aa

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

About this color

#4EB21C is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.199 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.199)
Temperaturein between
Nearest nameLeafy Green (#51B73B)
Black text7.70:1
White text2.72:1

Values

HEX#4EB21C
RGBrgb(78, 178, 28)
HSLhsl(100, 73%, 40%)
OKLCHoklch(67.7% 0.199 138.2)

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 #4EB21C 2.72:1 Fails Lc -57.5 Large or bold text, headings
Black text on #4EB21C 7.70:1 AAA Lc 51.7 Large or bold text, headings
#4EB21C text on white 2.72:1 Fails Lc 52.3 Large or bold text, headings
#4EB21C 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)

    #4EB21C

    oklch(67.7% 0.199 138.2)

  6. Step 500

    500

    #41A300

    oklch(63.2% 0.196 138.1)

  7. Step 600

    600

    #358900

    oklch(55.6% 0.173 138.2)

  8. Step 700

    700

    #2C7300

    oklch(49.1% 0.152 138.1)

  9. Step 800

    800

    #225F00

    oklch(42.8% 0.133 138.3)

  10. Step 900

    900

    #1B4F00

    oklch(37.7% 0.117 138.3)

  11. Step 950

    950

    #0D2F00

    oklch(26.9% 0.084 138.2)

Export this scale for Tailwind in the Tailwind colors tool

#4EB21C 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)#AB9A300.128
Tritanopia (no blue cones)#45AC970.137
Achromatopsia (no color)#9D9D9D0.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #4EB21C

    #4EB21C

    oklch(67.7% 0.199 138.2)

  • #C967E5

    #C967E5

    oklch(67.7% 0.2 318.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4EB21C

    #4EB21C

    oklch(67.7% 0.199 138.2)

  • #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°).

  • #4EB21C

    #4EB21C

    oklch(67.7% 0.199 138.2)

  • #9580FF

    #9580FF

    oklch(67.8% 0.181 288.2)

  • #EA58AC

    #EA58AC

    oklch(67.6% 0.199 348.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4EB21C

    #4EB21C

    oklch(67.7% 0.199 138.2)

  • #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.

  • #4EB21C

    #4EB21C

    oklch(67.7% 0.199 138.2)

  • #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 #4EB21C, closest first.

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

Similar named colors

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

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