#AFAF7A
Closest named color: Putty (#BEAE8A). oklch(74.1% 0.071 108), rgb(175, 175, 122).
Aa
Black text reads best on this color (9.23:1).
About this color
#AFAF7A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.071 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.033 away. Black text reads best on it, at 9.23:1.
| Hue family | Yellows |
| Lightness | medium-light (74%) |
| Chroma | moderately saturated (0.071) |
| Temperature | warm |
| Nearest name | Putty (#BEAE8A) |
| Black text | 9.23:1 |
| White text | 2.27:1 |
Values
| HEX | #AFAF7A |
| RGB | rgb(175, 175, 122) |
| HSL | hsl(60, 25%, 58%) |
| OKLCH | oklch(74.1% 0.071 108) |
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 #AFAF7A | 2.27:1 | Fails | Lc -49.7 | Large or bold text, headings |
| Black text on #AFAF7A | 9.23:1 | AAA | Lc 59.1 | Large or bold text, headings |
| #AFAF7A text on white | 2.27:1 | Fails | Lc 44.8 | Non-text elements, placeholder text |
| #AFAF7A text on black | 9.23:1 | AAA | Lc -57.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
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#EAEBE1
oklch(93.7% 0.013 111.3)
-
Step 200
200
#DADBC8
oklch(88.5% 0.026 109.4)
-
Step 300
300
#C3C3A2
oklch(80.9% 0.045 107.4)
-
Step 400
400 (this color)
#AFAF7A
oklch(74.1% 0.071 108)
-
Step 500
500
#8F8E49
oklch(63.2% 0.092 108)
-
Step 600
600
#797729
oklch(55.5% 0.099 107.8)
-
Step 700
700
#66641C
oklch(49.1% 0.092 107.8)
-
Step 800
800
#53521A
oklch(42.7% 0.076 108.3)
-
Step 900
900
#45441B
oklch(37.8% 0.06 107.7)
-
Step 950
950
#282811
oklch(27% 0.038 108.7)
#AFAF7A 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) | #B8AB76 | 0.015 |
| Deuteranopia (no green cones) | #B8AD7C | 0.015 |
| Tritanopia (no blue cones) | #B6A8A1 | 0.064 |
| Achromatopsia (no color) | #ACACAC | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFAF7A
#AFAF7A
oklch(74.1% 0.071 108)
- #A8A4D6
#A8A4D6
oklch(74% 0.072 288.2)
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 #AFAF7A, 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.034
- Toupe #C7AC7D ΔE 0.037
- Sandstone #C9AE74 ΔE 0.037
- Stone #ADA587 ΔE 0.037
- Dark Khaki #BDB76B ΔE 0.038
- Taupe #B9A281 ΔE 0.042
- Lichen #8FB67B ΔE 0.044
Use #AFAF7A 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.