#AFB77D
Closest named color: Dark Khaki (#BDB76B). oklch(75.9% 0.078 114.7), rgb(175, 183, 125).
Aa
Black text reads best on this color (9.89:1).
About this color
#AFB77D is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.078 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.026 away. Black text reads best on it, at 9.89:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.078) |
| Temperature | in between |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 9.89:1 |
| White text | 2.12:1 |
Values
| HEX | #AFB77D |
| RGB | rgb(175, 183, 125) |
| HSL | hsl(68, 29%, 60%) |
| OKLCH | oklch(75.9% 0.078 114.7) |
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 #AFB77D | 2.12:1 | Fails | Lc -46.3 | Large or bold text, headings |
| Black text on #AFB77D | 9.89:1 | AAA | Lc 62.3 | Content text, not long reading |
| #AFB77D text on white | 2.12:1 | Fails | Lc 41.6 | Non-text elements, placeholder text |
| #AFB77D text on black | 9.89:1 | AAA | Lc -60.6 | 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
#F5F6EF
oklch(97% 0.009 113.2)
-
Step 100
100
#E9ECDB
oklch(93.6% 0.023 115)
-
Step 200
200
#D8DDBD
oklch(88.5% 0.043 114.5)
-
Step 300
300 (this color)
#AFB77D
oklch(75.9% 0.078 114.7)
-
Step 400
400
#9FA945
oklch(70.6% 0.125 114.4)
-
Step 500
500
#889200
oklch(63% 0.142 114.5)
-
Step 600
600
#727B00
oklch(55.6% 0.126 114.8)
-
Step 700
700
#606700
oklch(49.1% 0.111 114.3)
-
Step 800
800
#4E5400
oklch(42.6% 0.096 114.4)
-
Step 900
900
#414600
oklch(37.7% 0.085 114.3)
-
Step 950
950
#262900
oklch(26.9% 0.06 113.9)
#AFB77D 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) | #BFB179 | 0.025 |
| Deuteranopia (no green cones) | #BFB37F | 0.025 |
| Tritanopia (no blue cones) | #B6B1A8 | 0.067 |
| Achromatopsia (no color) | #B2B2B2 | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB77D
#AFB77D
oklch(75.9% 0.078 114.7)
- #B4A7DE
#B4A7DE
oklch(75.9% 0.079 295.3)
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 #AFB77D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.026
- Tan Green #A9BE70 ΔE 0.030
- Light Olive #ACBF69 ΔE 0.038
- Sandstone #C9AE74 ΔE 0.041
- Putty #BEAE8A ΔE 0.041
- Dark Sea Green #8FBC8F ΔE 0.042
- Lichen #8FB67B ΔE 0.043
- Toupe #C7AC7D ΔE 0.044
Use #AFB77D 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.