#2D7F42

Closest named color: Jungle Green (#048243). oklch(53.1% 0.123 148.8), rgb(45, 127, 66).

Aa

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

About this color

#2D7F42 is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.123 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.017 away. White text reads best on it, at 4.96:1.

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

Values

HEX#2D7F42
RGBrgb(45, 127, 66)
HSLhsl(135, 48%, 34%)
OKLCHoklch(53.1% 0.123 148.8)

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 #2D7F42 4.96:1 AA Lc -79.5 Fine for body text
Black text on #2D7F42 4.22:1 AA large text Lc 30.0 Non-text elements, placeholder text
#2D7F42 text on white 4.96:1 AA Lc 74.1 Content text, not long reading
#2D7F42 text on black 4.22: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

    #79B082

    oklch(70.6% 0.088 148.8)

  6. Step 500

    500

    #549C63

    oklch(63.1% 0.112 149.1)

  7. Step 600

    600 (this color)

    #2D7F42

    oklch(53.1% 0.123 148.8)

  8. Step 700

    700

    #27723A

    oklch(49.1% 0.114 148.7)

  9. Step 800

    800

    #225D30

    oklch(42.7% 0.095 148.6)

  10. Step 900

    900

    #224C2B

    oklch(37.7% 0.073 148.8)

  11. Step 950

    950

    #152D19

    oklch(27.1% 0.048 148)

Export this scale for Tailwind in the Tailwind colors tool

#2D7F42 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)#80743D0.100
Deuteranopia (no green cones)#766D460.099
Tritanopia (no blue cones)#147D700.068
Achromatopsia (no color)#7070700.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D7F42

    #2D7F42

    oklch(53.1% 0.123 148.8)

  • #924F8F

    #924F8F

    oklch(53.1% 0.124 328.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D7F42

    #2D7F42

    oklch(53.1% 0.123 148.8)

  • #657506

    #657506

    oklch(53.1% 0.122 118.9)

  • #007E6D

    #007E6D

    oklch(53.1% 0.097 178.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D7F42

    #2D7F42

    oklch(53.1% 0.123 148.8)

  • #765AA9

    #765AA9

    oklch(53.1% 0.123 298.5)

  • #A34A6B

    #A34A6B

    oklch(53.2% 0.123 358.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D7F42

    #2D7F42

    oklch(53.1% 0.123 148.8)

  • #4F67B3

    #4F67B3

    oklch(53.2% 0.123 268.8)

  • #A74C41

    #A74C41

    oklch(53% 0.122 28.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D7F42

    #2D7F42

    oklch(53.1% 0.123 148.8)

  • #0074A9

    #0074A9

    oklch(53.2% 0.119 238.8)

  • #924F8F

    #924F8F

    oklch(53.1% 0.124 328.8)

  • #9F5709

    #9F5709

    oklch(53.1% 0.123 58.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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