#AFC876
Closest named color: Light Moss Green (#A6C875). oklch(79.5% 0.111 122.8), rgb(175, 200, 118).
Aa
Black text reads best on this color (11.34:1).
About this color
#AFC876 is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.111 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Moss Green (#A6C875), ΔE 0.012 away. Black text reads best on it, at 11.34:1.
| Hue family | Yellows |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.111) |
| Temperature | in between |
| Nearest name | Light Moss Green (#A6C875) |
| Black text | 11.34:1 |
| White text | 1.85:1 |
Values
| HEX | #AFC876 |
| RGB | rgb(175, 200, 118) |
| HSL | hsl(78, 43%, 62%) |
| OKLCH | oklch(79.5% 0.111 122.8) |
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 #AFC876 | 1.85:1 | Fails | Lc -39.0 | Non-text elements, placeholder text |
| Black text on #AFC876 | 11.34:1 | AAA | Lc 69.1 | Content text, not long reading |
| #AFC876 text on white | 1.85:1 | Fails | Lc 34.8 | Non-text elements, placeholder text |
| #AFC876 text on black | 11.34:1 | AAA | Lc -67.8 | 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
#F3F7EC
oklch(97% 0.015 123)
-
Step 100
100
#E6EED7
oklch(93.7% 0.032 122.7)
-
Step 200
200
#D1E0B4
oklch(88.4% 0.061 122.9)
-
Step 300
300 (this color)
#AFC876
oklch(79.5% 0.111 122.8)
-
Step 400
400
#8DB100
oklch(70.8% 0.174 123)
-
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)
#AFC876 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) | #D1BF70 | 0.049 |
| Deuteranopia (no green cones) | #CDBE7A | 0.049 |
| Tritanopia (no blue cones) | #B5C1B4 | 0.090 |
| Achromatopsia (no color) | #BEBEBE | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFC876
#AFC876
oklch(79.5% 0.111 122.8)
- #CAABF7
#CAABF7
oklch(79.5% 0.11 302.7)
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 #AFC876, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Moss Green #A6C875 ΔE 0.012
- Greenish Tan #BCCB7A ΔE 0.020
- Pale Olive #B9CC81 ΔE 0.021
- Light Olive #ACBF69 ΔE 0.025
- Pale Olive Green #B1D27B ΔE 0.027
- Tan Green #A9BE70 ΔE 0.028
- Light Olive Green #A4BE5C ΔE 0.039
- Greenish Beige #C9D179 ΔE 0.044
Use #AFC876 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.