#40A145
Closest named color: Mid Green (#50A747). oklch(63% 0.159 144.3), rgb(64, 161, 69).
Aa
Black text reads best on this color (6.40:1).
About this color
#40A145 is a medium-light, vivid green. In OKLCH its lightness is 63%, its chroma 0.159 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mid Green (#50A747), ΔE 0.023 away. Black text reads best on it, at 6.40:1.
| Hue family | Greens |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.159) |
| Temperature | in between |
| Nearest name | Mid Green (#50A747) |
| Black text | 6.40:1 |
| White text | 3.28:1 |
Values
| HEX | #40A145 |
| RGB | rgb(64, 161, 69) |
| HSL | hsl(123, 43%, 44%) |
| OKLCH | oklch(63% 0.159 144.3) |
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 #40A145 | 3.28:1 | AA large text | Lc -65.2 | Content text, not long reading |
| Black text on #40A145 | 6.40:1 | AA | Lc 44.3 | Non-text elements, placeholder text |
| #40A145 text on white | 3.28:1 | AA large text | Lc 59.8 | Large or bold text, headings |
| #40A145 text on black | 6.40:1 | AA | Lc -41.9 | 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
#F1F7F1
oklch(97% 0.01 145.5)
-
Step 100
100
#E1EEE1
oklch(93.6% 0.022 145.4)
-
Step 200
200
#C9E1C8
oklch(88.5% 0.042 144.1)
-
Step 300
300
#A2CEA1
oklch(80.8% 0.078 144.3)
-
Step 400
400
#6DB56E
oklch(70.8% 0.125 144.4)
-
Step 500
500 (this color)
#40A145
oklch(63% 0.159 144.3)
-
Step 600
600
#118B23
oklch(55.5% 0.172 144.3)
-
Step 700
700
#007617
oklch(49.1% 0.158 144.3)
-
Step 800
800
#086015
oklch(42.6% 0.132 144.3)
-
Step 900
900
#154F19
oklch(37.7% 0.103 144.2)
-
Step 950
950
#0E2E10
oklch(26.9% 0.065 144.6)
#40A145 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) | #A4933C | 0.118 |
| Deuteranopia (no green cones) | #988B4C | 0.117 |
| Tritanopia (no blue cones) | #2D9D8D | 0.099 |
| Achromatopsia (no color) | #8E8E8E | 0.160 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40A145
#40A145
oklch(63% 0.159 144.3)
- #B763BE
#B763BE
oklch(63% 0.159 324.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 #40A145, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mid Green #50A747 ΔE 0.023
- Muted Green #5FA052 ΔE 0.033
- Medium Green #39AD48 ΔE 0.034
- Grass Green #3F9B0B ΔE 0.038
- Grassy Green #419C03 ΔE 0.039
- Flat Green #699D4C ΔE 0.041
- Fern #63A950 ΔE 0.043
- Kelly Green #02AB2E ΔE 0.046
Use #40A145 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.