#AFB97D
Closest named color: Dark Khaki (#BDB76B). oklch(76.3% 0.081 116.1), rgb(175, 185, 125).
Aa
Black text reads best on this color (10.05:1).
About this color
#AFB97D is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.081 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.025 away. Black text reads best on it, at 10.05:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.081) |
| Temperature | in between |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 10.05:1 |
| White text | 2.08:1 |
Values
| HEX | #AFB97D |
| RGB | rgb(175, 185, 125) |
| HSL | hsl(70, 30%, 61%) |
| OKLCH | oklch(76.3% 0.081 116.1) |
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 #AFB97D | 2.08:1 | Fails | Lc -45.4 | Large or bold text, headings |
| Black text on #AFB97D | 10.05:1 | AAA | Lc 63.1 | Content text, not long reading |
| #AFB97D text on white | 2.08:1 | Fails | Lc 40.8 | Non-text elements, placeholder text |
| #AFB97D text on black | 10.05:1 | AAA | Lc -61.5 | 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
#F5F6EE
oklch(97% 0.011 112.4)
-
Step 100
100
#E9ECDB
oklch(93.6% 0.023 115)
-
Step 200
200
#D7DDBC
oklch(88.4% 0.044 115.7)
-
Step 300
300 (this color)
#AFB97D
oklch(76.3% 0.081 116.1)
-
Step 400
400
#9DAA41
oklch(70.7% 0.13 115.8)
-
Step 500
500
#869300
oklch(63.1% 0.144 115.9)
-
Step 600
600
#707C00
oklch(55.7% 0.128 116.3)
-
Step 700
700
#5E6800
oklch(49.2% 0.113 116.2)
-
Step 800
800
#4D5500
oklch(42.8% 0.098 115.9)
-
Step 900
900
#404700
oklch(37.8% 0.086 116)
-
Step 950
950
#252A00
oklch(27.1% 0.062 116.5)
#AFB97D 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) | #C1B379 | 0.028 |
| Deuteranopia (no green cones) | #C0B480 | 0.028 |
| Tritanopia (no blue cones) | #B5B3AA | 0.069 |
| Achromatopsia (no color) | #B3B3B3 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB97D
#AFB97D
oklch(76.3% 0.081 116.1)
- #B6A8E0
#B6A8E0
oklch(76.3% 0.08 295.9)
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 #AFB97D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.025
- Tan Green #A9BE70 ΔE 0.026
- Light Olive #ACBF69 ΔE 0.034
- Dark Sea Green #8FBC8F ΔE 0.042
- Sandstone #C9AE74 ΔE 0.043
- Lichen #8FB67B ΔE 0.044
- Putty #BEAE8A ΔE 0.045
- Light Moss Green #A6C875 ΔE 0.046
Use #AFB97D 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.