#2A7545

Closest named color: Jungle Green (#048243). oklch(50.3% 0.106 152.3), rgb(42, 117, 69).

Aa

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

About this color

#2A7545 is a medium-dark, moderately saturated green. In OKLCH its lightness is 50%, its chroma 0.106 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.042 away. White text reads best on it, at 5.63:1.

Hue familyGreens
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameJungle Green (#048243)
Black text3.72:1
White text5.63:1

Values

HEX#2A7545
RGBrgb(42, 117, 69)
HSLhsl(142, 47%, 31%)
OKLCHoklch(50.3% 0.106 152.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 #2A7545 5.63:1 AA Lc -83.2 Fine for body text
Black text on #2A7545 3.72:1 AA large text Lc 26.2 Dividers and decoration only
#2A7545 text on white 5.63:1 AA Lc 77.9 Fine for body text
#2A7545 text on black 3.72:1 AA large text Lc -23.9 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

    #A9CBB1

    oklch(81% 0.051 152.2)

  5. Step 400

    400

    #79B088

    oklch(70.8% 0.082 152.4)

  6. Step 500

    500

    #549C6A

    oklch(63.2% 0.105 152.2)

  7. Step 600

    600

    #358651

    oklch(55.6% 0.114 152.2)

  8. Step 700

    700 (this color)

    #2A7545

    oklch(50.3% 0.106 152.3)

  9. Step 800

    800

    #225C36

    oklch(42.6% 0.087 152.1)

  10. Step 900

    900

    #224C2F

    oklch(37.7% 0.069 151.9)

  11. Step 950

    950

    #152D1C

    oklch(27.2% 0.044 151.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A7545 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)#756B420.092
Deuteranopia (no green cones)#6B65480.088
Tritanopia (no blue cones)#0F73690.056
Achromatopsia (no color)#6767670.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7545

    #2A7545

    oklch(50.3% 0.106 152.3)

  • #874B7F

    #874B7F

    oklch(50.3% 0.107 332.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7545

    #2A7545

    oklch(50.3% 0.106 152.3)

  • #5A6D1E

    #5A6D1E

    oklch(50.3% 0.106 122)

  • #007468

    #007468

    oklch(50.2% 0.09 182.5)

Open the analogous palette in the generator

Split complementary

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

  • #2A7545

    #2A7545

    oklch(50.3% 0.106 152.3)

  • #705496

    #705496

    oklch(50.3% 0.106 302.3)

  • #94475F

    #94475F

    oklch(50.2% 0.107 1.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7545

    #2A7545

    oklch(50.3% 0.106 152.3)

  • #505FA0

    #505FA0

    oklch(50.4% 0.105 272.3)

  • #974A3C

    #974A3C

    oklch(50.2% 0.106 31.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7545

    #2A7545

    oklch(50.3% 0.106 152.3)

  • #1E6A9B

    #1E6A9B

    oklch(50.3% 0.106 242.2)

  • #874B7F

    #874B7F

    oklch(50.3% 0.107 332.1)

  • #8E5414

    #8E5414

    oklch(50.2% 0.106 62.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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