#40A236
Closest named color: Mid Green (#50A747). oklch(63.1% 0.172 141.8), rgb(64, 162, 54).
Aa
Black text reads best on this color (6.43:1).
About this color
#40A236 is a medium-light, vivid green. In OKLCH its lightness is 63%, its chroma 0.172 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mid Green (#50A747), ΔE 0.026 away. Black text reads best on it, at 6.43:1.
| Hue family | Greens |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.172) |
| Temperature | in between |
| Nearest name | Mid Green (#50A747) |
| Black text | 6.43:1 |
| White text | 3.26:1 |
Values
| HEX | #40A236 |
| RGB | rgb(64, 162, 54) |
| HSL | hsl(114, 50%, 42%) |
| OKLCH | oklch(63.1% 0.172 141.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 #40A236 | 3.26:1 | AA large text | Lc -65.0 | Content text, not long reading |
| Black text on #40A236 | 6.43:1 | AA | Lc 44.5 | Non-text elements, placeholder text |
| #40A236 text on white | 3.26:1 | AA large text | Lc 59.6 | Large or bold text, headings |
| #40A236 text on black | 6.43:1 | AA | Lc -42.2 | Non-text elements, placeholder text |
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
#F1F7F0
oklch(97% 0.011 141.3)
-
Step 100
100
#E1EEDF
oklch(93.5% 0.024 141.5)
-
Step 200
200
#C8E1C5
oklch(88.4% 0.046 142.2)
-
Step 300
300
#A2CF9C
oklch(80.9% 0.085 141.7)
-
Step 400
400
#6DB565
oklch(70.6% 0.134 141.9)
-
Step 500
500 (this color)
#40A236
oklch(63.1% 0.172 141.8)
-
Step 600
600
#128C00
oklch(55.6% 0.186 141.8)
-
Step 700
700
#0E7600
oklch(49.2% 0.165 141.8)
-
Step 800
800
#096100
oklch(42.8% 0.143 141.8)
-
Step 900
900
#154F0E
oklch(37.6% 0.112 141.6)
-
Step 950
950
#0E2F0B
oklch(27.1% 0.072 142)
#40A236 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) | #A69328 | 0.121 |
| Deuteranopia (no green cones) | #9A8B40 | 0.122 |
| Tritanopia (no blue cones) | #309D8C | 0.113 |
| Achromatopsia (no color) | #8E8E8E | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40A236
#40A236
oklch(63.1% 0.172 141.8)
- #B860C7
#B860C7
oklch(63.1% 0.173 321.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 #40A236, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mid Green #50A747 ΔE 0.026
- Grassy Green #419C03 ΔE 0.027
- Grass Green #3F9B0B ΔE 0.028
- Medium Green #39AD48 ΔE 0.031
- Kelly Green #02AB2E ΔE 0.034
- Leaf Green #5CA904 ΔE 0.040
- Grass #5CAC2D ΔE 0.041
- Muted Green #5FA052 ΔE 0.045
Use #40A236 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.