#40B258
Closest named color: Dark Pastel Green (#56AE57). oklch(67.8% 0.164 147.5), rgb(64, 178, 88).
Aa
Black text reads best on this color (7.72:1).
About this color
#40B258 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.164 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Pastel Green (#56AE57), ΔE 0.018 away. Black text reads best on it, at 7.72:1.
| Hue family | Greens |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.164) |
| Temperature | in between |
| Nearest name | Dark Pastel Green (#56AE57) |
| Black text | 7.72:1 |
| White text | 2.71:1 |
Values
| HEX | #40B258 |
| RGB | rgb(64, 178, 88) |
| HSL | hsl(133, 47%, 47%) |
| OKLCH | oklch(67.8% 0.164 147.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 #40B258 | 2.71:1 | Fails | Lc -57.5 | Large or bold text, headings |
| Black text on #40B258 | 7.72:1 | AAA | Lc 51.8 | Large or bold text, headings |
| #40B258 text on white | 2.71:1 | Fails | Lc 52.3 | Large or bold text, headings |
| #40B258 text on black | 7.72:1 | AAA | Lc -49.6 | 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
#F0F8F0
oklch(97.1% 0.014 145.5)
-
Step 100
100
#DDF0DF
oklch(93.6% 0.03 148.4)
-
Step 200
200
#C1E4C4
oklch(88.5% 0.057 147.4)
-
Step 300
300
#93D39A
oklch(80.9% 0.103 147.3)
-
Step 400
400 (this color)
#40B258
oklch(67.8% 0.164 147.5)
-
Step 500
500
#00A63E
oklch(63.2% 0.186 147.4)
-
Step 600
600
#008B33
oklch(55.5% 0.163 147.4)
-
Step 700
700
#00752A
oklch(49% 0.144 147.5)
-
Step 800
800
#006021
oklch(42.6% 0.125 147.5)
-
Step 900
900
#00501A
oklch(37.6% 0.11 147.5)
-
Step 950
950
#00300C
oklch(26.9% 0.079 147.3)
#40B258 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) | #B4A350 | 0.130 |
| Deuteranopia (no green cones) | #A6995E | 0.129 |
| Tritanopia (no blue cones) | #1EAE9D | 0.096 |
| Achromatopsia (no color) | #9D9D9D | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40B258
#40B258
oklch(67.8% 0.164 147.5)
- #CC6FCB
#CC6FCB
oklch(67.9% 0.164 327.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 #40B258, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Pastel Green #56AE57 ΔE 0.018
- Cool Green #33B864 ΔE 0.018
- Medium Green #39AD48 ΔE 0.021
- Jade Green #2BAF6A ΔE 0.027
- Shamrock #01B44C ΔE 0.027
- Medium Sea Green #3CB371 ΔE 0.029
- Mid Green #50A747 ΔE 0.031
- Seaweed Green #35AD6B ΔE 0.031
Use #40B258 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.