#AFAA66
Closest named color: Camel (#C69F59). oklch(72.7% 0.089 104.7), rgb(175, 170, 102).
Aa
Black text reads best on this color (8.76:1).
About this color
#AFAA66 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.089 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.76:1.
| Hue family | Yellows |
| Lightness | medium-light (73%) |
| Chroma | moderately saturated (0.089) |
| Temperature | warm |
| Nearest name | Camel (#C69F59) |
| Black text | 8.76:1 |
| White text | 2.39:1 |
Values
| HEX | #AFAA66 |
| RGB | rgb(175, 170, 102) |
| HSL | hsl(56, 31%, 54%) |
| OKLCH | oklch(72.7% 0.089 104.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 #AFAA66 | 2.39:1 | Fails | Lc -52.2 | Large or bold text, headings |
| Black text on #AFAA66 | 8.76:1 | AAA | Lc 56.8 | Large or bold text, headings |
| #AFAA66 text on white | 2.39:1 | Fails | Lc 47.2 | Large or bold text, headings |
| #AFAA66 text on black | 8.76:1 | AAA | Lc -54.9 | 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
#EBEBDE
oklch(93.7% 0.017 106.7)
-
Step 200
200
#DCDBC3
oklch(88.6% 0.032 105.1)
-
Step 300
300
#C6C39A
oklch(80.9% 0.055 104.1)
-
Step 400
400 (this color)
#AFAA66
oklch(72.7% 0.089 104.7)
-
Step 500
500
#948D2E
oklch(63.1% 0.115 105.1)
-
Step 600
600
#7E7600
oklch(55.5% 0.118 104.9)
-
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
#484309
oklch(37.6% 0.074 104.2)
-
Step 950
950
#2A2809
oklch(27.1% 0.047 105.6)
#AFAA66 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) | #B5A561 | 0.014 |
| Deuteranopia (no green cones) | #B7A969 | 0.013 |
| Tritanopia (no blue cones) | #B9A299 | 0.080 |
| Achromatopsia (no color) | #A7A7A7 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFAA66
#AFAA66
oklch(72.7% 0.089 104.7)
- #A09FDD
#A09FDD
oklch(72.6% 0.089 284.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 #AFAA66, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camel #C69F59 ΔE 0.041
- Dark Khaki #BDB76B ΔE 0.042
- Sand Brown #CBA560 ΔE 0.042
- Desert #CCAD60 ΔE 0.045
- Sandstone #C9AE74 ΔE 0.045
- Toupe #C7AC7D ΔE 0.048
- Stone #ADA587 ΔE 0.048
- Lichen #8FB67B ΔE 0.048
Use #AFAA66 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.