#287E02
Closest named color: Tree Green (#2A7E19). oklch(52.1% 0.165 139.5), rgb(40, 126, 2).
Aa
White text reads best on this color (5.15:1).
About this color
#287E02 is a medium-dark, vivid green. In OKLCH its lightness is 52%, its chroma 0.165 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.010 away. White text reads best on it, at 5.15:1.
| Hue family | Greens |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 4.07:1 |
| White text | 5.15:1 |
Values
| HEX | #287E02 |
| RGB | rgb(40, 126, 2) |
| HSL | hsl(102, 97%, 25%) |
| OKLCH | oklch(52.1% 0.165 139.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 #287E02 | 5.15:1 | AA | Lc -80.4 | Fine for body text |
| Black text on #287E02 | 4.07:1 | AA large text | Lc 29.1 | Dividers and decoration only |
| #287E02 text on white | 5.15:1 | AA | Lc 75.0 | Fine for body text |
| #287E02 text on black | 4.07:1 | AA large text | Lc -26.7 | Dividers and decoration only |
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 700.
-
Step 50
50
#F2F7F0
oklch(97% 0.011 136.6)
-
Step 100
100
#E2EEDF
oklch(93.6% 0.024 139.4)
-
Step 200
200
#CAE1C5
oklch(88.5% 0.045 140.1)
-
Step 300
300
#A6CE9C
oklch(81% 0.081 139.4)
-
Step 400
400
#75B465
oklch(70.8% 0.128 139.5)
-
Step 500
500
#4DA036
oklch(63.1% 0.164 139.5)
-
Step 600
600
#2C8A00
oklch(55.6% 0.177 139.5)
-
Step 700
700 (this color)
#287E02
oklch(52.1% 0.165 139.5)
-
Step 800
800
#1C5F00
oklch(42.6% 0.136 139.5)
-
Step 900
900
#1E4E0F
oklch(37.6% 0.106 139.4)
-
Step 950
950
#132E0B
oklch(27% 0.067 139.2)
#287E02 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) | #827100 | 0.112 |
| Deuteranopia (no green cones) | #786B18 | 0.109 |
| Tritanopia (no blue cones) | #1A796A | 0.113 |
| Achromatopsia (no color) | #6D6D6D | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #287E02
#287E02
oklch(52.1% 0.165 139.5)
- #9142A3
#9142A3
oklch(52.1% 0.165 319.8)
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 #287E02, closest first.
No curated palette has a color within ΔE 0.04 of #287E02.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.010
- Dark Grass Green #388004 ΔE 0.014
- Green #008000 ΔE 0.015
- Forest Green #228B22 ΔE 0.038
- Jungle Green #048243 ΔE 0.046
- Emerald Green #028F1E ΔE 0.049
- Kelley Green #009337 ΔE 0.062
- True Green #089404 ΔE 0.065
Use #287E02 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.