#AFA467#AFA467
#AFA467 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.082 H 99.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA467 |
|---|---|
| RGB | rgb(175, 164, 103) |
| HSL | hsl(51, 31%, 55%) |
| HSV | hsv(51, 41%, 69%) |
| CMYK | cmyk(0%, 6.3%, 41.1%, 31.4%) |
| CIE-LAB | lab(67.01, -4.95, 33.06) |
| CIE-LCH | lch(67.01, 33.43, 98.52°) |
| OKLab | oklab(71.39% -0.0132 0.0807) |
| OKLCH | oklch(71.39% 0.082 99.3) |
| XYZ | xyz(33.4035, 36.6452, 18.1430) |
| Luminance | 0.3664 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.62
Sand
#C2B280
ΔE00 5.51
Darkkhaki
#BDB76B
ΔE00 5.86
Sandy Brown
#C4A661
ΔE00 6.30
Dark Khaki
#9B8F55
ΔE00 6.61
Sandstone
#C9AE74
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA467 #6772AF
analogous
#AF8067 #AFA467 #96AF67
triadic
#AFA467 #67AFA4 #A467AF
tetradic
#AFA467 #67AF80 #6772AF #AF6796
square
#AFA467 #67AF80 #6772AF #AF6796
split-complementary
#AFA467 #6796AF #8067AF
monochromatic
#665F36 #8E844B #AFA467 #C4BC8F #D9D4B7
Accessibility & contrast
On white
2.52
#AFA467 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#AFA467 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA467
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA467 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA467 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA162
Deuteranopia (green-blind)
#B2A569
Tritanopia (blue-blind)
#B99C95
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #afa467; /* rgb */ color: rgb(175, 164, 103); /* oklch */ color: oklch(71.4% 0.082 99.3);
Tailwind
colors: {
custom: {
50: '#c8be93',
500: '#afa467',
950: '#000000',
},
}SCSS
$custom: #afa467; $custom-light: #c8be93; $custom-dark: #000000;
JSON
{
"hex": "#afa467",
"rgb": {
"r": 175,
"g": 164,
"b": 103
},
"hsl": {
"h": 50.833,
"s": 31.034,
"l": 54.51
},
"oklch": {
"l": 0.71389,
"c": 0.0818,
"h": 99.3
},
"luminance": 0.36644
}Semantic roles & 50–950 ramp
primary
#AFA467
secondary
#AAAEC8
accent
#70C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E