#AFA98C
Closest named color: Bland (#AFA88B). oklch(73.2% 0.041 97.6), rgb(175, 169, 140).
Aa
Black text reads best on this color (8.87:1).
About this color
#AFA98C is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.041 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.003 away. Black text reads best on it, at 8.87:1.
| Hue family | Yellows |
| Lightness | medium-light (73%) |
| Chroma | muted (0.041) |
| Temperature | warm |
| Nearest name | Bland (#AFA88B) |
| Black text | 8.87:1 |
| White text | 2.36:1 |
Values
| HEX | #AFA98C |
| RGB | rgb(175, 169, 140) |
| HSL | hsl(50, 18%, 62%) |
| OKLCH | oklch(73.2% 0.041 97.6) |
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 #AFA98C | 2.36:1 | Fails | Lc -51.6 | Large or bold text, headings |
| Black text on #AFA98C | 8.87:1 | AAA | Lc 57.3 | Large or bold text, headings |
| #AFA98C text on white | 2.36:1 | Fails | Lc 46.6 | Large or bold text, headings |
| #AFA98C text on black | 8.87:1 | AAA | Lc -55.4 | 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
#DBD9CF
oklch(88.4% 0.014 97.5)
-
Step 300
300
#C5C1AF
oklch(80.9% 0.025 96.6)
-
Step 400
400 (this color)
#AFA98C
oklch(73.2% 0.041 97.6)
-
Step 500
500
#928A66
oklch(63.1% 0.052 97.1)
-
Step 600
600
#7C744D
oklch(55.6% 0.057 98)
-
Step 700
700
#69613E
oklch(49.1% 0.052 96.8)
-
Step 800
800
#554F33
oklch(42.6% 0.043 97.5)
-
Step 900
900
#46422D
oklch(37.7% 0.034 98.6)
-
Step 950
950
#29271A
oklch(27.1% 0.023 100.4)
#AFA98C 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) | #AFA78A | 0.005 |
| Deuteranopia (no green cones) | #B1A98D | 0.003 |
| Tritanopia (no blue cones) | #B5A5A1 | 0.037 |
| Achromatopsia (no color) | #A8A8A8 | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA98C
#AFA98C
oklch(73.2% 0.041 97.6)
- #A2A6C2
#A2A6C2
oklch(73.1% 0.041 278.9)
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 #AFA98C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bland #AFA88B ΔE 0.003
- Stone #ADA587 ΔE 0.012
- Taupe #B9A281 ΔE 0.022
- Cement #A5A391 ΔE 0.025
- Putty #BEAE8A ΔE 0.027
- Mushroom #BA9E88 ΔE 0.031
- Dark Gray #A9A9A9 ΔE 0.041
- Toupe #C7AC7D ΔE 0.041
Use #AFA98C 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.