#40B102
Closest named color: Leaf Green (#5CA904). oklch(66.9% 0.21 139), rgb(64, 177, 2).
Aa
Black text reads best on this color (7.50:1).
About this color
#40B102 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.210 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Leaf Green (#5CA904), ΔE 0.029 away. Black text reads best on it, at 7.50:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.210) |
| Temperature | in between |
| Nearest name | Leaf Green (#5CA904) |
| Black text | 7.50:1 |
| White text | 2.79:1 |
Values
| HEX | #40B102 |
| RGB | rgb(64, 177, 2) |
| HSL | hsl(99, 98%, 35%) |
| OKLCH | oklch(66.9% 0.21 139) |
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 #40B102 | 2.79:1 | Fails | Lc -58.6 | Large or bold text, headings |
| Black text on #40B102 | 7.50:1 | AAA | Lc 50.7 | Large or bold text, headings |
| #40B102 text on white | 2.79:1 | Fails | Lc 53.3 | Large or bold text, headings |
| #40B102 text on black | 7.50:1 | AAA | Lc -48.5 | 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
#F1F8EF
oklch(97.1% 0.014 138.7)
-
Step 100
100
#E0EFDC
oklch(93.6% 0.03 139.1)
-
Step 200
200
#C6E3BF
oklch(88.5% 0.057 139.6)
-
Step 300
300
#9ED191
oklch(80.9% 0.103 139.4)
-
Step 400
400
#66B84D
oklch(70.7% 0.164 139)
-
Step 500
500 (this color)
#40B102
oklch(66.9% 0.21 139)
-
Step 600
600
#308A00
oklch(55.7% 0.176 139)
-
Step 700
700
#277400
oklch(49.2% 0.155 139)
-
Step 800
800
#1E5F00
oklch(42.7% 0.135 139.1)
-
Step 900
900
#184F00
oklch(37.6% 0.119 139)
-
Step 950
950
#0B2F00
oklch(26.9% 0.085 139)
#40B102 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) | #B6A000 | 0.140 |
| Deuteranopia (no green cones) | #A99725 | 0.138 |
| Tritanopia (no blue cones) | #31AB96 | 0.144 |
| Achromatopsia (no color) | #9A9A9A | 0.211 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40B102
#40B102
oklch(66.9% 0.21 139)
- #CA60E5
#CA60E5
oklch(66.9% 0.211 319)
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 #40B102, closest first.
No curated palette has a color within ΔE 0.04 of #40B102.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Leaf Green #5CA904 ΔE 0.029
- Kelly Green #02AB2E ΔE 0.034
- Leafy Green #51B73B ΔE 0.034
- Grass #5CAC2D ΔE 0.034
- Frog Green #58BC08 ΔE 0.039
- Shamrock #01B44C ΔE 0.039
- Medium Green #39AD48 ΔE 0.042
- Shamrock Green #02C14D ΔE 0.050
Use #40B102 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.