#AFBA6F
Closest named color: Tan Green (#A9BE70). oklch(76.3% 0.099 115.6), rgb(175, 186, 111).
Aa
Black text reads best on this color (10.07:1).
About this color
#AFBA6F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.099 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.013 away. Black text reads best on it, at 10.07:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.099) |
| Temperature | in between |
| Nearest name | Tan Green (#A9BE70) |
| Black text | 10.07:1 |
| White text | 2.08:1 |
Values
| HEX | #AFBA6F |
| RGB | rgb(175, 186, 111) |
| HSL | hsl(69, 35%, 58%) |
| OKLCH | oklch(76.3% 0.099 115.6) |
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 #AFBA6F | 2.08:1 | Fails | Lc -45.3 | Large or bold text, headings |
| Black text on #AFBA6F | 10.07:1 | AAA | Lc 63.2 | Content text, not long reading |
| #AFBA6F text on white | 2.08:1 | Fails | Lc 40.7 | Non-text elements, placeholder text |
| #AFBA6F text on black | 10.07:1 | AAA | Lc -61.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
#F5F7ED
oklch(97.2% 0.013 115.8)
-
Step 100
100
#E9EDD7
oklch(93.7% 0.029 115.3)
-
Step 200
200
#D7DEB5
oklch(88.5% 0.055 115.4)
-
Step 300
300 (this color)
#AFBA6F
oklch(76.3% 0.099 115.6)
-
Step 400
400
#9DAB0C
oklch(70.6% 0.158 115.5)
-
Step 500
500
#869300
oklch(63.1% 0.144 115.9)
-
Step 600
600
#717B00
oklch(55.5% 0.126 115.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)
#AFBA6F 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) | #C4B369 | 0.032 |
| Deuteranopia (no green cones) | #C3B473 | 0.033 |
| Tritanopia (no blue cones) | #B7B2A8 | 0.087 |
| Achromatopsia (no color) | #B4B4B4 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFBA6F
#AFBA6F
oklch(76.3% 0.099 115.6)
- #B7A5EB
#B7A5EB
oklch(76.3% 0.1 295.7)
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 #AFBA6F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tan Green #A9BE70 ΔE 0.013
- Light Olive #ACBF69 ΔE 0.018
- Dark Khaki #BDB76B ΔE 0.020
- Light Olive Green #A4BE5C ΔE 0.032
- Light Moss Green #A6C875 ΔE 0.037
- Lichen #8FB67B ΔE 0.045
- Desert #CCAD60 ΔE 0.049
- Greenish Tan #BCCB7A ΔE 0.050
Use #AFBA6F 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.