#AFA95E
Closest named color: Camel (#C69F59). oklch(72.3% 0.097 104.5), rgb(175, 169, 94).
Aa
Black text reads best on this color (8.65:1).
About this color
#AFA95E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.097 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Camel (#C69F59), ΔE 0.041 away. Black text reads best on it, at 8.65:1.
| Hue family | Yellows |
| Lightness | medium-light (72%) |
| Chroma | moderately saturated (0.097) |
| Temperature | warm |
| Nearest name | Camel (#C69F59) |
| Black text | 8.65:1 |
| White text | 2.42:1 |
Values
| HEX | #AFA95E |
| RGB | rgb(175, 169, 94) |
| HSL | hsl(56, 34%, 53%) |
| OKLCH | oklch(72.3% 0.097 104.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 #AFA95E | 2.42:1 | Fails | Lc -52.7 | Large or bold text, headings |
| Black text on #AFA95E | 8.65:1 | AAA | Lc 56.3 | Large or bold text, headings |
| #AFA95E text on white | 2.42:1 | Fails | Lc 47.7 | Large or bold text, headings |
| #AFA95E text on black | 8.65:1 | AAA | Lc -54.3 | Large or bold text, headings |
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
#F6F6F0
oklch(97.1% 0.008 106.5)
-
Step 100
100
#EBEBDD
oklch(93.6% 0.019 106.8)
-
Step 200
200
#DCDBC2
oklch(88.6% 0.033 105.2)
-
Step 300
300
#C6C396
oklch(80.8% 0.06 104.5)
-
Step 400
400 (this color)
#AFA95E
oklch(72.3% 0.097 104.5)
-
Step 500
500
#968D1E
oklch(63.2% 0.124 104.5)
-
Step 600
600
#7F7600
oklch(55.6% 0.118 104.3)
-
Step 700
700
#6A6300
oklch(49.1% 0.104 104.8)
-
Step 800
800
#575100
oklch(42.7% 0.09 104.7)
-
Step 900
900
#494300
oklch(37.7% 0.08 103.8)
-
Step 950
950
#2A2805
oklch(27.1% 0.052 106.2)
#AFA95E 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) | #B5A458 | 0.014 |
| Deuteranopia (no green cones) | #B7A861 | 0.013 |
| Tritanopia (no blue cones) | #B9A097 | 0.088 |
| Achromatopsia (no color) | #A6A6A6 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA95E
#AFA95E
oklch(72.3% 0.097 104.5)
- #9E9DE1
#9E9DE1
oklch(72.3% 0.098 284.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 #AFA95E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camel #C69F59 ΔE 0.041
- Sand Brown #CBA560 ΔE 0.044
- Dark Khaki #BDB76B ΔE 0.044
- Desert #CCAD60 ΔE 0.046
- Sandstone #C9AE74 ΔE 0.050
- Lichen #8FB67B ΔE 0.052
- Sage #87AE73 ΔE 0.053
- Tan Green #A9BE70 ΔE 0.054
Use #AFA95E 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.