#AFA298
Closest named color: Cement (#A5A391). oklch(72% 0.021 60.1), rgb(175, 162, 152).
Aa
Black text reads best on this color (8.44:1).
About this color
#AFA298 is a medium-light close to neutral grey. In OKLCH its lightness is 72%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Cement (#A5A391), ΔE 0.019 away. Black text reads best on it, at 8.44:1.
| Hue family | Neutrals |
| Lightness | medium-light (72%) |
| Chroma | close to neutral grey (0.021) |
| Temperature | neutral |
| Nearest name | Cement (#A5A391) |
| Black text | 8.44:1 |
| White text | 2.48:1 |
Values
| HEX | #AFA298 |
| RGB | rgb(175, 162, 152) |
| HSL | hsl(26, 13%, 64%) |
| OKLCH | oklch(72% 0.021 60.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 #AFA298 | 2.48:1 | Fails | Lc -53.9 | Large or bold text, headings |
| Black text on #AFA298 | 8.44:1 | AAA | Lc 55.1 | Large or bold text, headings |
| #AFA298 text on white | 2.48:1 | Fails | Lc 48.9 | Large or bold text, headings |
| #AFA298 text on black | 8.44:1 | AAA | Lc -53.1 | 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
#F6F5F4
oklch(97.1% 0.002 67.8)
-
Step 100
100
#ECE9E7
oklch(93.6% 0.004 56.4)
-
Step 200
200
#DDD8D4
oklch(88.5% 0.008 61.4)
-
Step 300
300
#C7BFB8
oklch(80.9% 0.013 63.9)
-
Step 400
400 (this color)
#AFA298
oklch(72% 0.021 60.1)
-
Step 500
500
#96867A
oklch(63.1% 0.026 59.2)
-
Step 600
600
#807063
oklch(55.6% 0.028 61.3)
-
Step 700
700
#6D5D52
oklch(49.1% 0.027 56.5)
-
Step 800
800
#584C43
oklch(42.6% 0.022 59)
-
Step 900
900
#494038
oklch(37.8% 0.018 63.9)
-
Step 950
950
#2B2521
oklch(27% 0.012 55.8)
#AFA298 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) | #A6A397 | 0.013 |
| Deuteranopia (no green cones) | #A9A598 | 0.011 |
| Tritanopia (no blue cones) | #B49F9F | 0.017 |
| Achromatopsia (no color) | #A4A4A4 | 0.021 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA298
#AFA298
oklch(72% 0.021 60.1)
- #9AA7B1
#9AA7B1
oklch(72.1% 0.021 240.8)
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 #AFA298, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cement #A5A391 ΔE 0.019
- Mushroom #BA9E88 ΔE 0.025
- Dark Gray #A9A9A9 ΔE 0.025
- Stone #ADA587 ΔE 0.028
- Bland #AFA88B ΔE 0.029
- Taupe #B9A281 ΔE 0.034
- Pewter #96A8A1 ΔE 0.036
- Cool Grey #95A3A6 ΔE 0.039
Use #AFA298 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.