#2C7C40

Closest named color: Jungle Green (#048243). oklch(52.2% 0.121 148.7), rgb(44, 124, 64).

Aa

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

About this color

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

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

Values

HEX#2C7C40
RGBrgb(44, 124, 64)
HSLhsl(135, 48%, 33%)
OKLCHoklch(52.2% 0.121 148.7)

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 #2C7C40 5.16:1 AA Lc -80.7 Fine for body text
Black text on #2C7C40 4.06:1 AA large text Lc 28.8 Dividers and decoration only
#2C7C40 text on white 5.16:1 AA Lc 75.3 Fine for body text
#2C7C40 text on black 4.06:1 AA large text Lc -26.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

    #E3EDE4

    oklch(93.6% 0.016 148.4)

  3. Step 200

    200

    #CBDFCE

    oklch(88.4% 0.031 149.8)

  4. Step 300

    300

    #A7CCAC

    oklch(81% 0.06 148.8)

  5. Step 400

    400

    #77B180

    oklch(70.7% 0.093 148.5)

  6. Step 500

    500

    #509D60

    oklch(63.1% 0.119 148.8)

  7. Step 600

    600

    #308746

    oklch(55.5% 0.129 148.7)

  8. Step 700

    700 (this color)

    #2C7C40

    oklch(52.2% 0.121 148.7)

  9. Step 800

    800

    #1E5D2E

    oklch(42.6% 0.099 148.7)

  10. Step 900

    900

    #1F4D29

    oklch(37.8% 0.079 148.6)

  11. Step 950

    950

    #132D19

    oklch(27% 0.049 149.6)

Export this scale for Tailwind in the Tailwind colors tool

#2C7C40 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)#7D713B0.098
Deuteranopia (no green cones)#736A440.097
Tritanopia (no blue cones)#147A6E0.068
Achromatopsia (no color)#6D6D6D0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C7C40

    #2C7C40

    oklch(52.2% 0.121 148.7)

  • #8E4D8C

    #8E4D8C

    oklch(52.1% 0.122 328.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C7C40

    #2C7C40

    oklch(52.2% 0.121 148.7)

  • #637204

    #637204

    oklch(52.1% 0.12 118.5)

  • #007B6A

    #007B6A

    oklch(52.2% 0.096 178.6)

Open the analogous palette in the generator

Split complementary

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

  • #2C7C40

    #2C7C40

    oklch(52.2% 0.121 148.7)

  • #7358A5

    #7358A5

    oklch(52.2% 0.12 298.3)

  • #9F4868

    #9F4868

    oklch(52.2% 0.12 359)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C7C40

    #2C7C40

    oklch(52.2% 0.121 148.7)

  • #4D64AF

    #4D64AF

    oklch(52.2% 0.121 269.1)

  • #A44A40

    #A44A40

    oklch(52.3% 0.121 28.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C7C40

    #2C7C40

    oklch(52.2% 0.121 148.7)

  • #0071A5

    #0071A5

    oklch(52.2% 0.117 238.9)

  • #8E4D8C

    #8E4D8C

    oklch(52.1% 0.122 328.3)

  • #9B5509

    #9B5509

    oklch(52.2% 0.12 58.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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