#2E7F25

Closest named color: Tree Green (#2A7E19). oklch(52.8% 0.148 141.7), rgb(46, 127, 37).

Aa

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

About this color

#2E7F25 is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.148 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.010 away. White text reads best on it, at 5.02:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.148)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.17:1
White text5.02:1

Values

HEX#2E7F25
RGBrgb(46, 127, 37)
HSLhsl(114, 55%, 32%)
OKLCHoklch(52.8% 0.148 141.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 #2E7F25 5.02:1 AA Lc -79.8 Fine for body text
Black text on #2E7F25 4.17:1 AA large text Lc 29.7 Dividers and decoration only
#2E7F25 text on white 5.02:1 AA Lc 74.4 Content text, not long reading
#2E7F25 text on black 4.17:1 AA large text Lc -27.3 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CCE0C9

    oklch(88.5% 0.038 141.6)

  4. Step 300

    300

    #A9CCA4

    oklch(80.9% 0.067 141.6)

  5. Step 400

    400

    #7AB173

    oklch(70.6% 0.105 141.7)

  6. Step 500

    500

    #559D4D

    oklch(63% 0.135 141.8)

  7. Step 600

    600 (this color)

    #2E7F25

    oklch(52.8% 0.148 141.7)

  8. Step 700

    700

    #297321

    oklch(49.1% 0.137 141.7)

  9. Step 800

    800

    #245E1D

    oklch(42.8% 0.114 141.6)

  10. Step 900

    900

    #234D1E

    oklch(37.8% 0.089 141.6)

  11. Step 950

    950

    #152D12

    oklch(26.9% 0.056 141.6)

Export this scale for Tailwind in the Tailwind colors tool

#2E7F25 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)#8273180.103
Deuteranopia (no green cones)#786C2D0.104
Tritanopia (no blue cones)#207B6D0.097
Achromatopsia (no color)#6F6F6F0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E7F25

    #2E7F25

    oklch(52.8% 0.148 141.7)

  • #91499D

    #91499D

    oklch(52.8% 0.147 321.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E7F25

    #2E7F25

    oklch(52.8% 0.148 141.7)

  • #6E7100

    #6E7100

    oklch(52.8% 0.117 111.6)

  • #007E64

    #007E64

    oklch(52.8% 0.103 171.7)

Open the analogous palette in the generator

Split complementary

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

  • #2E7F25

    #2E7F25

    oklch(52.8% 0.148 141.7)

  • #6E57B8

    #6E57B8

    oklch(52.8% 0.147 291.5)

  • #A73F74

    #A73F74

    oklch(52.6% 0.148 351.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E7F25

    #2E7F25

    oklch(52.8% 0.148 141.7)

  • #3867BF

    #3867BF

    oklch(52.7% 0.147 261.6)

  • #B03F43

    #B03F43

    oklch(52.7% 0.147 21.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E7F25

    #2E7F25

    oklch(52.8% 0.148 141.7)

  • #00759E

    #00759E

    oklch(52.8% 0.107 231.7)

  • #91499D

    #91499D

    oklch(52.8% 0.147 321.7)

  • #A64F00

    #A64F00

    oklch(52.7% 0.136 51.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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