#AFA781
Closest named color: Stone (#ADA587). oklch(72.5% 0.053 97.6), rgb(175, 167, 129).
Aa
Black text reads best on this color (8.66:1).
About this color
#AFA781 is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.053 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.012 away. Black text reads best on it, at 8.66:1.
| Hue family | Yellows |
| Lightness | medium-light (73%) |
| Chroma | muted (0.053) |
| Temperature | warm |
| Nearest name | Stone (#ADA587) |
| Black text | 8.66:1 |
| White text | 2.42:1 |
Values
| HEX | #AFA781 |
| RGB | rgb(175, 167, 129) |
| HSL | hsl(50, 22%, 60%) |
| OKLCH | oklch(72.5% 0.053 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 #AFA781 | 2.42:1 | Fails | Lc -52.7 | Large or bold text, headings |
| Black text on #AFA781 | 8.66:1 | AAA | Lc 56.3 | Large or bold text, headings |
| #AFA781 text on white | 2.42:1 | Fails | Lc 47.7 | Large or bold text, headings |
| #AFA781 text on black | 8.66:1 | AAA | Lc -54.3 | 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
#F6F5F2
oklch(97% 0.004 91.4)
-
Step 100
100
#EBEAE3
oklch(93.6% 0.009 100)
-
Step 200
200
#DCD9CC
oklch(88.4% 0.018 96.1)
-
Step 300
300
#C6C1A9
oklch(80.9% 0.033 97.4)
-
Step 400
400 (this color)
#AFA781
oklch(72.5% 0.053 97.6)
-
Step 500
500
#948A5A
oklch(63% 0.067 97.9)
-
Step 600
600
#7F743F
oklch(55.7% 0.074 97.9)
-
Step 700
700
#6B6131
oklch(49.1% 0.068 97.8)
-
Step 800
800
#574F29
oklch(42.6% 0.057 97.7)
-
Step 900
900
#484226
oklch(37.8% 0.044 97.6)
-
Step 950
950
#2A2717
oklch(27.1% 0.028 98.9)
#AFA781 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) | #AFA57F | 0.005 |
| Deuteranopia (no green cones) | #B1A882 | 0.004 |
| Tritanopia (no blue cones) | #B6A19D | 0.049 |
| Achromatopsia (no color) | #A6A6A6 | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA781
#AFA781
oklch(72.5% 0.053 97.6)
- #9EA4C8
#9EA4C8
oklch(72.6% 0.053 277.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 #AFA781, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Stone #ADA587 ΔE 0.012
- Bland #AFA88B ΔE 0.013
- Taupe #B9A281 ΔE 0.019
- Cement #A5A391 ΔE 0.031
- Putty #BEAE8A ΔE 0.031
- Mushroom #BA9E88 ΔE 0.033
- Dust #B2996E ΔE 0.037
- Toupe #C7AC7D ΔE 0.040
Use #AFA781 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.