#AFAE71
Closest named color: Dark Khaki (#BDB76B). oklch(73.7% 0.081 107.4), rgb(175, 174, 113).
Aa
Black text reads best on this color (9.11:1).
About this color
#AFAE71 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.081 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.035 away. Black text reads best on it, at 9.11:1.
| Hue family | Yellows |
| Lightness | medium-light (74%) |
| Chroma | moderately saturated (0.081) |
| Temperature | warm |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 9.11:1 |
| White text | 2.30:1 |
Values
| HEX | #AFAE71 |
| RGB | rgb(175, 174, 113) |
| HSL | hsl(59, 28%, 56%) |
| OKLCH | oklch(73.7% 0.081 107.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 #AFAE71 | 2.30:1 | Fails | Lc -50.3 | Large or bold text, headings |
| Black text on #AFAE71 | 9.11:1 | AAA | Lc 58.6 | Large or bold text, headings |
| #AFAE71 text on white | 2.30:1 | Fails | Lc 45.4 | Large or bold text, headings |
| #AFAE71 text on black | 9.11:1 | AAA | Lc -56.7 | 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
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#EBEBE0
oklch(93.7% 0.015 106.7)
-
Step 200
200
#DBDBC6
oklch(88.6% 0.028 107)
-
Step 300
300
#C4C39E
oklch(80.8% 0.05 106.2)
-
Step 400
400 (this color)
#AFAE71
oklch(73.7% 0.081 107.4)
-
Step 500
500
#908E3C
oklch(63.1% 0.104 107.8)
-
Step 600
600
#7B7714
oklch(55.5% 0.112 107.1)
-
Step 700
700
#676401
oklch(49% 0.105 107.7)
-
Step 800
800
#54520A
oklch(42.7% 0.087 107.9)
-
Step 900
900
#454413
oklch(37.7% 0.068 108.1)
-
Step 950
950
#29280D
oklch(27.1% 0.043 107)
#AFAE71 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) | #B8A96D | 0.017 |
| Deuteranopia (no green cones) | #B9AC74 | 0.016 |
| Tritanopia (no blue cones) | #B7A79F | 0.073 |
| Achromatopsia (no color) | #ABABAB | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFAE71
#AFAE71
oklch(73.7% 0.081 107.4)
- #A6A2DB
#A6A2DB
oklch(73.6% 0.082 287.4)
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 #AFAE71, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.035
- Sandstone #C9AE74 ΔE 0.039
- Toupe #C7AC7D ΔE 0.041
- Putty #BEAE8A ΔE 0.041
- Bland #AFA88B ΔE 0.043
- Lichen #8FB67B ΔE 0.043
- Desert #CCAD60 ΔE 0.044
- Stone #ADA587 ΔE 0.044
Use #AFAE71 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.