#AFA98F
Closest named color: Bland (#AFA88B). oklch(73.3% 0.037 96.4), rgb(175, 169, 143).
Aa
Black text reads best on this color (8.89:1).
About this color
#AFA98F is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.037 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.005 away. Black text reads best on it, at 8.89:1.
| Hue family | Yellows |
| Lightness | medium-light (73%) |
| Chroma | muted (0.037) |
| Temperature | warm |
| Nearest name | Bland (#AFA88B) |
| Black text | 8.89:1 |
| White text | 2.36:1 |
Values
| HEX | #AFA98F |
| RGB | rgb(175, 169, 143) |
| HSL | hsl(49, 17%, 62%) |
| OKLCH | oklch(73.3% 0.037 96.4) |
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 #AFA98F | 2.36:1 | Fails | Lc -51.5 | Large or bold text, headings |
| Black text on #AFA98F | 8.89:1 | AAA | Lc 57.4 | Large or bold text, headings |
| #AFA98F text on white | 2.36:1 | Fails | Lc 46.6 | Large or bold text, headings |
| #AFA98F text on black | 8.89:1 | AAA | Lc -55.5 | 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
#EBEAE5
oklch(93.6% 0.007 97.4)
-
Step 200
200
#DBD9D0
oklch(88.4% 0.012 96.4)
-
Step 300
300
#C5C1B0
oklch(80.9% 0.024 96)
-
Step 400
400 (this color)
#AFA98F
oklch(73.3% 0.037 96.4)
-
Step 500
500
#918A69
oklch(63.1% 0.048 97.5)
-
Step 600
600
#7C7451
oklch(55.7% 0.051 96.8)
-
Step 700
700
#686141
oklch(49.1% 0.048 97.3)
-
Step 800
800
#554F36
oklch(42.6% 0.039 96.3)
-
Step 900
900
#46422F
oklch(37.7% 0.031 97.6)
-
Step 950
950
#29271C
oklch(27.1% 0.02 98.9)
#AFA98F 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) | #AFA78D | 0.005 |
| Deuteranopia (no green cones) | #B0AA90 | 0.003 |
| Tritanopia (no blue cones) | #B4A5A2 | 0.034 |
| Achromatopsia (no color) | #A9A9A9 | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA98F
#AFA98F
oklch(73.3% 0.037 96.4)
- #A2A7C0
#A2A7C0
oklch(73.3% 0.037 276.5)
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 #AFA98F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bland #AFA88B ΔE 0.005
- Stone #ADA587 ΔE 0.013
- Taupe #B9A281 ΔE 0.024
- Cement #A5A391 ΔE 0.024
- Putty #BEAE8A ΔE 0.028
- Mushroom #BA9E88 ΔE 0.030
- Dark Gray #A9A9A9 ΔE 0.037
- Pewter #96A8A1 ΔE 0.041
Use #AFA98F 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.