#AFA888
Closest named color: Bland (#AFA88B). oklch(72.9% 0.045 97.1), rgb(175, 168, 136).
Aa
Black text reads best on this color (8.77:1).
About this color
#AFA888 is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.045 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.004 away. Black text reads best on it, at 8.77:1.
| Hue family | Yellows |
| Lightness | medium-light (73%) |
| Chroma | muted (0.045) |
| Temperature | warm |
| Nearest name | Bland (#AFA88B) |
| Black text | 8.77:1 |
| White text | 2.39:1 |
Values
| HEX | #AFA888 |
| RGB | rgb(175, 168, 136) |
| HSL | hsl(49, 20%, 61%) |
| OKLCH | oklch(72.9% 0.045 97.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 #AFA888 | 2.39:1 | Fails | Lc -52.1 | Large or bold text, headings |
| Black text on #AFA888 | 8.77:1 | AAA | Lc 56.9 | Large or bold text, headings |
| #AFA888 text on white | 2.39:1 | Fails | Lc 47.1 | Large or bold text, headings |
| #AFA888 text on black | 8.77:1 | AAA | Lc -54.9 | 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
#F6F5F3
oklch(97% 0.003 84.6)
-
Step 100
100
#EBEAE4
oklch(93.6% 0.008 98.9)
-
Step 200
200
#DCD9CE
oklch(88.5% 0.015 94.2)
-
Step 300
300
#C5C1AD
oklch(80.9% 0.028 97.7)
-
Step 400
400 (this color)
#AFA888
oklch(72.9% 0.045 97.1)
-
Step 500
500
#938A62
oklch(63.1% 0.057 97)
-
Step 600
600
#7D7448
oklch(55.6% 0.063 98.1)
-
Step 700
700
#6A613A
oklch(49.1% 0.058 96.7)
-
Step 800
800
#564F30
oklch(42.6% 0.048 97)
-
Step 900
900
#47422B
oklch(37.8% 0.037 97.4)
-
Step 950
950
#2A2719
oklch(27.2% 0.025 97.5)
#AFA888 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) | #AFA686 | 0.005 |
| Deuteranopia (no green cones) | #B1A989 | 0.004 |
| Tritanopia (no blue cones) | #B5A39F | 0.041 |
| Achromatopsia (no color) | #A7A7A7 | 0.045 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA888
#AFA888
oklch(72.9% 0.045 97.1)
- #A0A5C4
#A0A5C4
oklch(72.8% 0.045 278)
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 #AFA888, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bland #AFA88B ΔE 0.004
- Stone #ADA587 ΔE 0.009
- Taupe #B9A281 ΔE 0.020
- Cement #A5A391 ΔE 0.026
- Putty #BEAE8A ΔE 0.029
- Mushroom #BA9E88 ΔE 0.031
- Toupe #C7AC7D ΔE 0.041
- Dust #B2996E ΔE 0.043
Use #AFA888 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.