#AFD787
Closest named color: Pale Olive Green (#B1D27B). oklch(83.1% 0.114 130.2), rgb(175, 215, 135).
Aa
Black text reads best on this color (12.89:1).
About this color
#AFD787 is a light, moderately saturated green. In OKLCH its lightness is 83%, its chroma 0.114 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive Green (#B1D27B), ΔE 0.015 away. Black text reads best on it, at 12.89:1.
| Hue family | Greens |
| Lightness | light (83%) |
| Chroma | moderately saturated (0.114) |
| Temperature | in between |
| Nearest name | Pale Olive Green (#B1D27B) |
| Black text | 12.89:1 |
| White text | 1.62:1 |
Values
| HEX | #AFD787 |
| RGB | rgb(175, 215, 135) |
| HSL | hsl(90, 50%, 69%) |
| OKLCH | oklch(83.1% 0.114 130.2) |
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 #AFD787 | 1.62:1 | Fails | Lc -31.6 | Non-text elements, placeholder text |
| Black text on #AFD787 | 12.89:1 | AAA | Lc 75.8 | Fine for body text |
| #AFD787 text on white | 1.62:1 | Fails | Lc 28.0 | Dividers and decoration only |
| #AFD787 text on black | 12.89:1 | AAA | Lc -74.9 | Content text, not long reading |
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 300.
-
Step 50
50
#F2F8ED
oklch(97.2% 0.016 130.4)
-
Step 100
100
#E3EFD8
oklch(93.7% 0.033 129.7)
-
Step 200
200
#CBE2B6
oklch(88.4% 0.064 130.1)
-
Step 300
300 (this color)
#AFD787
oklch(83.1% 0.114 130.2)
-
Step 400
400
#79B61C
oklch(70.8% 0.183 130.2)
-
Step 500
500
#659C00
oklch(63% 0.17 130.2)
-
Step 600
600
#548300
oklch(55.5% 0.15 130.2)
-
Step 700
700
#466E00
oklch(48.9% 0.132 130.2)
-
Step 800
800
#395B00
oklch(42.8% 0.116 130.2)
-
Step 900
900
#2F4B00
oklch(37.6% 0.101 129.8)
-
Step 950
950
#1A2D00
oklch(27% 0.073 130.1)
#AFD787 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) | #DECD81 | 0.064 |
| Deuteranopia (no green cones) | #D8CA8B | 0.064 |
| Tritanopia (no blue cones) | #B2D1C3 | 0.086 |
| Achromatopsia (no color) | #CBCBCB | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFD787
#AFD787
oklch(83.1% 0.114 130.2)
- #DFB3FF
#DFB3FF
oklch(83.2% 0.114 310.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 #AFD787, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Olive Green #B1D27B ΔE 0.015
- Pale Olive #B9CC81 ΔE 0.029
- Greenish Tan #BCCB7A ΔE 0.032
- Greenish Beige #C9D179 ΔE 0.034
- Light Grey Green #B7E1A1 ΔE 0.038
- Light Moss Green #A6C875 ΔE 0.043
- Hospital Green #9BE5AA ΔE 0.047
- Light Green #90EE90 ΔE 0.064
Use #AFD787 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.