#AFA86F
Closest named color: Stone (#ADA587). oklch(72.4% 0.077 102.1), rgb(175, 168, 111).
Aa
Black text reads best on this color (8.65:1).
About this color
#AFA86F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.077 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.035 away. Black text reads best on it, at 8.65:1.
| Hue family | Yellows |
| Lightness | medium-light (72%) |
| Chroma | moderately saturated (0.077) |
| Temperature | warm |
| Nearest name | Stone (#ADA587) |
| Black text | 8.65:1 |
| White text | 2.42:1 |
Values
| HEX | #AFA86F |
| RGB | rgb(175, 168, 111) |
| HSL | hsl(53, 29%, 56%) |
| OKLCH | oklch(72.4% 0.077 102.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 #AFA86F | 2.42:1 | Fails | Lc -52.8 | Large or bold text, headings |
| Black text on #AFA86F | 8.65:1 | AAA | Lc 56.2 | Large or bold text, headings |
| #AFA86F text on white | 2.42:1 | Fails | Lc 47.8 | Large or bold text, headings |
| #AFA86F text on black | 8.65:1 | AAA | Lc -54.3 | Large or bold text, headings |
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 400.
-
Step 50
50
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#EBEAE0
oklch(93.5% 0.013 102)
-
Step 200
200
#DCDAC6
oklch(88.5% 0.027 102.3)
-
Step 300
300
#C6C29F
oklch(80.8% 0.048 102)
-
Step 400
400 (this color)
#AFA86F
oklch(72.4% 0.077 102.1)
-
Step 500
500
#958C40
oklch(63.2% 0.098 102.6)
-
Step 600
600
#80751B
oklch(55.6% 0.106 102)
-
Step 700
700
#6C620B
oklch(49.1% 0.099 102.1)
-
Step 800
800
#58500F
oklch(42.7% 0.082 102)
-
Step 900
900
#484316
oklch(37.8% 0.064 103)
-
Step 950
950
#2A270E
oklch(26.9% 0.04 102.5)
#AFA86F 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) | #B2A46B | 0.011 |
| Deuteranopia (no green cones) | #B4A871 | 0.008 |
| Tritanopia (no blue cones) | #B8A19A | 0.069 |
| Achromatopsia (no color) | #A6A6A6 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA86F
#AFA86F
oklch(72.4% 0.077 102.1)
- #9EA0D5
#9EA0D5
oklch(72.3% 0.077 282.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 #AFA86F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Stone #ADA587 ΔE 0.035
- Bland #AFA88B ΔE 0.037
- Taupe #B9A281 ΔE 0.037
- Camel #C69F59 ΔE 0.040
- Dust #B2996E ΔE 0.041
- Sand Brown #CBA560 ΔE 0.042
- Toupe #C7AC7D ΔE 0.043
- Putty #BEAE8A ΔE 0.043
Use #AFA86F 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.