#2AB42F

Closest named color: Shamrock (#01B44C). oklch(67.3% 0.205 143.3), rgb(42, 180, 47).

Aa

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

About this color

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

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

Values

HEX#2AB42F
RGBrgb(42, 180, 47)
HSLhsl(122, 62%, 44%)
OKLCHoklch(67.3% 0.205 143.3)

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 #2AB42F 2.73:1 Fails Lc -57.6 Large or bold text, headings
Black text on #2AB42F 7.66:1 AAA Lc 51.6 Large or bold text, headings
#2AB42F text on white 2.73:1 Fails Lc 52.4 Large or bold text, headings
#2AB42F text on black 7.66: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

    #BEE6BB

    oklch(88.5% 0.072 143.1)

  4. Step 300

    300

    #8DD689

    oklch(80.9% 0.129 143.1)

  5. Step 400

    400 (this color)

    #2AB42F

    oklch(67.3% 0.205 143.3)

  6. Step 500

    500

    #00A716

    oklch(63.2% 0.21 143.3)

  7. Step 600

    600

    #008C11

    oklch(55.5% 0.184 143.3)

  8. Step 700

    700

    #00760C

    oklch(49.1% 0.163 143.2)

  9. Step 800

    800

    #006108

    oklch(42.7% 0.142 143.2)

  10. Step 900

    900

    #005106

    oklch(37.7% 0.125 143.3)

  11. Step 950

    950

    #003102

    oklch(27.2% 0.09 143.2)

Export this scale for Tailwind in the Tailwind colors tool

#2AB42F 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)#B8A3160.147
Deuteranopia (no green cones)#A9983D0.148
Tritanopia (no blue cones)#00AF9A0.130
Achromatopsia (no color)#9C9C9C0.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #2AB42F

    #2AB42F

    oklch(67.3% 0.205 143.3)

  • #D061DD

    #D061DD

    oklch(67.3% 0.205 323.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2AB42F

    #2AB42F

    oklch(67.3% 0.205 143.3)

  • #979F00

    #979F00

    oklch(67.3% 0.15 113.3)

  • #00AF8F

    #00AF8F

    oklch(67.2% 0.129 173.4)

Open the analogous palette in the generator

Split complementary

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

  • #2AB42F

    #2AB42F

    oklch(67.3% 0.205 143.3)

  • #9E79FF

    #9E79FF

    oklch(67.4% 0.191 293.3)

  • #EF52A1

    #EF52A1

    oklch(67.3% 0.206 353)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2AB42F

    #2AB42F

    oklch(67.3% 0.205 143.3)

  • #5D91FF

    #5D91FF

    oklch(67.3% 0.172 263.4)

  • #FB5256

    #FB5256

    oklch(67.3% 0.205 23.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2AB42F

    #2AB42F

    oklch(67.3% 0.205 143.3)

  • #00A3DE

    #00A3DE

    oklch(67.4% 0.14 233.4)

  • #D061DD

    #D061DD

    oklch(67.3% 0.205 323.3)

  • #E47200

    #E47200

    oklch(67.3% 0.171 53.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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