#AFA057
Closest named color: Camel (#C69F59). oklch(70.3% 0.096 98), rgb(175, 160, 87).
Aa
Black text reads best on this color (7.98:1).
About this color
#AFA057 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 70%, its chroma 0.096 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Camel (#C69F59), ΔE 0.036 away. Black text reads best on it, at 7.98:1.
| Hue family | Yellows |
| Lightness | medium-light (70%) |
| Chroma | moderately saturated (0.096) |
| Temperature | warm |
| Nearest name | Camel (#C69F59) |
| Black text | 7.98:1 |
| White text | 2.62:1 |
Values
| HEX | #AFA057 |
| RGB | rgb(175, 160, 87) |
| HSL | hsl(50, 35%, 51%) |
| OKLCH | oklch(70.3% 0.096 98) |
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 #AFA057 | 2.62:1 | Fails | Lc -56.4 | Large or bold text, headings |
| Black text on #AFA057 | 7.98:1 | AAA | Lc 52.8 | Large or bold text, headings |
| #AFA057 text on white | 2.62:1 | Fails | Lc 51.2 | Large or bold text, headings |
| #AFA057 text on black | 7.98:1 | AAA | Lc -50.7 | 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
#F7F6F0
oklch(97.2% 0.008 98.9)
-
Step 100
100
#EDEADD
oklch(93.6% 0.018 96.1)
-
Step 200
200
#DFDAC1
oklch(88.6% 0.034 97.7)
-
Step 300
300
#CAC295
oklch(80.9% 0.061 99.1)
-
Step 400
400 (this color)
#AFA057
oklch(70.3% 0.096 98)
-
Step 500
500
#9D891C
oklch(63% 0.122 97.9)
-
Step 600
600
#857300
oklch(55.6% 0.115 98.3)
-
Step 700
700
#706000
oklch(49% 0.101 97.8)
-
Step 800
800
#5C4F00
oklch(42.8% 0.088 98.3)
-
Step 900
900
#4D4100
oklch(37.6% 0.078 97.3)
-
Step 950
950
#2D2605
oklch(26.9% 0.05 97.1)
#AFA057 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) | #AD9D51 | 0.010 |
| Deuteranopia (no green cones) | #B1A25A | 0.007 |
| Tritanopia (no blue cones) | #BB978F | 0.087 |
| Achromatopsia (no color) | #A0A0A0 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA057
#AFA057
oklch(70.3% 0.096 98)
- #9199DA
#9199DA
oklch(70.2% 0.096 278.2)
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 #AFA057, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Camel #C69F59 ΔE 0.036
- Dust #B2996E ΔE 0.039
- Dark Beige #AC9362 ΔE 0.042
- Ocher #BF9B0C ΔE 0.048
- Sand Brown #CBA560 ΔE 0.048
- Dark Gold #B59410 ΔE 0.048
- Brown Yellow #B29705 ΔE 0.049
- Dark Sand #A88F59 ΔE 0.050
Use #AFA057 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.