#40B516
Closest named color: Leafy Green (#51B73B). oklch(68% 0.21 139.8), rgb(64, 181, 22).
Aa
Black text reads best on this color (7.83:1).
About this color
#40B516 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.210 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Leafy Green (#51B73B), ΔE 0.027 away. Black text reads best on it, at 7.83:1.
| Hue family | Greens |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.210) |
| Temperature | in between |
| Nearest name | Leafy Green (#51B73B) |
| Black text | 7.83:1 |
| White text | 2.67:1 |
Values
| HEX | #40B516 |
| RGB | rgb(64, 181, 22) |
| HSL | hsl(104, 78%, 40%) |
| OKLCH | oklch(68% 0.21 139.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 #40B516 | 2.67:1 | Fails | Lc -56.7 | Large or bold text, headings |
| Black text on #40B516 | 7.83:1 | AAA | Lc 52.5 | Large or bold text, headings |
| #40B516 text on white | 2.67:1 | Fails | Lc 51.5 | Large or bold text, headings |
| #40B516 text on black | 7.83:1 | AAA | Lc -50.4 | 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
#F0F9ED
oklch(97.2% 0.018 137.8)
-
Step 100
100
#DDF1D9
oklch(93.7% 0.038 140.5)
-
Step 200
200
#C0E6B8
oklch(88.6% 0.074 140.2)
-
Step 300
300
#92D582
oklch(80.8% 0.132 139.7)
-
Step 400
400 (this color)
#40B516
oklch(68% 0.21 139.8)
-
Step 500
500
#34A400
oklch(63% 0.202 139.7)
-
Step 600
600
#2A8A00
oklch(55.5% 0.178 139.8)
-
Step 700
700
#227400
oklch(49% 0.157 139.8)
-
Step 800
800
#1A5F00
oklch(42.6% 0.136 139.8)
-
Step 900
900
#155000
oklch(37.8% 0.121 139.7)
-
Step 950
950
#093000
oklch(27.1% 0.087 139.7)
#40B516 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) | #BAA400 | 0.141 |
| Deuteranopia (no green cones) | #AC9B2E | 0.139 |
| Tritanopia (no blue cones) | #2EAF9A | 0.142 |
| Achromatopsia (no color) | #9E9E9E | 0.211 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40B516
#40B516
oklch(68% 0.21 139.8)
- #CF63E7
#CF63E7
oklch(68% 0.211 320)
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 #40B516, closest first.
No curated palette has a color within ΔE 0.04 of #40B516.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Leafy Green #51B73B ΔE 0.027
- Frog Green #58BC08 ΔE 0.029
- Leaf Green #5CA904 ΔE 0.036
- Grass #5CAC2D ΔE 0.037
- Shamrock #01B44C ΔE 0.038
- Shamrock Green #02C14D ΔE 0.040
- Kelly Green #02AB2E ΔE 0.041
- Medium Green #39AD48 ΔE 0.045
Use #40B516 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.