#2D7204

Closest named color: Tree Green (#2A7E19). oklch(48.8% 0.149 138), rgb(45, 114, 4).

Aa

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

About this color

#2D7204 is a medium-dark, vivid green. In OKLCH its lightness is 49%, its chroma 0.149 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.036 away. White text reads best on it, at 5.96:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromavivid (0.149)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.52:1
White text5.96:1

Values

HEX#2D7204
RGBrgb(45, 114, 4)
HSLhsl(98, 93%, 23%)
OKLCHoklch(48.8% 0.149 138)

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 #2D7204 5.96:1 AA Lc -84.6 Fine for body text
Black text on #2D7204 3.52:1 AA large text Lc 24.6 Dividers and decoration only
#2D7204 text on white 5.96:1 AA Lc 79.4 Fine for body text
#2D7204 text on black 3.52:1 AA large text Lc -22.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

    #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

    #7CB26A

    oklch(70.8% 0.116 138.2)

  6. Step 500

    500

    #599E3F

    oklch(63.2% 0.148 138.1)

  7. Step 600

    600

    #3C8818

    oklch(55.7% 0.16 138.1)

  8. Step 700

    700 (this color)

    #2D7204

    oklch(48.8% 0.149 138)

  9. Step 800

    800

    #275E0D

    oklch(42.8% 0.124 138.2)

  10. Step 900

    900

    #254D15

    oklch(37.7% 0.096 138.1)

  11. Step 950

    950

    #162D0E

    oklch(26.9% 0.061 138.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D7204 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)#7667000.097
Deuteranopia (no green cones)#6D61160.095
Tritanopia (no blue cones)#266E600.103
Achromatopsia (no color)#6363630.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D7204

    #2D7204

    oklch(48.8% 0.149 138)

  • #823E95

    #823E95

    oklch(48.8% 0.149 318.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D7204

    #2D7204

    oklch(48.8% 0.149 138)

  • #666400

    #666400

    oklch(48.9% 0.106 108.4)

  • #007155

    #007155

    oklch(48.7% 0.098 168.2)

Open the analogous palette in the generator

Split complementary

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

  • #2D7204

    #2D7204

    oklch(48.8% 0.149 138)

  • #5E4DAE

    #5E4DAE

    oklch(48.9% 0.149 287.6)

  • #99346F

    #99346F

    oklch(49% 0.149 347.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D7204

    #2D7204

    oklch(48.8% 0.149 138)

  • #215DB2

    #215DB2

    oklch(48.8% 0.149 258)

  • #A3313F

    #A3313F

    oklch(48.8% 0.149 17.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D7204

    #2D7204

    oklch(48.8% 0.149 138)

  • #006A8A

    #006A8A

    oklch(48.9% 0.095 227.5)

  • #823E95

    #823E95

    oklch(48.8% 0.149 318.4)

  • #994200

    #994200

    oklch(48.7% 0.133 47.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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