#AFAF86#AFAF86
#AFAF86 is a light, muted yellow. Relative luminance 0.415; OKLCH L 74.3% C 0.056 H 107.7°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAF86 |
|---|---|
| RGB | rgb(175, 175, 134) |
| HSL | hsl(60, 20%, 61%) |
| HSV | hsv(60, 23%, 69%) |
| CMYK | cmyk(0%, 0%, 23.4%, 31.4%) |
| CIE-LAB | lab(70.52, -6.83, 21.10) |
| CIE-LCH | lch(70.52, 22.18, 107.94°) |
| OKLab | oklab(74.35% -0.017 0.0535) |
| OKLCH | oklch(74.35% 0.056 107.7) |
| XYZ | xyz(37.3121, 41.4956, 28.5935) |
| Luminance | 0.4149 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 5.03
Stone (survey)
#ADA587
ΔE00 5.38
Sand
#C2B280
ΔE00 6.27
Sage Green
#9CAF88
ΔE00 6.47
Putty
#BEAE8A
ΔE00 6.93
Khaki (survey)
#AAA662
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAF86 #8686AF
analogous
#AF9A86 #AFAF86 #9AAF86
triadic
#AFAF86 #86AFAF #AF86AF
tetradic
#AFAF86 #86AF9A #8686AF #AF869A
square
#AFAF86 #86AF9A #8686AF #AF869A
split-complementary
#AFAF86 #869AAF #9A86AF
monochromatic
#70704A #959563 #AFAF86 #C7C7AB #E0E0D0
Accessibility & contrast
On white
2.26
#AFAF86 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#AFAF86 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAF86
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAF86 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAF86 | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6AB83
Deuteranopia (green-blind)
#B7AD88
Tritanopia (blue-blind)
#B5AAA4
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afaf86; /* rgb */ color: rgb(175, 175, 134); /* oklch */ color: oklch(74.3% 0.056 107.7);
Tailwind
colors: {
custom: {
50: '#c7c6a9',
500: '#afaf86',
950: '#000000',
},
}SCSS
$custom: #afaf86; $custom-light: #c7c6a9; $custom-dark: #000000;
JSON
{
"hex": "#afaf86",
"rgb": {
"r": 175,
"g": 175,
"b": 134
},
"hsl": {
"h": 60,
"s": 20.398,
"l": 60.588
},
"oklch": {
"l": 0.74345,
"c": 0.05612,
"h": 107.7
},
"luminance": 0.41495
}Semantic roles & 50–950 ramp
primary
#AFAF86
secondary
#C1C1D0
accent
#479F47
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F