#AFA863#AFA863
#AFA863 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.091 H 103.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA863 |
|---|---|
| RGB | rgb(175, 168, 99) |
| HSL | hsl(54, 32%, 54%) |
| HSV | hsv(54, 43%, 69%) |
| CMYK | cmyk(0%, 4%, 43.4%, 31.4%) |
| CIE-LAB | lab(68.04, -7.52, 36.45) |
| CIE-LCH | lch(68.04, 37.22, 101.65°) |
| OKLab | oklab(72.18% -0.0209 0.0882) |
| OKLCH | oklch(72.18% 0.091 103.3) |
| XYZ | xyz(33.9347, 38.0210, 17.3532) |
| Luminance | 0.3802 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.21
Darkkhaki
#BDB76B
ΔE00 4.27
Sand
#C2B280
ΔE00 6.37
Sandy Brown
#C4A661
ΔE00 7.37
Sandstone
#C9AE74
ΔE00 7.73
Dark Khaki
#9B8F55
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA863 #636AAF
analogous
#AF8263 #AFA863 #90AF63
triadic
#AFA863 #63AFA8 #A863AF
tetradic
#AFA863 #63AF82 #636AAF #AF6390
square
#AFA863 #63AF82 #636AAF #AF6390
split-complementary
#AFA863 #6390AF #8263AF
monochromatic
#646033 #8D8648 #AFA863 #C4BF8B #D8D5B4
Accessibility & contrast
On white
2.44
#AFA863 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#AFA863 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA863
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA863 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA863 | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A45E
Deuteranopia (green-blind)
#B6A866
Tritanopia (blue-blind)
#B9A097
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa863; /* rgb */ color: rgb(175, 168, 99); /* oklch */ color: oklch(72.2% 0.091 103.3);
Tailwind
colors: {
custom: {
50: '#c8c190',
500: '#afa863',
950: '#000000',
},
}SCSS
$custom: #afa863; $custom-light: #c8c190; $custom-dark: #000000;
JSON
{
"hex": "#afa863",
"rgb": {
"r": 175,
"g": 168,
"b": 99
},
"hsl": {
"h": 54.474,
"s": 32.203,
"l": 53.725
},
"oklch": {
"l": 0.72184,
"c": 0.09064,
"h": 103.3
},
"luminance": 0.3802
}Semantic roles & 50–950 ramp
primary
#AFA863
secondary
#A7AAC7
accent
#69C85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D