#2A7242

Closest named color: Dark Olive Green (#556B2F). oklch(49.4% 0.105 151.5), rgb(42, 114, 66).

Aa

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

About this color

#2A7242 is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.105 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.045 away. White text reads best on it, at 5.85:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.58:1
White text5.85:1

Values

HEX#2A7242
RGBrgb(42, 114, 66)
HSLhsl(140, 46%, 31%)
OKLCHoklch(49.4% 0.105 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 #2A7242 5.85:1 AA Lc -84.3 Fine for body text
Black text on #2A7242 3.58:1 AA large text Lc 25.0 Dividers and decoration only
#2A7242 text on white 5.85:1 AA Lc 79.0 Fine for body text
#2A7242 text on black 3.58:1 AA large text Lc -22.8 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

    #CCDFD0

    oklch(88.5% 0.029 151.9)

  4. Step 300

    300

    #A9CBB0

    oklch(81% 0.052 151.2)

  5. Step 400

    400

    #7AAF87

    oklch(70.6% 0.081 151.6)

  6. Step 500

    500

    #569B69

    oklch(63% 0.103 151.4)

  7. Step 600

    600

    #388651

    oklch(55.7% 0.113 151.5)

  8. Step 700

    700 (this color)

    #2A7242

    oklch(49.4% 0.105 151.5)

  9. Step 800

    800

    #245C36

    oklch(42.6% 0.086 151.5)

  10. Step 900

    900

    #234C2F

    oklch(37.8% 0.068 151.4)

  11. Step 950

    950

    #152C1C

    oklch(26.9% 0.042 152.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A7242 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)#72693F0.088
Deuteranopia (no green cones)#6962450.088
Tritanopia (no blue cones)#1370660.056
Achromatopsia (no color)#6565650.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7242

    #2A7242

    oklch(49.4% 0.105 151.5)

  • #83497C

    #83497C

    oklch(49.3% 0.105 331.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7242

    #2A7242

    oklch(49.4% 0.105 151.5)

  • #586A1B

    #586A1B

    oklch(49.3% 0.105 121.6)

  • #007265

    #007265

    oklch(49.5% 0.089 181.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A7242

    #2A7242

    oklch(49.4% 0.105 151.5)

  • #6C5293

    #6C5293

    oklch(49.4% 0.104 301.1)

  • #91455D

    #91455D

    oklch(49.4% 0.106 1.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7242

    #2A7242

    oklch(49.4% 0.105 151.5)

  • #4C5C9D

    #4C5C9D

    oklch(49.3% 0.106 271.6)

  • #94483B

    #94483B

    oklch(49.4% 0.105 31.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7242

    #2A7242

    oklch(49.4% 0.105 151.5)

  • #1A6797

    #1A6797

    oklch(49.3% 0.105 241.8)

  • #83497C

    #83497C

    oklch(49.3% 0.105 331.6)

  • #8B5214

    #8B5214

    oklch(49.4% 0.105 62)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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