#40B142
Closest named color: Medium Green (#39AD48). oklch(67.3% 0.182 143.5), rgb(64, 177, 66).
Aa
Black text reads best on this color (7.58:1).
About this color
#40B142 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.182 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.015 away. Black text reads best on it, at 7.58:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.182) |
| Temperature | in between |
| Nearest name | Medium Green (#39AD48) |
| Black text | 7.58:1 |
| White text | 2.76:1 |
Values
| HEX | #40B142 |
| RGB | rgb(64, 177, 66) |
| HSL | hsl(121, 47%, 47%) |
| OKLCH | oklch(67.3% 0.182 143.5) |
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 #40B142 | 2.76:1 | Fails | Lc -58.2 | Large or bold text, headings |
| Black text on #40B142 | 7.58:1 | AAA | Lc 51.0 | Large or bold text, headings |
| #40B142 text on white | 2.76:1 | Fails | Lc 53.0 | Large or bold text, headings |
| #40B142 text on black | 7.58:1 | AAA | Lc -48.8 | 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
#F0F8EF
oklch(97.1% 0.015 142.2)
-
Step 100
100
#DDF0DC
oklch(93.6% 0.033 143.9)
-
Step 200
200
#C1E5BF
oklch(88.6% 0.064 143.6)
-
Step 300
300
#93D491
oklch(80.9% 0.114 143.7)
-
Step 400
400 (this color)
#40B142
oklch(67.3% 0.182 143.5)
-
Step 500
500
#00A71A
oklch(63.2% 0.208 143.5)
-
Step 600
600
#008C14
oklch(55.5% 0.183 143.5)
-
Step 700
700
#00760F
oklch(49.1% 0.162 143.5)
-
Step 800
800
#00610B
oklch(42.7% 0.141 143.5)
-
Step 900
900
#005107
oklch(37.7% 0.124 143.4)
-
Step 950
950
#003103
oklch(27.2% 0.089 143.6)
#40B142 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) | #B5A135 | 0.133 |
| Deuteranopia (no green cones) | #A7984B | 0.132 |
| Tritanopia (no blue cones) | #28AC99 | 0.114 |
| Achromatopsia (no color) | #9B9B9B | 0.183 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40B142
#40B142
oklch(67.3% 0.182 143.5)
- #CA69D5
#CA69D5
oklch(67.3% 0.182 323.4)
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 #40B142, closest first.
No curated palette has a color within ΔE 0.04 of #40B142.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Green #39AD48 ΔE 0.015
- Shamrock #01B44C ΔE 0.019
- Grass #5CAC2D ΔE 0.023
- Leafy Green #51B73B ΔE 0.024
- Mid Green #50A747 ΔE 0.032
- Dark Pastel Green #56AE57 ΔE 0.032
- Leaf Green #5CA904 ΔE 0.034
- Cool Green #33B864 ΔE 0.034
Use #40B142 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.