#2AB842

Closest named color: Shamrock (#01B44C). oklch(68.6% 0.197 145.3), rgb(42, 184, 66).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-light (69%)
Chromavivid (0.197)
Temperaturein between
Nearest nameShamrock (#01B44C)
Black text8.03:1
White text2.61:1

Values

HEX#2AB842
RGBrgb(42, 184, 66)
HSLhsl(130, 63%, 44%)
OKLCHoklch(68.6% 0.197 145.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 #2AB842 2.61:1 Fails Lc -55.6 Large or bold text, headings
Black text on #2AB842 8.03:1 AAA Lc 53.6 Large or bold text, headings
#2AB842 text on white 2.61:1 Fails Lc 50.5 Large or bold text, headings
#2AB842 text on black 8.03:1 AAA Lc -51.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

    #EFF9EF

    oklch(97.2% 0.017 145.4)

  2. Step 100

    100

    #DCF1DC

    oklch(93.7% 0.036 145.3)

  3. Step 200

    200

    #BDE6BE

    oklch(88.5% 0.069 145.6)

  4. Step 300

    300

    #8CD68F

    oklch(81% 0.123 145.3)

  5. Step 400

    400 (this color)

    #2AB842

    oklch(68.6% 0.197 145.3)

  6. Step 500

    500

    #00A62F

    oklch(63% 0.197 145.3)

  7. Step 600

    600

    #008C26

    oklch(55.6% 0.174 145.3)

  8. Step 700

    700

    #00761F

    oklch(49.2% 0.153 145.3)

  9. Step 800

    800

    #006118

    oklch(42.8% 0.133 145.4)

  10. Step 900

    900

    #005112

    oklch(37.8% 0.118 145.3)

  11. Step 950

    950

    #003007

    oklch(26.9% 0.084 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#2AB842 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)#BBA7340.148
Deuteranopia (no green cones)#AB9C4C0.147
Tritanopia (no blue cones)#00B39F0.121
Achromatopsia (no color)#A0A0A00.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #2AB842

    #2AB842

    oklch(68.6% 0.197 145.3)

  • #D567DB

    #D567DB

    oklch(68.6% 0.197 325.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2AB842

    #2AB842

    oklch(68.6% 0.197 145.3)

  • #97A400

    #97A400

    oklch(68.5% 0.156 115.3)

  • #00B396

    #00B396

    oklch(68.5% 0.129 175.5)

Open the analogous palette in the generator

Split complementary

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

  • #2AB842

    #2AB842

    oklch(68.6% 0.197 145.3)

  • #A57DFF

    #A57DFF

    oklch(68.6% 0.186 295.2)

  • #F25A9F

    #F25A9F

    oklch(68.5% 0.197 355.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2AB842

    #2AB842

    oklch(68.6% 0.197 145.3)

  • #6894FF

    #6894FF

    oklch(68.5% 0.165 265.4)

  • #FD5C57

    #FD5C57

    oklch(68.7% 0.197 25.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2AB842

    #2AB842

    oklch(68.6% 0.197 145.3)

  • #00A6E7

    #00A6E7

    oklch(68.5% 0.146 235.5)

  • #D567DB

    #D567DB

    oklch(68.6% 0.197 325.5)

  • #E77800

    #E77800

    oklch(68.6% 0.17 55.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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