#2C7F40

Closest named color: Jungle Green (#048243). oklch(53% 0.125 148.3), rgb(44, 127, 64).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameJungle Green (#048243)
Black text4.21:1
White text4.97:1

Values

HEX#2C7F40
RGBrgb(44, 127, 64)
HSLhsl(134, 49%, 34%)
OKLCHoklch(53% 0.125 148.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 #2C7F40 4.97:1 AA Lc -79.5 Fine for body text
Black text on #2C7F40 4.21:1 AA large text Lc 29.9 Dividers and decoration only
#2C7F40 text on white 4.97:1 AA Lc 74.1 Content text, not long reading
#2C7F40 text on black 4.21:1 AA large text Lc -27.6 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 600.

  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

    #CCDFCE

    oklch(88.5% 0.031 148.4)

  4. Step 300

    300

    #A9CBAD

    oklch(80.9% 0.055 148.3)

  5. Step 400

    400

    #79B081

    oklch(70.6% 0.089 148.3)

  6. Step 500

    500

    #549C61

    oklch(63% 0.114 148.3)

  7. Step 600

    600 (this color)

    #2C7F40

    oklch(53% 0.125 148.3)

  8. Step 700

    700

    #267239

    oklch(49.1% 0.116 148.5)

  9. Step 800

    800

    #225D2F

    oklch(42.7% 0.096 148.2)

  10. Step 900

    900

    #224C2A

    oklch(37.6% 0.074 148.2)

  11. Step 950

    950

    #152D19

    oklch(27.1% 0.048 148)

Export this scale for Tailwind in the Tailwind colors tool

#2C7F40 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)#80743B0.100
Deuteranopia (no green cones)#766D440.099
Tritanopia (no blue cones)#127C700.072
Achromatopsia (no color)#7070700.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C7F40

    #2C7F40

    oklch(53% 0.125 148.3)

  • #924F90

    #924F90

    oklch(53.1% 0.125 328.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C7F40

    #2C7F40

    oklch(53% 0.125 148.3)

  • #667500

    #667500

    oklch(53.1% 0.124 118.2)

  • #007E6C

    #007E6C

    oklch(53.1% 0.098 178.1)

Open the analogous palette in the generator

Split complementary

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

  • #2C7F40

    #2C7F40

    oklch(53% 0.125 148.3)

  • #7659AA

    #7659AA

    oklch(53% 0.126 298.5)

  • #A3496B

    #A3496B

    oklch(53.1% 0.124 358.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C7F40

    #2C7F40

    oklch(53% 0.125 148.3)

  • #4D67B4

    #4D67B4

    oklch(53.1% 0.125 267.9)

  • #A84B41

    #A84B41

    oklch(53% 0.125 28.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C7F40

    #2C7F40

    oklch(53% 0.125 148.3)

  • #0074A8

    #0074A8

    oklch(53.1% 0.118 238.3)

  • #924F90

    #924F90

    oklch(53.1% 0.125 328.2)

  • #A05604

    #A05604

    oklch(53.1% 0.125 58.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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