#AFA78C
Closest named color: Bland (#AFA88B). oklch(72.8% 0.039 93.4), rgb(175, 167, 140).
Aa
Black text reads best on this color (8.72:1).
About this color
#AFA78C is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.039 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.003 away. Black text reads best on it, at 8.72:1.
| Hue family | Yellows |
| Lightness | medium-light (73%) |
| Chroma | muted (0.039) |
| Temperature | warm |
| Nearest name | Bland (#AFA88B) |
| Black text | 8.72:1 |
| White text | 2.40:1 |
Values
| HEX | #AFA78C |
| RGB | rgb(175, 167, 140) |
| HSL | hsl(46, 18%, 62%) |
| OKLCH | oklch(72.8% 0.039 93.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 #AFA78C | 2.40:1 | Fails | Lc -52.4 | Large or bold text, headings |
| Black text on #AFA78C | 8.72:1 | AAA | Lc 56.6 | Large or bold text, headings |
| #AFA78C text on white | 2.40:1 | Fails | Lc 47.4 | Large or bold text, headings |
| #AFA78C text on black | 8.72:1 | AAA | Lc -54.6 | 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
#F6F5F3
oklch(97% 0.003 84.6)
-
Step 100
100
#EBEAE5
oklch(93.6% 0.007 97.4)
-
Step 200
200
#DCD9CF
oklch(88.5% 0.014 93)
-
Step 300
300
#C6C1AF
oklch(81% 0.025 94.1)
-
Step 400
400 (this color)
#AFA78C
oklch(72.8% 0.039 93.4)
-
Step 500
500
#938967
oklch(63% 0.05 93.6)
-
Step 600
600
#7E734F
oklch(55.6% 0.053 93.1)
-
Step 700
700
#6A6040
oklch(49% 0.049 92.8)
-
Step 800
800
#574F35
oklch(42.8% 0.041 93)
-
Step 900
900
#47412E
oklch(37.6% 0.032 92.6)
-
Step 950
950
#2A261B
oklch(26.9% 0.02 90.4)
#AFA78C 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) | #ADA68A | 0.005 |
| Deuteranopia (no green cones) | #AFA88D | 0.003 |
| Tritanopia (no blue cones) | #B5A39F | 0.034 |
| Achromatopsia (no color) | #A7A7A7 | 0.039 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA78C
#AFA78C
oklch(72.8% 0.039 93.4)
- #9FA6C0
#9FA6C0
oklch(72.8% 0.038 273.5)
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 #AFA78C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bland #AFA88B ΔE 0.003
- Stone #ADA587 ΔE 0.008
- Taupe #B9A281 ΔE 0.020
- Cement #A5A391 ΔE 0.021
- Mushroom #BA9E88 ΔE 0.027
- Putty #BEAE8A ΔE 0.031
- Dark Gray #A9A9A9 ΔE 0.039
- Pewter #96A8A1 ΔE 0.042
Use #AFA78C 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.