#AFBC8D
Closest named color: Dark Khaki (#BDB76B). oklch(77.3% 0.066 120.5), rgb(175, 188, 141).
Aa
Black text reads best on this color (10.40:1).
About this color
#AFBC8D is a medium-light, muted yellow. In OKLCH its lightness is 77%, its chroma 0.066 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.040 away. Black text reads best on it, at 10.40:1.
| Hue family | Yellows |
| Lightness | medium-light (77%) |
| Chroma | muted (0.066) |
| Temperature | in between |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 10.40:1 |
| White text | 2.01:1 |
Values
| HEX | #AFBC8D |
| RGB | rgb(175, 188, 141) |
| HSL | hsl(77, 26%, 65%) |
| OKLCH | oklch(77.3% 0.066 120.5) |
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 #AFBC8D | 2.01:1 | Fails | Lc -43.7 | Non-text elements, placeholder text |
| Black text on #AFBC8D | 10.40:1 | AAA | Lc 64.7 | Content text, not long reading |
| #AFBC8D text on white | 2.01:1 | Fails | Lc 39.2 | Non-text elements, placeholder text |
| #AFBC8D text on black | 10.40: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
#D5DDC3
oklch(88.4% 0.036 121.1)
-
Step 300
300 (this color)
#AFBC8D
oklch(77.3% 0.066 120.5)
-
Step 400
400
#97AB5D
oklch(70.8% 0.106 121)
-
Step 500
500
#7F9527
oklch(63.2% 0.134 120.4)
-
Step 600
600
#697E00
oklch(55.6% 0.133 120.6)
-
Step 700
700
#586A00
oklch(49.2% 0.117 120.6)
-
Step 800
800
#485700
oklch(42.9% 0.102 120.5)
-
Step 900
900
#3B4803
oklch(37.7% 0.088 120.8)
-
Step 950
950
#232A07
oklch(27% 0.055 119.9)
#AFBC8D 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) | #C2B78A | 0.028 |
| Deuteranopia (no green cones) | #C0B78F | 0.027 |
| Tritanopia (no blue cones) | #B3B7AF | 0.054 |
| Achromatopsia (no color) | #B6B6B6 | 0.066 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFBC8D
#AFBC8D
oklch(77.3% 0.066 120.5)
- #BCACD9
#BCACD9
oklch(77.3% 0.065 301.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 #AFBC8D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.040
- Dark Sea Green #8FBC8F ΔE 0.040
- Tan Green #A9BE70 ΔE 0.040
- Putty #BEAE8A ΔE 0.041
- Light Olive #ACBF69 ΔE 0.048
- Sandstone #C9AE74 ΔE 0.049
- Toupe #C7AC7D ΔE 0.049
- Muted Teal #90B494 ΔE 0.049
Use #AFBC8D 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.