#2D7212

Closest named color: Tree Green (#2A7E19). oklch(48.9% 0.144 139), rgb(45, 114, 18).

Aa

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

About this color

#2D7212 is a medium-dark, vivid green. In OKLCH its lightness is 49%, its chroma 0.144 and its hue 139°. 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.95:1.

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

Values

HEX#2D7212
RGBrgb(45, 114, 18)
HSLhsl(103, 73%, 26%)
OKLCHoklch(48.9% 0.144 139)

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 #2D7212 5.95:1 AA Lc -84.6 Fine for body text
Black text on #2D7212 3.52:1 AA large text Lc 24.7 Dividers and decoration only
#2D7212 text on white 5.95:1 AA Lc 79.4 Fine for body text
#2D7212 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

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CDE0C7

    oklch(88.6% 0.039 138.2)

  4. Step 300

    300

    #AACCA1

    oklch(80.9% 0.07 139.2)

  5. Step 400

    400

    #7CB16D

    oklch(70.6% 0.111 138.9)

  6. Step 500

    500

    #599D44

    oklch(63% 0.142 138.9)

  7. Step 600

    600

    #3C8722

    oklch(55.5% 0.154 139)

  8. Step 700

    700 (this color)

    #2D7212

    oklch(48.9% 0.144 139)

  9. Step 800

    800

    #275D14

    oklch(42.6% 0.118 139)

  10. Step 900

    900

    #254D18

    oklch(37.8% 0.093 138.8)

  11. Step 950

    950

    #162D10

    oklch(27% 0.058 139.5)

Export this scale for Tailwind in the Tailwind colors tool

#2D7212 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.095
Deuteranopia (no green cones)#6D611E0.095
Tritanopia (no blue cones)#266E610.099
Achromatopsia (no color)#6464640.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D7212

    #2D7212

    oklch(48.9% 0.144 139)

  • #824093

    #824093

    oklch(49% 0.144 319)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D7212

    #2D7212

    oklch(48.9% 0.144 139)

  • #656400

    #656400

    oklch(48.8% 0.106 109.1)

  • #007156

    #007156

    oklch(48.8% 0.098 168.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D7212

    #2D7212

    oklch(48.9% 0.144 139)

  • #604EAB

    #604EAB

    oklch(49% 0.143 288.9)

  • #98366D

    #98366D

    oklch(48.9% 0.144 349)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D7212

    #2D7212

    oklch(48.9% 0.144 139)

  • #275DB0

    #275DB0

    oklch(48.9% 0.144 259)

  • #A1343E

    #A1343E

    oklch(48.8% 0.144 19)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D7212

    #2D7212

    oklch(48.9% 0.144 139)

  • #006A8B

    #006A8B

    oklch(49% 0.096 228.3)

  • #824093

    #824093

    oklch(49% 0.144 319)

  • #994400

    #994400

    oklch(49% 0.131 49)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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