#AFB787
Closest named color: Putty (#BEAE8A). oklch(76.1% 0.066 115.7), rgb(175, 183, 135).
Aa
Black text reads best on this color (9.94:1).
About this color
#AFB787 is a medium-light, muted yellow. In OKLCH its lightness is 76%, its chroma 0.066 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.033 away. Black text reads best on it, at 9.94:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | muted (0.066) |
| Temperature | in between |
| Nearest name | Putty (#BEAE8A) |
| Black text | 9.94:1 |
| White text | 2.11:1 |
Values
| HEX | #AFB787 |
| RGB | rgb(175, 183, 135) |
| HSL | hsl(70, 25%, 62%) |
| OKLCH | oklch(76.1% 0.066 115.7) |
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 #AFB787 | 2.11:1 | Fails | Lc -46.0 | Large or bold text, headings |
| Black text on #AFB787 | 9.94:1 | AAA | Lc 62.6 | Content text, not long reading |
| #AFB787 text on white | 2.11:1 | Fails | Lc 41.4 | Non-text elements, placeholder text |
| #AFB787 text on black | 9.94:1 | AAA | Lc -60.9 | Content text, not long reading |
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 300.
-
Step 50
50
#F5F6F0
oklch(97.1% 0.008 114.2)
-
Step 100
100
#E9ECDD
oklch(93.7% 0.02 116)
-
Step 200
200
#D8DDC1
oklch(88.6% 0.038 115.4)
-
Step 300
300 (this color)
#AFB787
oklch(76.1% 0.066 115.7)
-
Step 400
400
#9EA959
oklch(70.8% 0.105 115.6)
-
Step 500
500
#86931C
oklch(63.2% 0.135 116.1)
-
Step 600
600
#717B00
oklch(55.5% 0.126 115.3)
-
Step 700
700
#5E6800
oklch(49.2% 0.113 116.2)
-
Step 800
800
#4D5500
oklch(42.8% 0.098 115.9)
-
Step 900
900
#404700
oklch(37.8% 0.086 116)
-
Step 950
950
#252905
oklch(26.8% 0.055 115.6)
#AFB787 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) | #BEB284 | 0.023 |
| Deuteranopia (no green cones) | #BDB389 | 0.023 |
| Tritanopia (no blue cones) | #B4B2AA | 0.055 |
| Achromatopsia (no color) | #B2B2B2 | 0.066 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB787
#AFB787
oklch(76.1% 0.066 115.7)
- #B4A9D7
#B4A9D7
oklch(76% 0.066 295.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 #AFB787, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Putty #BEAE8A ΔE 0.033
- Dark Khaki #BDB76B ΔE 0.036
- Dark Sea Green #8FBC8F ΔE 0.040
- Toupe #C7AC7D ΔE 0.041
- Tan Green #A9BE70 ΔE 0.041
- Sandstone #C9AE74 ΔE 0.041
- Bland #AFA88B ΔE 0.044
- Muted Teal #90B494 ΔE 0.044
Use #AFB787 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.