#40AF4F
Closest named color: Medium Green (#39AD48). oklch(66.9% 0.169 145.7), rgb(64, 175, 79).
Aa
Black text reads best on this color (7.46:1).
About this color
#40AF4F is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.169 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.010 away. Black text reads best on it, at 7.46:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.169) |
| Temperature | in between |
| Nearest name | Medium Green (#39AD48) |
| Black text | 7.46:1 |
| White text | 2.81:1 |
Values
| HEX | #40AF4F |
| RGB | rgb(64, 175, 79) |
| HSL | hsl(128, 46%, 47%) |
| OKLCH | oklch(66.9% 0.169 145.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #40AF4F | 2.81:1 | Fails | Lc -59.0 | Large or bold text, headings |
| Black text on #40AF4F | 7.46:1 | AAA | Lc 50.3 | Large or bold text, headings |
| #40AF4F text on white | 2.81:1 | Fails | Lc 53.7 | Large or bold text, headings |
| #40AF4F text on black | 7.46:1 | AAA | Lc -48.1 | 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 500.
-
Step 50
50
#F1F8F1
oklch(97.2% 0.012 145.5)
-
Step 100
100
#E0EEE1
oklch(93.5% 0.023 147.4)
-
Step 200
200
#C7E2C7
oklch(88.6% 0.046 145.2)
-
Step 300
300
#9FCFA1
oklch(80.8% 0.081 145.8)
-
Step 400
400
#66B66D
oklch(70.7% 0.131 145.9)
-
Step 500
500 (this color)
#40AF4F
oklch(66.9% 0.169 145.7)
-
Step 600
600
#008C29
oklch(55.7% 0.172 145.7)
-
Step 700
700
#007621
oklch(49.2% 0.152 145.7)
-
Step 800
800
#00611A
oklch(42.9% 0.132 145.8)
-
Step 900
900
#095018
oklch(37.7% 0.11 145.8)
-
Step 950
950
#0A2F0F
oklch(27% 0.07 145.6)
#40AF4F 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) | #B2A046 | 0.129 |
| Deuteranopia (no green cones) | #A49656 | 0.129 |
| Tritanopia (no blue cones) | #24AB99 | 0.101 |
| Achromatopsia (no color) | #9A9A9A | 0.169 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40AF4F
#40AF4F
oklch(66.9% 0.169 145.7)
- #C86BCC
#C86BCC
oklch(66.9% 0.169 325.7)
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 #40AF4F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Green #39AD48 ΔE 0.010
- Dark Pastel Green #56AE57 ΔE 0.021
- Mid Green #50A747 ΔE 0.023
- Shamrock #01B44C ΔE 0.024
- Cool Green #33B864 ΔE 0.028
- Grass #5CAC2D ΔE 0.029
- Jade Green #2BAF6A ΔE 0.031
- Fern #63A950 ΔE 0.031
Use #40AF4F 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.