#7FAC2B

Closest named color: Avocado Green (#87A922). oklch(68.8% 0.161 127.3), rgb(127, 172, 43).

Aa

Black text reads best on this color (7.83:1).

About this color

#7FAC2B is a medium-light, vivid green. In OKLCH its lightness is 69%, its chroma 0.161 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado Green (#87A922), ΔE 0.011 away. Black text reads best on it, at 7.83:1.

Hue familyGreens
Lightnessmedium-light (69%)
Chromavivid (0.161)
Temperaturein between
Nearest nameAvocado Green (#87A922)
Black text7.83:1
White text2.67:1

Values

HEX#7FAC2B
RGBrgb(127, 172, 43)
HSLhsl(81, 60%, 42%)
OKLCHoklch(68.8% 0.161 127.3)

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 #7FAC2B 2.67:1 Fails Lc -57.1 Large or bold text, headings
Black text on #7FAC2B 7.83:1 AAA Lc 52.1 Large or bold text, headings
#7FAC2B text on white 2.67:1 Fails Lc 51.9 Large or bold text, headings
#7FAC2B text on black 7.83:1 AAA Lc -50.0 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F3F7EE

    oklch(97.1% 0.013 126.4)

  2. Step 100

    100

    #E4EED9

    oklch(93.6% 0.03 127.9)

  3. Step 200

    200

    #CFE1B9

    oklch(88.6% 0.057 127.3)

  4. Step 300

    300

    #AFCD86

    oklch(80.9% 0.1 127.1)

  5. Step 400

    400 (this color)

    #7FAC2B

    oklch(68.8% 0.161 127.3)

  6. Step 500

    500

    #6E9A00

    oklch(63% 0.163 127.2)

  7. Step 600

    600

    #5C8200

    oklch(55.7% 0.144 127.3)

  8. Step 700

    700

    #4C6D00

    oklch(49.1% 0.127 127.5)

  9. Step 800

    800

    #3E5900

    oklch(42.6% 0.11 127.2)

  10. Step 900

    900

    #334A00

    oklch(37.6% 0.097 127.1)

  11. Step 950

    950

    #1D2C00

    oklch(26.9% 0.069 127)

Export this scale for Tailwind in the Tailwind colors tool

#7FAC2B 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)#B5A00F0.076
Deuteranopia (no green cones)#AF9D370.079
Tritanopia (no blue cones)#84A4930.127
Achromatopsia (no color)#9E9E9E0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #7FAC2B

    #7FAC2B

    oklch(68.8% 0.161 127.3)

  • #B57CE7

    #B57CE7

    oklch(68.7% 0.161 307.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7FAC2B

    #7FAC2B

    oklch(68.8% 0.161 127.3)

  • #B39A00

    #B39A00

    oklch(68.8% 0.142 97.5)

  • #0EB772

    #0EB772

    oklch(68.7% 0.16 157.5)

Open the analogous palette in the generator

Split complementary

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

  • #7FAC2B

    #7FAC2B

    oklch(68.8% 0.161 127.3)

  • #848EFC

    #848EFC

    oklch(68.8% 0.161 277.4)

  • #D86FBE

    #D86FBE

    oklch(68.8% 0.162 337.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7FAC2B

    #7FAC2B

    oklch(68.8% 0.161 127.3)

  • #32A1F8

    #32A1F8

    oklch(68.9% 0.161 247.2)

  • #EA6A89

    #EA6A89

    oklch(68.7% 0.16 7.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7FAC2B

    #7FAC2B

    oklch(68.8% 0.161 127.3)

  • #00ACCC

    #00ACCC

    oklch(68.7% 0.123 217.4)

  • #B57CE7

    #B57CE7

    oklch(68.7% 0.161 307.2)

  • #EC714D

    #EC714D

    oklch(68.8% 0.161 37.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7FAC2B 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.