#A7AF97
Closest named color: Bland (#AFA88B). oklch(74.1% 0.035 122.3), rgb(167, 175, 151).
Aa
Black text reads best on this color (9.22:1).
About this color
#A7AF97 is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.035 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.021 away. Black text reads best on it, at 9.22:1.
| Hue family | Yellows |
| Lightness | medium-light (74%) |
| Chroma | muted (0.035) |
| Temperature | in between |
| Nearest name | Bland (#AFA88B) |
| Black text | 9.22:1 |
| White text | 2.27:1 |
Values
| HEX | #A7AF97 |
| RGB | rgb(167, 175, 151) |
| HSL | hsl(80, 13%, 64%) |
| OKLCH | oklch(74.1% 0.035 122.3) |
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 #A7AF97 | 2.27:1 | Fails | Lc -49.8 | Large or bold text, headings |
| Black text on #A7AF97 | 9.22:1 | AAA | Lc 59.1 | Large or bold text, headings |
| #A7AF97 text on white | 2.27:1 | Fails | Lc 44.9 | Non-text elements, placeholder text |
| #A7AF97 text on black | 9.22:1 | AAA | Lc -57.2 | 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
#F5F6F4
oklch(97.2% 0.003 128.5)
-
Step 100
100
#E9EAE6
oklch(93.5% 0.005 117.9)
-
Step 200
200
#D7DAD2
oklch(88.4% 0.011 123.5)
-
Step 300
300
#BEC3B4
oklch(80.9% 0.021 121.9)
-
Step 400
400 (this color)
#A7AF97
oklch(74.1% 0.035 122.3)
-
Step 500
500
#858E70
oklch(63.1% 0.045 121.2)
-
Step 600
600
#6E7859
oklch(55.6% 0.048 122.5)
-
Step 700
700
#5C6549
oklch(49.1% 0.044 122.5)
-
Step 800
800
#4B523C
oklch(42.6% 0.036 122.3)
-
Step 900
900
#3F4433
oklch(37.7% 0.029 121.1)
-
Step 950
950
#25281E
oklch(27% 0.018 121.2)
#A7AF97 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) | #B2AC96 | 0.016 |
| Deuteranopia (no green cones) | #B1AC98 | 0.016 |
| Tritanopia (no blue cones) | #A9ACA8 | 0.028 |
| Achromatopsia (no color) | #ACACAC | 0.035 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A7AF97
#A7AF97
oklch(74.1% 0.035 122.3)
- #AFA6BE
#AFA6BE
oklch(74% 0.035 302.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 #A7AF97, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bland #AFA88B ΔE 0.021
- Stone #ADA587 ΔE 0.028
- Cement #A5A391 ΔE 0.032
- Muted Teal #90B494 ΔE 0.033
- Putty #BEAE8A ΔE 0.034
- Dark Gray #A9A9A9 ΔE 0.035
- Pewter #96A8A1 ΔE 0.036
- Taupe #B9A281 ΔE 0.041
Use #A7AF97 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.