#2A7940

Closest named color: Jungle Green (#048243). oklch(51.3% 0.117 149.5), rgb(42, 121, 64).

Aa

White text reads best on this color (5.37:1).

About this color

#2A7940 is a medium-dark, moderately saturated green. In OKLCH its lightness is 51%, its chroma 0.117 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jungle Green (#048243), ΔE 0.028 away. White text reads best on it, at 5.37:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameJungle Green (#048243)
Black text3.90:1
White text5.37:1

Values

HEX#2A7940
RGBrgb(42, 121, 64)
HSLhsl(137, 48%, 32%)
OKLCHoklch(51.3% 0.117 149.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 #2A7940 5.37:1 AA Lc -81.8 Fine for body text
Black text on #2A7940 3.90:1 AA large text Lc 27.6 Dividers and decoration only
#2A7940 text on white 5.37:1 AA Lc 76.5 Fine for body text
#2A7940 text on black 3.90:1 AA large text Lc -25.3 Dividers and decoration only

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

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE4

    oklch(93.6% 0.016 148.4)

  3. Step 200

    200

    #CBDFCE

    oklch(88.4% 0.031 149.8)

  4. Step 300

    300

    #A8CBAD

    oklch(80.8% 0.056 149.1)

  5. Step 400

    400

    #77B182

    oklch(70.8% 0.091 149.5)

  6. Step 500

    500

    #519D62

    oklch(63.2% 0.116 149.3)

  7. Step 600

    600

    #318749

    oklch(55.6% 0.125 149.6)

  8. Step 700

    700 (this color)

    #2A7940

    oklch(51.3% 0.117 149.5)

  9. Step 800

    800

    #1F5D30

    oklch(42.6% 0.097 149.4)

  10. Step 900

    900

    #204D2B

    oklch(37.9% 0.076 149.5)

  11. Step 950

    950

    #142D19

    oklch(27% 0.048 148.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A7940 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)#7A6F3C0.096
Deuteranopia (no green cones)#7068440.095
Tritanopia (no blue cones)#10776B0.065
Achromatopsia (no color)#6A6A6A0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7940

    #2A7940

    oklch(51.3% 0.117 149.5)

  • #8B4C87

    #8B4C87

    oklch(51.3% 0.116 329.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7940

    #2A7940

    oklch(51.3% 0.117 149.5)

  • #5F700A

    #5F700A

    oklch(51.3% 0.118 119.8)

  • #007868

    #007868

    oklch(51.3% 0.094 179.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A7940

    #2A7940

    oklch(51.3% 0.117 149.5)

  • #7155A0

    #7155A0

    oklch(51.2% 0.118 299.4)

  • #9B4665

    #9B4665

    oklch(51.3% 0.118 359.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7940

    #2A7940

    oklch(51.3% 0.117 149.5)

  • #4C62AA

    #4C62AA

    oklch(51.4% 0.117 269.2)

  • #9F493D

    #9F493D

    oklch(51.3% 0.117 29.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7940

    #2A7940

    oklch(51.3% 0.117 149.5)

  • #006EA2

    #006EA2

    oklch(51.3% 0.116 239.5)

  • #8B4C87

    #8B4C87

    oklch(51.3% 0.116 329.4)

  • #975409

    #975409

    oklch(51.4% 0.117 59.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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