#AFD987
Closest named color: Pale Olive Green (#B1D27B). oklch(83.6% 0.117 130.6), rgb(175, 217, 135).
Aa
Black text reads best on this color (13.09:1).
About this color
#AFD987 is a light, moderately saturated green. In OKLCH its lightness is 84%, its chroma 0.117 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Olive Green (#B1D27B), ΔE 0.019 away. Black text reads best on it, at 13.09:1.
| Hue family | Greens |
| Lightness | light (84%) |
| Chroma | moderately saturated (0.117) |
| Temperature | in between |
| Nearest name | Pale Olive Green (#B1D27B) |
| Black text | 13.09:1 |
| White text | 1.60:1 |
Values
| HEX | #AFD987 |
| RGB | rgb(175, 217, 135) |
| HSL | hsl(91, 52%, 69%) |
| OKLCH | oklch(83.6% 0.117 130.6) |
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 #AFD987 | 1.60:1 | Fails | Lc -30.6 | Non-text elements, placeholder text |
| Black text on #AFD987 | 13.09:1 | AAA | Lc 76.7 | Fine for body text |
| #AFD987 text on white | 1.60:1 | Fails | Lc 27.1 | Dividers and decoration only |
| #AFD987 text on black | 13.09:1 | AAA | Lc -75.8 | Fine for body 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 300.
-
Step 50
50
#F2F8ED
oklch(97.2% 0.016 130.4)
-
Step 100
100
#E2EFD8
oklch(93.6% 0.034 131.3)
-
Step 200
200
#CBE2B6
oklch(88.4% 0.064 130.1)
-
Step 300
300 (this color)
#AFD987
oklch(83.6% 0.117 130.6)
-
Step 400
400
#76B613
oklch(70.6% 0.187 130.7)
-
Step 500
500
#649D00
oklch(63.2% 0.172 130.7)
-
Step 600
600
#538400
oklch(55.7% 0.152 130.8)
-
Step 700
700
#456F00
oklch(49.2% 0.134 130.8)
-
Step 800
800
#385B00
oklch(42.8% 0.116 130.7)
-
Step 900
900
#2E4C00
oklch(37.8% 0.103 130.7)
-
Step 950
950
#192D00
oklch(27% 0.074 130.9)
#AFD987 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) | #E0CE81 | 0.067 |
| Deuteranopia (no green cones) | #DACB8B | 0.067 |
| Tritanopia (no blue cones) | #B1D3C5 | 0.088 |
| Achromatopsia (no color) | #CCCCCC | 0.117 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFD987
#AFD987
oklch(83.6% 0.117 130.6)
- #E0B5FF
#E0B5FF
oklch(83.6% 0.111 310.5)
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 #AFD987, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Olive Green #B1D27B ΔE 0.019
- Pale Olive #B9CC81 ΔE 0.034
- Greenish Beige #C9D179 ΔE 0.035
- Light Grey Green #B7E1A1 ΔE 0.036
- Greenish Tan #BCCB7A ΔE 0.037
- Hospital Green #9BE5AA ΔE 0.044
- Light Moss Green #A6C875 ΔE 0.048
- Light Green #90EE90 ΔE 0.059
Use #AFD987 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.