#2A7945

Closest named color: Jungle Green (#048243). oklch(51.4% 0.112 151.5), rgb(42, 121, 69).

Aa

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

About this color

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

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

Values

HEX#2A7945
RGBrgb(42, 121, 69)
HSLhsl(141, 48%, 32%)
OKLCHoklch(51.4% 0.112 151.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 #2A7945 5.35:1 AA Lc -81.7 Fine for body text
Black text on #2A7945 3.91:1 AA large text Lc 27.7 Dividers and decoration only
#2A7945 text on white 5.35:1 AA Lc 76.4 Fine for body text
#2A7945 text on black 3.91:1 AA large text Lc -25.4 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

    #E3EDE5

    oklch(93.6% 0.015 151.8)

  3. Step 200

    200

    #CBDFCF

    oklch(88.4% 0.03 151.5)

  4. Step 300

    300

    #A8CBAF

    oklch(80.9% 0.054 151)

  5. Step 400

    400

    #77B085

    oklch(70.6% 0.087 151.4)

  6. Step 500

    500

    #519C67

    oklch(63% 0.11 151.6)

  7. Step 600

    600

    #30874E

    oklch(55.6% 0.121 151.6)

  8. Step 700

    700 (this color)

    #2A7945

    oklch(51.4% 0.112 151.5)

  9. Step 800

    800

    #1F5D34

    oklch(42.7% 0.093 151.5)

  10. Step 900

    900

    #204C2D

    oklch(37.6% 0.072 151.1)

  11. Step 950

    950

    #142D1B

    oklch(27.1% 0.046 151.4)

Export this scale for Tailwind in the Tailwind colors tool

#2A7945 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)#796F410.094
Deuteranopia (no green cones)#6F68480.093
Tritanopia (no blue cones)#0C776C0.060
Achromatopsia (no color)#6B6B6B0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7945

    #2A7945

    oklch(51.4% 0.112 151.5)

  • #8B4D84

    #8B4D84

    oklch(51.4% 0.112 331.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7945

    #2A7945

    oklch(51.4% 0.112 151.5)

  • #5D7119

    #5D7119

    oklch(51.5% 0.113 121.9)

  • #00786B

    #00786B

    oklch(51.4% 0.092 181.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A7945

    #2A7945

    oklch(51.4% 0.112 151.5)

  • #73569D

    #73569D

    oklch(51.4% 0.113 301.4)

  • #9A4963

    #9A4963

    oklch(51.5% 0.112 1.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7945

    #2A7945

    oklch(51.4% 0.112 151.5)

  • #5062A7

    #5062A7

    oklch(51.4% 0.111 271)

  • #9D4B3D

    #9D4B3D

    oklch(51.3% 0.112 31.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7945

    #2A7945

    oklch(51.4% 0.112 151.5)

  • #176EA1

    #176EA1

    oklch(51.5% 0.111 241.1)

  • #8B4D84

    #8B4D84

    oklch(51.4% 0.112 331.3)

  • #945610

    #945610

    oklch(51.4% 0.112 61.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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