#02B040
Closest named color: Shamrock (#01B44C). oklch(66% 0.196 147), rgb(2, 176, 64).
Aa
Black text reads best on this color (7.28:1).
About this color
#02B040 is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.196 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.014 away. Black text reads best on it, at 7.28:1.
| Hue family | Greens |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.196) |
| Temperature | in between |
| Nearest name | Shamrock (#01B44C) |
| Black text | 7.28:1 |
| White text | 2.88:1 |
Values
| HEX | #02B040 |
| RGB | rgb(2, 176, 64) |
| HSL | hsl(141, 98%, 35%) |
| OKLCH | oklch(66% 0.196 147) |
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 #02B040 | 2.88:1 | Fails | Lc -59.6 | Large or bold text, headings |
| Black text on #02B040 | 7.28:1 | AAA | Lc 49.7 | Large or bold text, headings |
| #02B040 text on white | 2.88:1 | Fails | Lc 54.3 | Large or bold text, headings |
| #02B040 text on black | 7.28:1 | AAA | Lc -47.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
#F0F8F1
oklch(97.1% 0.013 149.3)
-
Step 100
100
#DEEFDF
oklch(93.5% 0.028 147)
-
Step 200
200
#C3E3C5
oklch(88.4% 0.053 146.8)
-
Step 300
300
#97D29D
oklch(80.9% 0.096 147.2)
-
Step 400
400
#55BA65
oklch(70.8% 0.154 147)
-
Step 500
500 (this color)
#02B040
oklch(66% 0.196 147)
-
Step 600
600
#008B31
oklch(55.5% 0.165 147.1)
-
Step 700
700
#007528
oklch(49% 0.145 147.1)
-
Step 800
800
#00601F
oklch(42.6% 0.127 147)
-
Step 900
900
#005019
oklch(37.6% 0.111 147.2)
-
Step 950
950
#00300B
oklch(26.9% 0.08 146.8)
#02B040 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) | #B29F33 | 0.151 |
| Deuteranopia (no green cones) | #A2944A | 0.150 |
| Tritanopia (no blue cones) | #00AC98 | 0.117 |
| Achromatopsia (no color) | #989898 | 0.197 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #02B040
#02B040
oklch(66% 0.196 147)
- #CE5ECF
#CE5ECF
oklch(66% 0.196 327.2)
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 #02B040, closest first.
No curated palette has a color within ΔE 0.04 of #02B040.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Shamrock #01B44C ΔE 0.014
- Kelly Green #02AB2E ΔE 0.018
- Medium Green #39AD48 ΔE 0.022
- Grass #5CAC2D ΔE 0.040
- Leafy Green #51B73B ΔE 0.041
- Mid Green #50A747 ΔE 0.042
- Leaf Green #5CA904 ΔE 0.043
- Cool Green #33B864 ΔE 0.046
Use #02B040 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.