#AFCA7A
Closest named color: Light Moss Green (#A6C875). oklch(80% 0.109 124), rgb(175, 202, 122).
Aa
Black text reads best on this color (11.55:1).
About this color
#AFCA7A is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.109 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Moss Green (#A6C875), ΔE 0.015 away. Black text reads best on it, at 11.55:1.
| Hue family | Yellows |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.109) |
| Temperature | in between |
| Nearest name | Light Moss Green (#A6C875) |
| Black text | 11.55:1 |
| White text | 1.81:1 |
Values
| HEX | #AFCA7A |
| RGB | rgb(175, 202, 122) |
| HSL | hsl(80, 43%, 64%) |
| OKLCH | oklch(80% 0.109 124) |
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 #AFCA7A | 1.81:1 | Fails | Lc -38.0 | Non-text elements, placeholder text |
| Black text on #AFCA7A | 11.55:1 | AAA | Lc 70.0 | Content text, not long reading |
| #AFCA7A text on white | 1.81:1 | Fails | Lc 33.9 | Non-text elements, placeholder text |
| #AFCA7A text on black | 11.55:1 | AAA | Lc -68.7 | 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
#F3F7ED
oklch(97% 0.014 124.6)
-
Step 100
100
#E5EED7
oklch(93.6% 0.032 124.5)
-
Step 200
200
#D0E1B5
oklch(88.6% 0.061 124.8)
-
Step 300
300 (this color)
#AFCA7A
oklch(80% 0.109 124)
-
Step 400
400
#8AB104
oklch(70.6% 0.174 124)
-
Step 500
500
#769800
oklch(63.1% 0.157 124)
-
Step 600
600
#638000
oklch(55.7% 0.138 124)
-
Step 700
700
#526B00
oklch(49% 0.122 124.1)
-
Step 800
800
#435800
oklch(42.7% 0.106 124.1)
-
Step 900
900
#374900
oklch(37.6% 0.094 124.1)
-
Step 950
950
#202B00
oklch(26.9% 0.066 123.3)
#AFCA7A 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) | #D2C174 | 0.050 |
| Deuteranopia (no green cones) | #CFC07E | 0.051 |
| Tritanopia (no blue cones) | #B4C3B6 | 0.088 |
| Achromatopsia (no color) | #C0C0C0 | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFCA7A
#AFCA7A
oklch(80% 0.109 124)
- #CDACF7
#CDACF7
oklch(80% 0.109 304.2)
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 #AFCA7A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Moss Green #A6C875 ΔE 0.015
- Pale Olive #B9CC81 ΔE 0.017
- Greenish Tan #BCCB7A ΔE 0.017
- Pale Olive Green #B1D27B ΔE 0.022
- Light Olive #ACBF69 ΔE 0.031
- Tan Green #A9BE70 ΔE 0.033
- Greenish Beige #C9D179 ΔE 0.041
- Light Olive Green #A4BE5C ΔE 0.044
Use #AFCA7A 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.