#AFA27C
Closest named color: Stone (#ADA587). oklch(71.4% 0.054 91.4), rgb(175, 162, 124).
Aa
Black text reads best on this color (8.28:1).
About this color
#AFA27C is a medium-light, muted yellow. In OKLCH its lightness is 71%, its chroma 0.054 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.014 away. Black text reads best on it, at 8.28:1.
| Hue family | Yellows |
| Lightness | medium-light (71%) |
| Chroma | muted (0.054) |
| Temperature | warm |
| Nearest name | Stone (#ADA587) |
| Black text | 8.28:1 |
| White text | 2.53:1 |
Values
| HEX | #AFA27C |
| RGB | rgb(175, 162, 124) |
| HSL | hsl(45, 24%, 59%) |
| OKLCH | oklch(71.4% 0.054 91.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 #AFA27C | 2.53:1 | Fails | Lc -54.8 | Large or bold text, headings |
| Black text on #AFA27C | 8.28:1 | AAA | Lc 54.3 | Large or bold text, headings |
| #AFA27C text on white | 2.53:1 | Fails | Lc 49.7 | Large or bold text, headings |
| #AFA27C text on black | 8.28:1 | AAA | Lc -52.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
#ECEAE3
oklch(93.7% 0.01 93.6)
-
Step 200
200
#DDD9CB
oklch(88.5% 0.019 93.7)
-
Step 300
300
#C8C0A8
oklch(80.8% 0.034 91.7)
-
Step 400
400 (this color)
#AFA27C
oklch(71.4% 0.054 91.4)
-
Step 500
500
#998858
oklch(63.1% 0.069 90.7)
-
Step 600
600
#84723D
oklch(55.7% 0.075 91.1)
-
Step 700
700
#6F5F2F
oklch(49% 0.07 91.3)
-
Step 800
800
#5B4E28
oklch(42.8% 0.058 91)
-
Step 900
900
#4A4125
oklch(37.7% 0.045 92.2)
-
Step 950
950
#2C2616
oklch(27.1% 0.029 89.8)
#AFA27C 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) | #AAA07A | 0.010 |
| Deuteranopia (no green cones) | #AEA47D | 0.005 |
| Tritanopia (no blue cones) | #B79C98 | 0.049 |
| Achromatopsia (no color) | #A3A3A3 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA27C
#AFA27C
oklch(71.4% 0.054 91.4)
- #96A1C5
#96A1C5
oklch(71.3% 0.054 271.7)
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 #AFA27C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Stone #ADA587 ΔE 0.014
- Taupe #B9A281 ΔE 0.017
- Bland #AFA88B ΔE 0.021
- Dust #B2996E ΔE 0.025
- Mushroom #BA9E88 ΔE 0.029
- Cement #A5A391 ΔE 0.030
- Putty #BEAE8A ΔE 0.042
- Pale Brown #B1916E ΔE 0.043
Use #AFA27C 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.