#AFD797
Closest named color: Light Grey Green (#B7E1A1). oklch(83.4% 0.096 134.1), rgb(175, 215, 151).
Aa
Black text reads best on this color (12.98:1).
About this color
#AFD797 is a light, moderately saturated green. In OKLCH its lightness is 83%, its chroma 0.096 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Grey Green (#B7E1A1), ΔE 0.029 away. Black text reads best on it, at 12.98:1.
| Hue family | Greens |
| Lightness | light (83%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Light Grey Green (#B7E1A1) |
| Black text | 12.98:1 |
| White text | 1.61:1 |
Values
| HEX | #AFD797 |
| RGB | rgb(175, 215, 151) |
| HSL | hsl(98, 44%, 72%) |
| OKLCH | oklch(83.4% 0.096 134.1) |
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 #AFD797 | 1.61:1 | Fails | Lc -31.2 | Non-text elements, placeholder text |
| Black text on #AFD797 | 12.98:1 | AAA | Lc 76.2 | Fine for body text |
| #AFD797 text on white | 1.61:1 | Fails | Lc 27.6 | Dividers and decoration only |
| #AFD797 text on black | 12.98:1 | AAA | Lc -75.3 | 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
#F2F7EF
oklch(97% 0.012 133.4)
-
Step 100
100
#E2EEDC
oklch(93.5% 0.027 135)
-
Step 200
200
#CBE1BE
oklch(88.4% 0.053 133.8)
-
Step 300
300 (this color)
#AFD797
oklch(83.4% 0.096 134.1)
-
Step 400
400
#77B54A
oklch(70.8% 0.154 134.1)
-
Step 500
500
#579F00
oklch(63% 0.181 134)
-
Step 600
600
#488600
oklch(55.6% 0.16 134.1)
-
Step 700
700
#3C7100
oklch(49.2% 0.141 134)
-
Step 800
800
#305C00
oklch(42.6% 0.122 134)
-
Step 900
900
#274D00
oklch(37.7% 0.108 134.1)
-
Step 950
950
#152E00
oklch(27% 0.078 134)
#AFD797 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) | #DCCE93 | 0.061 |
| Deuteranopia (no green cones) | #D6CA9A | 0.061 |
| Tritanopia (no blue cones) | #AFD2C6 | 0.069 |
| Achromatopsia (no color) | #CBCBCB | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFD797
#AFD797
oklch(83.4% 0.096 134.1)
- #E0B6F5
#E0B6F5
oklch(83.4% 0.097 314.3)
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 #AFD797, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Grey Green #B7E1A1 ΔE 0.029
- Pale Olive Green #B1D27B ΔE 0.031
- Pale Olive #B9CC81 ΔE 0.032
- Greenish Tan #BCCB7A ΔE 0.038
- Hospital Green #9BE5AA ΔE 0.039
- Greenish Beige #C9D179 ΔE 0.041
- Light Moss Green #A6C875 ΔE 0.052
- Light Teal #90E4C1 ΔE 0.057
Use #AFD797 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.