#AFB47B
Closest named color: Dark Khaki (#BDB76B). oklch(75.2% 0.077 112.3), rgb(175, 180, 123).
Aa
Black text reads best on this color (9.63:1).
About this color
#AFB47B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.077 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.029 away. Black text reads best on it, at 9.63:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.077) |
| Temperature | in between |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 9.63:1 |
| White text | 2.17:1 |
Values
| HEX | #AFB47B |
| RGB | rgb(175, 180, 123) |
| HSL | hsl(65, 28%, 59%) |
| OKLCH | oklch(75.2% 0.077 112.3) |
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 #AFB47B | 2.17:1 | Fails | Lc -47.6 | Large or bold text, headings |
| Black text on #AFB47B | 9.63:1 | AAA | Lc 61.1 | Content text, not long reading |
| #AFB47B text on white | 2.17:1 | Fails | Lc 42.8 | Non-text elements, placeholder text |
| #AFB47B text on black | 9.63:1 | AAA | Lc -59.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
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#EAEBE1
oklch(93.7% 0.013 111.3)
-
Step 200
200
#D9DBC7
oklch(88.4% 0.027 111.6)
-
Step 300
300
#C1C4A1
oklch(80.9% 0.048 111.4)
-
Step 400
400 (this color)
#AFB47B
oklch(75.2% 0.077 112.3)
-
Step 500
500
#8A8F45
oklch(62.9% 0.098 112.3)
-
Step 600
600
#757924
oklch(55.6% 0.106 112)
-
Step 700
700
#626616
oklch(49.1% 0.099 112.4)
-
Step 800
800
#505316
oklch(42.7% 0.082 112.1)
-
Step 900
900
#424519
oklch(37.7% 0.064 112.7)
-
Step 950
950
#272810
oklch(26.9% 0.04 110.9)
#AFB47B 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) | #BCAF77 | 0.021 |
| Deuteranopia (no green cones) | #BCB07D | 0.022 |
| Tritanopia (no blue cones) | #B6ADA5 | 0.068 |
| Achromatopsia (no color) | #B0B0B0 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB47B
#AFB47B
oklch(75.2% 0.077 112.3)
- #AFA6DC
#AFA6DC
oklch(75.2% 0.077 292.1)
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 #AFB47B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.029
- Tan Green #A9BE70 ΔE 0.035
- Putty #BEAE8A ΔE 0.037
- Sandstone #C9AE74 ΔE 0.038
- Toupe #C7AC7D ΔE 0.040
- Lichen #8FB67B ΔE 0.042
- Light Olive #ACBF69 ΔE 0.043
- Dark Sea Green #8FBC8F ΔE 0.044
Use #AFB47B 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.