#2D7102

Closest named color: Tree Green (#2A7E19). oklch(48.5% 0.148 137.8), rgb(45, 113, 2).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (49%)
Chromavivid (0.148)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.47:1
White text6.04:1

Values

HEX#2D7102
RGBrgb(45, 113, 2)
HSLhsl(97, 97%, 23%)
OKLCHoklch(48.5% 0.148 137.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 #2D7102 6.04:1 AA Lc -85.0 Fine for body text
Black text on #2D7102 3.47:1 AA large text Lc 24.3 Dividers and decoration only
#2D7102 text on white 6.04:1 AA Lc 79.8 Fine for body text
#2D7102 text on black 3.47:1 AA large text Lc -22.0 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE0

    oklch(93.5% 0.02 138.4)

  3. Step 200

    200

    #CDE0C6

    oklch(88.5% 0.041 137.2)

  4. Step 300

    300

    #AACC9F

    oklch(80.8% 0.072 138.1)

  5. Step 400

    400

    #7DB16A

    oklch(70.6% 0.113 137.7)

  6. Step 500

    500

    #5A9D3F

    oklch(63% 0.146 137.7)

  7. Step 600

    600

    #3D8718

    oklch(55.5% 0.159 137.8)

  8. Step 700

    700 (this color)

    #2D7102

    oklch(48.5% 0.148 137.8)

  9. Step 800

    800

    #285E0D

    oklch(42.9% 0.123 137.9)

  10. Step 900

    900

    #254D15

    oklch(37.7% 0.096 138.1)

  11. Step 950

    950

    #172D0E

    oklch(27% 0.06 137.5)

Export this scale for Tailwind in the Tailwind colors tool

#2D7102 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)#7566000.096
Deuteranopia (no green cones)#6D61150.094
Tritanopia (no blue cones)#276D5F0.103
Achromatopsia (no color)#6363630.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D7102

    #2D7102

    oklch(48.5% 0.148 137.8)

  • #803E94

    #803E94

    oklch(48.5% 0.147 317.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D7102

    #2D7102

    oklch(48.5% 0.148 137.8)

  • #656300

    #656300

    oklch(48.6% 0.105 108.4)

  • #007054

    #007054

    oklch(48.4% 0.098 168)

Open the analogous palette in the generator

Split complementary

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

  • #2D7102

    #2D7102

    oklch(48.5% 0.148 137.8)

  • #5D4CAD

    #5D4CAD

    oklch(48.5% 0.149 287.6)

  • #97336E

    #97336E

    oklch(48.5% 0.148 347.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D7102

    #2D7102

    oklch(48.5% 0.148 137.8)

  • #1F5CB1

    #1F5CB1

    oklch(48.5% 0.149 257.9)

  • #A2313E

    #A2313E

    oklch(48.6% 0.148 18.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D7102

    #2D7102

    oklch(48.5% 0.148 137.8)

  • #006989

    #006989

    oklch(48.6% 0.095 227.7)

  • #803E94

    #803E94

    oklch(48.5% 0.147 317.7)

  • #984200

    #984200

    oklch(48.5% 0.132 48.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2D7102.

Similar named colors

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

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