#AFA968
Closest named color: Camel (#C69F59). oklch(72.5% 0.086 103.7), rgb(175, 169, 104).
Aa
Black text reads best on this color (8.69:1).
About this color
#AFA968 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.086 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Camel (#C69F59), ΔE 0.039 away. Black text reads best on it, at 8.69:1.
| Hue family | Yellows |
| Lightness | medium-light (72%) |
| Chroma | moderately saturated (0.086) |
| Temperature | warm |
| Nearest name | Camel (#C69F59) |
| Black text | 8.69:1 |
| White text | 2.41:1 |
Values
| HEX | #AFA968 |
| RGB | rgb(175, 169, 104) |
| HSL | hsl(55, 31%, 55%) |
| OKLCH | oklch(72.5% 0.086 103.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 #AFA968 | 2.41:1 | Fails | Lc -52.5 | Large or bold text, headings |
| Black text on #AFA968 | 8.69:1 | AAA | Lc 56.5 | Large or bold text, headings |
| #AFA968 text on white | 2.41:1 | Fails | Lc 47.5 | Large or bold text, headings |
| #AFA968 text on black | 8.69:1 | AAA | Lc -54.5 | 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
#EBEBDF
oklch(93.7% 0.016 106.7)
-
Step 200
200
#DCDAC4
oklch(88.4% 0.03 102.7)
-
Step 300
300
#C6C39B
oklch(80.9% 0.054 104)
-
Step 400
400 (this color)
#AFA968
oklch(72.5% 0.086 103.7)
-
Step 500
500
#958C33
oklch(63% 0.11 103.5)
-
Step 600
600
#7F7600
oklch(55.6% 0.118 104.3)
-
Step 700
700
#6B6300
oklch(49.2% 0.104 104)
-
Step 800
800
#585100
oklch(42.8% 0.09 103.8)
-
Step 900
900
#48430D
oklch(37.7% 0.071 103.9)
-
Step 950
950
#2A270A
oklch(26.9% 0.045 103.4)
#AFA968 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) | #B4A563 | 0.012 |
| Deuteranopia (no green cones) | #B6A86B | 0.012 |
| Tritanopia (no blue cones) | #B9A199 | 0.078 |
| Achromatopsia (no color) | #A7A7A7 | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA968
#AFA968
oklch(72.5% 0.086 103.7)
- #9F9FDB
#9F9FDB
oklch(72.5% 0.087 284)
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 #AFA968, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camel #C69F59 ΔE 0.039
- Sand Brown #CBA560 ΔE 0.042
- Dark Khaki #BDB76B ΔE 0.044
- Stone #ADA587 ΔE 0.045
- Sandstone #C9AE74 ΔE 0.045
- Taupe #B9A281 ΔE 0.046
- Desert #CCAD60 ΔE 0.046
- Bland #AFA88B ΔE 0.046
Use #AFA968 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.