#AFB67F
Closest named color: Dark Khaki (#BDB76B). oklch(75.7% 0.075 114.1), rgb(175, 182, 127).
Aa
Black text reads best on this color (9.82:1).
About this color
#AFB67F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.075 and its hue 114°. 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.82:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.075) |
| Temperature | in between |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 9.82:1 |
| White text | 2.13:1 |
Values
| HEX | #AFB67F |
| RGB | rgb(175, 182, 127) |
| HSL | hsl(68, 27%, 61%) |
| OKLCH | oklch(75.7% 0.075 114.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 #AFB67F | 2.13:1 | Fails | Lc -46.6 | Large or bold text, headings |
| Black text on #AFB67F | 9.82:1 | AAA | Lc 62.0 | Content text, not long reading |
| #AFB67F text on white | 2.13:1 | Fails | Lc 42.0 | Non-text elements, placeholder text |
| #AFB67F text on black | 9.82:1 | AAA | Lc -60.3 | 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 400.
-
Step 50
50
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#E9EBE1
oklch(93.6% 0.013 115.8)
-
Step 200
200
#D8DBC8
oklch(88.4% 0.026 114.2)
-
Step 300
300
#C0C4A2
oklch(80.8% 0.046 112.9)
-
Step 400
400 (this color)
#AFB67F
oklch(75.7% 0.075 114.1)
-
Step 500
500
#899049
oklch(63.1% 0.095 113.8)
-
Step 600
600
#737A29
oklch(55.7% 0.104 114)
-
Step 700
700
#60661C
oklch(49% 0.096 113.9)
-
Step 800
800
#4E541A
oklch(42.8% 0.08 114.9)
-
Step 900
900
#41451C
oklch(37.6% 0.061 114)
-
Step 950
950
#262911
oklch(27.1% 0.04 115)
#AFB67F 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) | #BEB17B | 0.023 |
| Deuteranopia (no green cones) | #BDB281 | 0.023 |
| Tritanopia (no blue cones) | #B5B0A8 | 0.065 |
| Achromatopsia (no color) | #B1B1B1 | 0.075 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB67F
#AFB67F
oklch(75.7% 0.075 114.1)
- #B2A7DC
#B2A7DC
oklch(75.6% 0.076 294)
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 #AFB67F, 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.034
- Putty #BEAE8A ΔE 0.037
- Sandstone #C9AE74 ΔE 0.039
- Toupe #C7AC7D ΔE 0.041
- Dark Sea Green #8FBC8F ΔE 0.042
- Light Olive #ACBF69 ΔE 0.042
- Lichen #8FB67B ΔE 0.043
Use #AFB67F 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.