#2FB42A

Closest named color: Shamrock (#01B44C). oklch(67.4% 0.207 142.5), rgb(47, 180, 42).

Aa

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

About this color

#2FB42A is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.207 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.027 away. Black text reads best on it, at 7.68:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.207)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text7.68:1
White text2.73:1

Values

HEX#2FB42A
RGBrgb(47, 180, 42)
HSLhsl(118, 62%, 44%)
OKLCHoklch(67.4% 0.207 142.5)

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 #2FB42A 2.73:1 Fails Lc -57.5 Large or bold text, headings
Black text on #2FB42A 7.68:1 AAA Lc 51.7 Large or bold text, headings
#2FB42A text on white 2.73:1 Fails Lc 52.3 Large or bold text, headings
#2FB42A text on black 7.68: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

    #EFF9EE

    oklch(97.2% 0.018 142.8)

  2. Step 100

    100

    #DCF1DA

    oklch(93.6% 0.038 142.8)

  3. Step 200

    200

    #BEE6BA

    oklch(88.5% 0.073 142.5)

  4. Step 300

    300

    #8ED688

    oklch(80.9% 0.129 142.5)

  5. Step 400

    400 (this color)

    #2FB42A

    oklch(67.4% 0.207 142.5)

  6. Step 500

    500

    #01A700

    oklch(63.1% 0.215 142.5)

  7. Step 600

    600

    #018C00

    oklch(55.5% 0.189 142.5)

  8. Step 700

    700

    #017600

    oklch(49% 0.167 142.4)

  9. Step 800

    800

    #006100

    oklch(42.7% 0.145 142.5)

  10. Step 900

    900

    #005100

    oklch(37.7% 0.128 142.5)

  11. Step 950

    950

    #003100

    oklch(27.1% 0.092 142.5)

Export this scale for Tailwind in the Tailwind colors tool

#2FB42A 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)#B8A3080.145
Deuteranopia (no green cones)#A9983A0.147
Tritanopia (no blue cones)#00AF9A0.133
Achromatopsia (no color)#9C9C9C0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #2FB42A

    #2FB42A

    oklch(67.4% 0.207 142.5)

  • #CF61DF

    #CF61DF

    oklch(67.3% 0.206 322.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2FB42A

    #2FB42A

    oklch(67.4% 0.207 142.5)

  • #999F00

    #999F00

    oklch(67.5% 0.15 112.5)

  • #00B08E

    #00B08E

    oklch(67.5% 0.13 172.4)

Open the analogous palette in the generator

Split complementary

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

  • #2FB42A

    #2FB42A

    oklch(67.4% 0.207 142.5)

  • #9C7AFF

    #9C7AFF

    oklch(67.3% 0.19 292.3)

  • #EF52A3

    #EF52A3

    oklch(67.4% 0.206 352.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2FB42A

    #2FB42A

    oklch(67.4% 0.207 142.5)

  • #5B92FF

    #5B92FF

    oklch(67.4% 0.172 262.5)

  • #FC5158

    #FC5158

    oklch(67.4% 0.207 22.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2FB42A

    #2FB42A

    oklch(67.4% 0.207 142.5)

  • #00A4DD

    #00A4DD

    oklch(67.5% 0.138 232.3)

  • #CF61DF

    #CF61DF

    oklch(67.3% 0.206 322.4)

  • #E67100

    #E67100

    oklch(67.4% 0.173 52.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2FB42A.

Similar named colors

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

Use #2FB42A 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.