#AFBC8B
Closest named color: Dark Khaki (#BDB76B). oklch(77.3% 0.068 120.1), rgb(175, 188, 139).
Aa
Black text reads best on this color (10.38:1).
About this color
#AFBC8B is a medium-light, muted yellow. In OKLCH its lightness is 77%, its chroma 0.068 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.038 away. Black text reads best on it, at 10.38:1.
| Hue family | Yellows |
| Lightness | medium-light (77%) |
| Chroma | muted (0.068) |
| Temperature | in between |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 10.38:1 |
| White text | 2.02:1 |
Values
| HEX | #AFBC8B |
| RGB | rgb(175, 188, 139) |
| HSL | hsl(76, 27%, 64%) |
| OKLCH | oklch(77.3% 0.068 120.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 #AFBC8B | 2.02:1 | Fails | Lc -43.7 | Non-text elements, placeholder text |
| Black text on #AFBC8B | 10.38:1 | AAA | Lc 64.7 | Content text, not long reading |
| #AFBC8B text on white | 2.02:1 | Fails | Lc 39.3 | Non-text elements, placeholder text |
| #AFBC8B text on black | 10.38:1 | AAA | Lc -63.1 | 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
#F4F6F0
oklch(97% 0.008 121.6)
-
Step 100
100
#E8ECDE
oklch(93.6% 0.019 119.8)
-
Step 200
200
#D5DDC2
oklch(88.4% 0.037 120.6)
-
Step 300
300 (this color)
#AFBC8B
oklch(77.3% 0.068 120.1)
-
Step 400
400
#98AB59
oklch(70.8% 0.11 120)
-
Step 500
500
#7F951E
oklch(63.1% 0.14 120.1)
-
Step 600
600
#6A7E00
oklch(55.7% 0.132 120.1)
-
Step 700
700
#596A00
oklch(49.3% 0.117 120.1)
-
Step 800
800
#485600
oklch(42.6% 0.101 120)
-
Step 900
900
#3C4800
oklch(37.7% 0.09 119.9)
-
Step 950
950
#232A05
oklch(26.9% 0.057 119.6)
#AFBC8B 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) | #C2B688 | 0.029 |
| Deuteranopia (no green cones) | #C1B68D | 0.030 |
| Tritanopia (no blue cones) | #B3B7AF | 0.056 |
| Achromatopsia (no color) | #B6B6B6 | 0.068 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFBC8B
#AFBC8B
oklch(77.3% 0.068 120.1)
- #BBACDB
#BBACDB
oklch(77.3% 0.068 299.4)
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 #AFBC8B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.038
- Tan Green #A9BE70 ΔE 0.038
- Dark Sea Green #8FBC8F ΔE 0.040
- Putty #BEAE8A ΔE 0.041
- Light Olive #ACBF69 ΔE 0.045
- Sandstone #C9AE74 ΔE 0.048
- Toupe #C7AC7D ΔE 0.049
- Muted Teal #90B494 ΔE 0.050
Use #AFBC8B 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.