#AFAF8B
Closest named color: Bland (#AFA88B). oklch(74.5% 0.05 107.5), rgb(175, 175, 139).
Aa
Black text reads best on this color (9.32:1).
About this color
#AFAF8B is a medium-light, muted yellow. In OKLCH its lightness is 74%, its chroma 0.050 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.019 away. Black text reads best on it, at 9.32:1.
| Hue family | Yellows |
| Lightness | medium-light (74%) |
| Chroma | muted (0.050) |
| Temperature | warm |
| Nearest name | Bland (#AFA88B) |
| Black text | 9.32:1 |
| White text | 2.25:1 |
Values
| HEX | #AFAF8B |
| RGB | rgb(175, 175, 139) |
| HSL | hsl(60, 18%, 62%) |
| OKLCH | oklch(74.5% 0.05 107.5) |
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 #AFAF8B | 2.25:1 | Fails | Lc -49.2 | Large or bold text, headings |
| Black text on #AFAF8B | 9.32:1 | AAA | Lc 59.6 | Large or bold text, headings |
| #AFAF8B text on white | 2.25:1 | Fails | Lc 44.4 | Non-text elements, placeholder text |
| #AFAF8B text on black | 9.32:1 | AAA | Lc -57.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
#F6F6F2
oklch(97.2% 0.005 106.5)
-
Step 100
100
#EAEAE4
oklch(93.5% 0.008 106.6)
-
Step 200
200
#DADACD
oklch(88.5% 0.018 106.8)
-
Step 300
300
#C2C2AC
oklch(80.8% 0.03 107.1)
-
Step 400
400 (this color)
#AFAF8B
oklch(74.5% 0.05 107.5)
-
Step 500
500
#8D8D5F
oklch(63.2% 0.064 108.1)
-
Step 600
600
#777646
oklch(55.5% 0.068 107.4)
-
Step 700
700
#646337
oklch(49% 0.064 107.4)
-
Step 800
800
#52512E
oklch(42.7% 0.053 107)
-
Step 900
900
#444329
oklch(37.7% 0.041 106.3)
-
Step 950
950
#282718
oklch(26.9% 0.026 104.8)
#AFAF8B 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) | #B5AC89 | 0.011 |
| Deuteranopia (no green cones) | #B6AE8C | 0.011 |
| Tritanopia (no blue cones) | #B4AAA5 | 0.044 |
| Achromatopsia (no color) | #ADADAD | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFAF8B
#AFAF8B
oklch(74.5% 0.05 107.5)
- #AAA8CB
#AAA8CB
oklch(74.5% 0.05 287.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 #AFAF8B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bland #AFA88B ΔE 0.019
- Putty #BEAE8A ΔE 0.021
- Stone #ADA587 ΔE 0.027
- Taupe #B9A281 ΔE 0.034
- Toupe #C7AC7D ΔE 0.036
- Muted Teal #90B494 ΔE 0.040
- Cement #A5A391 ΔE 0.041
- Sandstone #C9AE74 ΔE 0.044
Use #AFAF8B 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.