#AFB997
Closest named color: Putty (#BEAE8A). oklch(76.9% 0.048 120.9), rgb(175, 185, 151).
Aa
Black text reads best on this color (10.20:1).
About this color
#AFB997 is a medium-light, muted yellow. In OKLCH its lightness is 77%, its chroma 0.048 and its hue 121°. 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 10.20:1.
| Hue family | Yellows |
| Lightness | medium-light (77%) |
| Chroma | muted (0.048) |
| Temperature | in between |
| Nearest name | Putty (#BEAE8A) |
| Black text | 10.20:1 |
| White text | 2.05:1 |
Values
| HEX | #AFB997 |
| RGB | rgb(175, 185, 151) |
| HSL | hsl(78, 20%, 66%) |
| OKLCH | oklch(76.9% 0.048 120.9) |
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 #AFB997 | 2.05:1 | Fails | Lc -44.7 | Non-text elements, placeholder text |
| Black text on #AFB997 | 10.20:1 | AAA | Lc 63.8 | Content text, not long reading |
| #AFB997 text on white | 2.05:1 | Fails | Lc 40.1 | Non-text elements, placeholder text |
| #AFB997 text on black | 10.20:1 | AAA | Lc -62.2 | 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
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#E8EBE1
oklch(93.5% 0.014 120.3)
-
Step 200
200
#D6DCC9
oklch(88.5% 0.026 121.2)
-
Step 300
300 (this color)
#AFB997
oklch(76.9% 0.048 120.9)
-
Step 400
400
#99A872
oklch(70.6% 0.076 121)
-
Step 500
500
#81934B
oklch(63.2% 0.1 120.9)
-
Step 600
600
#6A7C2D
oklch(55.5% 0.106 120.9)
-
Step 700
700
#59691F
oklch(49.2% 0.1 120.7)
-
Step 800
800
#48561C
oklch(42.8% 0.083 121.5)
-
Step 900
900
#3D471D
oklch(37.8% 0.065 120.7)
-
Step 950
950
#232912
oklch(26.8% 0.04 121.1)
#AFB997 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) | #BEB595 | 0.022 |
| Deuteranopia (no green cones) | #BCB598 | 0.021 |
| Tritanopia (no blue cones) | #B2B5B0 | 0.041 |
| Achromatopsia (no color) | #B5B5B5 | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB997
#AFB997
oklch(76.9% 0.048 120.9)
- #B9ADCE
#B9ADCE
oklch(76.8% 0.048 301.8)
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 #AFB997, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Putty #BEAE8A ΔE 0.033
- Bland #AFA88B ΔE 0.044
- Muted Teal #90B494 ΔE 0.044
- Dark Sea Green #8FBC8F ΔE 0.044
- Toupe #C7AC7D ΔE 0.047
- Tan #D2B48C ΔE 0.049
- Ash Gray #BFC8AD ΔE 0.051
- Sandstone #C9AE74 ΔE 0.052
Use #AFB997 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.