#AFC286
Closest named color: Tan Green (#A9BE70). oklch(78.5% 0.083 122.6), rgb(175, 194, 134).
Aa
Black text reads best on this color (10.88:1).
About this color
#AFC286 is a light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.083 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.028 away. Black text reads best on it, at 10.88:1.
| Hue family | Yellows |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.083) |
| Temperature | in between |
| Nearest name | Tan Green (#A9BE70) |
| Black text | 10.88:1 |
| White text | 1.92:1 |
Values
| HEX | #AFC286 |
| RGB | rgb(175, 194, 134) |
| HSL | hsl(79, 33%, 64%) |
| OKLCH | oklch(78.5% 0.083 122.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 #AFC286 | 1.92:1 | Fails | Lc -41.3 | Non-text elements, placeholder text |
| Black text on #AFC286 | 10.88:1 | AAA | Lc 67.0 | Content text, not long reading |
| #AFC286 text on white | 1.92:1 | Fails | Lc 36.9 | Non-text elements, placeholder text |
| #AFC286 text on black | 10.88:1 | AAA | Lc -65.5 | 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
#F4F7EF
oklch(97.2% 0.011 123.5)
-
Step 100
100
#E7EDDB
oklch(93.7% 0.025 121.9)
-
Step 200
200
#D3DFBD
oklch(88.6% 0.047 123.2)
-
Step 300
300 (this color)
#AFC286
oklch(78.5% 0.083 122.6)
-
Step 400
400
#92AE47
oklch(70.8% 0.134 122.6)
-
Step 500
500
#799700
oklch(63% 0.154 122.6)
-
Step 600
600
#657F00
oklch(55.6% 0.136 122.8)
-
Step 700
700
#556B00
oklch(49.2% 0.12 122.6)
-
Step 800
800
#455700
oklch(42.6% 0.104 122.4)
-
Step 900
900
#394900
oklch(37.8% 0.092 122.7)
-
Step 950
950
#212B00
oklch(27% 0.066 122.2)
#AFC286 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) | #C9BB82 | 0.038 |
| Deuteranopia (no green cones) | #C6BB89 | 0.037 |
| Tritanopia (no blue cones) | #B4BCB2 | 0.068 |
| Achromatopsia (no color) | #BBBBBB | 0.084 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFC286
#AFC286
oklch(78.5% 0.083 122.6)
- #C3ACE6
#C3ACE6
oklch(78.4% 0.085 302.6)
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 #AFC286, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tan Green #A9BE70 ΔE 0.028
- Light Moss Green #A6C875 ΔE 0.033
- Pale Olive #B9CC81 ΔE 0.033
- Light Olive #ACBF69 ΔE 0.034
- Dark Khaki #BDB76B ΔE 0.036
- Greenish Tan #BCCB7A ΔE 0.037
- Dark Sea Green #8FBC8F ΔE 0.046
- Pale Olive Green #B1D27B ΔE 0.050
Use #AFC286 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.