#007F2A

Closest named color: Tree Green (#2A7E19). oklch(51.9% 0.156 146.7), rgb(0, 127, 42).

Aa

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

About this color

#007F2A is a medium-dark, vivid green. In OKLCH its lightness is 52%, its chroma 0.156 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.016 away. White text reads best on it, at 5.16:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromavivid (0.156)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.06:1
White text5.16:1

Values

HEX#007F2A
RGBrgb(0, 127, 42)
HSLhsl(140, 100%, 25%)
OKLCHoklch(51.9% 0.156 146.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 #007F2A 5.16:1 AA Lc -80.3 Fine for body text
Black text on #007F2A 4.06:1 AA large text Lc 29.2 Dividers and decoration only
#007F2A text on white 5.16:1 AA Lc 74.9 Content text, not long reading
#007F2A text on black 4.06:1 AA large text Lc -26.9 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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C8E1C9

    oklch(88.5% 0.042 146.3)

  4. Step 300

    300

    #A1CEA4

    oklch(80.8% 0.075 146.6)

  5. Step 400

    400

    #6BB573

    oklch(70.8% 0.121 146.6)

  6. Step 500

    500

    #3BA14D

    oklch(63% 0.154 146.7)

  7. Step 600

    600

    #008C2F

    oklch(55.7% 0.167 146.6)

  8. Step 700

    700 (this color)

    #007F2A

    oklch(51.9% 0.156 146.7)

  9. Step 800

    800

    #00601E

    oklch(42.6% 0.127 146.7)

  10. Step 900

    900

    #114F1E

    oklch(37.7% 0.1 146.7)

  11. Step 950

    950

    #0D2E12

    oklch(26.9% 0.063 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#007F2A 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)#8172200.120
Deuteranopia (no green cones)#756A320.119
Tritanopia (no blue cones)#007C6D0.093
Achromatopsia (no color)#6D6D6D0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #007F2A

    #007F2A

    oklch(51.9% 0.156 146.7)

  • #954297

    #954297

    oklch(52% 0.155 326.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #007F2A

    #007F2A

    oklch(51.9% 0.156 146.7)

  • #657100

    #657100

    oklch(52% 0.12 116.8)

  • #007A67

    #007A67

    oklch(51.8% 0.096 176.8)

Open the analogous palette in the generator

Split complementary

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

  • #007F2A

    #007F2A

    oklch(51.9% 0.156 146.7)

  • #7350B6

    #7350B6

    oklch(51.9% 0.155 296.4)

  • #AA386B

    #AA386B

    oklch(52% 0.156 356.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #007F2A

    #007F2A

    oklch(51.9% 0.156 146.7)

  • #4061C1

    #4061C1

    oklch(52% 0.155 266.7)

  • #B13A34

    #B13A34

    oklch(52% 0.156 26.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #007F2A

    #007F2A

    oklch(51.9% 0.156 146.7)

  • #0071A1

    #0071A1

    oklch(52% 0.113 236.7)

  • #954297

    #954297

    oklch(52% 0.155 326.6)

  • #9D5200

    #9D5200

    oklch(51.9% 0.126 56.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #007F2A.

Similar named colors

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

Use #007F2A 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.