#2A7A52

Closest named color: Jungle Green (#048243). oklch(52% 0.101 157.9), rgb(42, 122, 82).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameJungle Green (#048243)
Black text4.00:1
White text5.24:1

Values

HEX#2A7A52
RGBrgb(42, 122, 82)
HSLhsl(150, 49%, 32%)
OKLCHoklch(52% 0.101 157.9)

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 #2A7A52 5.24:1 AA Lc -81.1 Fine for body text
Black text on #2A7A52 4.00:1 AA large text Lc 28.3 Dividers and decoration only
#2A7A52 text on white 5.24:1 AA Lc 75.8 Fine for body text
#2A7A52 text on black 4.00:1 AA large text Lc -26.0 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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CBDFD2

    oklch(88.5% 0.028 157.3)

  4. Step 300

    300

    #A7CBB5

    oklch(81% 0.049 158.3)

  5. Step 400

    400

    #76B08E

    oklch(70.8% 0.079 157.9)

  6. Step 500

    500

    #4F9C72

    oklch(63.2% 0.1 157.9)

  7. Step 600

    600

    #2E865A

    oklch(55.6% 0.109 157.8)

  8. Step 700

    700 (this color)

    #2A7A52

    oklch(52% 0.101 157.9)

  9. Step 800

    800

    #1D5C3D

    oklch(42.6% 0.083 158.2)

  10. Step 900

    900

    #1F4C34

    oklch(37.7% 0.065 157.8)

  11. Step 950

    950

    #132D1F

    oklch(27.2% 0.042 158.4)

Export this scale for Tailwind in the Tailwind colors tool

#2A7A52 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)#7971500.093
Deuteranopia (no green cones)#6E69550.091
Tritanopia (no blue cones)#00796F0.046
Achromatopsia (no color)#6C6C6C0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7A52

    #2A7A52

    oklch(52% 0.101 157.9)

  • #8E517D

    #8E517D

    oklch(52.1% 0.1 338.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7A52

    #2A7A52

    oklch(52% 0.101 157.9)

  • #58742F

    #58742F

    oklch(52.1% 0.102 128)

  • #007972

    #007972

    oklch(51.9% 0.09 187.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A7A52

    #2A7A52

    oklch(52% 0.101 157.9)

  • #795895

    #795895

    oklch(52% 0.1 308.1)

  • #994E5E

    #994E5E

    oklch(52% 0.101 7.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7A52

    #2A7A52

    oklch(52% 0.101 157.9)

  • #5C62A2

    #5C62A2

    oklch(52% 0.101 278.2)

  • #99523C

    #99523C

    oklch(51.9% 0.101 38)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7A52

    #2A7A52

    oklch(52% 0.101 157.9)

  • #346DA0

    #346DA0

    oklch(52% 0.101 248)

  • #8E517D

    #8E517D

    oklch(52.1% 0.1 338.2)

  • #8E5C1D

    #8E5C1D

    oklch(51.8% 0.1 67.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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