#7FAC1F
Closest named color: Avocado Green (#87A922). oklch(68.7% 0.167 126.8), rgb(127, 172, 31).
Aa
Black text reads best on this color (7.82:1).
About this color
#7FAC1F is a medium-light, vivid green. In OKLCH its lightness is 69%, its chroma 0.167 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.013 away. Black text reads best on it, at 7.82:1.
| Hue family | Greens |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.167) |
| Temperature | in between |
| Nearest name | Avocado Green (#87A922) |
| Black text | 7.82:1 |
| White text | 2.68:1 |
Values
| HEX | #7FAC1F |
| RGB | rgb(127, 172, 31) |
| HSL | hsl(79, 69%, 40%) |
| OKLCH | oklch(68.7% 0.167 126.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7FAC1F | 2.68:1 | Fails | Lc -57.1 | Large or bold text, headings |
| Black text on #7FAC1F | 7.82:1 | AAA | Lc 52.1 | Large or bold text, headings |
| #7FAC1F text on white | 2.68:1 | Fails | Lc 51.9 | Large or bold text, headings |
| #7FAC1F text on black | 7.82:1 | AAA | Lc -49.9 | 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.
-
Step 50
50
#F3F7ED
oklch(97% 0.014 124.6)
-
Step 100
100
#E4EED9
oklch(93.6% 0.03 127.9)
-
Step 200
200
#CFE1B8
oklch(88.6% 0.058 126.9)
-
Step 300
300
#AFCD83
oklch(80.8% 0.103 126.5)
-
Step 400
400 (this color)
#7FAC1F
oklch(68.7% 0.167 126.8)
-
Step 500
500
#6F9A00
oklch(63.1% 0.162 126.9)
-
Step 600
600
#5D8100
oklch(55.5% 0.142 126.6)
-
Step 700
700
#4E6D00
oklch(49.2% 0.126 126.7)
-
Step 800
800
#3F5900
oklch(42.7% 0.11 126.7)
-
Step 900
900
#344A00
oklch(37.7% 0.097 126.5)
-
Step 950
950
#1D2C00
oklch(26.9% 0.069 127)
#7FAC1F 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #B5A000 | 0.077 |
| Deuteranopia (no green cones) | #AF9D2F | 0.079 |
| Tritanopia (no blue cones) | #84A493 | 0.134 |
| Achromatopsia (no color) | #9E9E9E | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7FAC1F
#7FAC1F
oklch(68.7% 0.167 126.8)
- #B57BEA
#B57BEA
oklch(68.7% 0.166 306.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7FAC1F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Avocado Green #87A922 ΔE 0.013
- Pea Green #8EAB12 ΔE 0.018
- Leaf #71AA34 ΔE 0.020
- Icky Green #8FAE22 ΔE 0.022
- Pea Soup Green #94A617 ΔE 0.029
- Avocado #90B134 ΔE 0.030
- Dark Lime #84B701 ΔE 0.034
- Grass #5CAC2D ΔE 0.036
Use #7FAC1F 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.