#AFA267#AFA267
#AFA267 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.080 H 97.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA267 |
|---|---|
| RGB | rgb(175, 162, 103) |
| HSL | hsl(49, 31%, 55%) |
| HSV | hsv(49, 41%, 69%) |
| CMYK | cmyk(0%, 7.4%, 41.1%, 31.4%) |
| CIE-LAB | lab(66.47, -3.88, 32.37) |
| CIE-LCH | lch(66.47, 32.61, 96.84°) |
| OKLab | oklab(70.96% -0.0101 0.0792) |
| OKLCH | oklch(70.96% 0.08 97.3) |
| XYZ | xyz(33.0484, 35.9350, 18.0246) |
| Luminance | 0.3593 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.47
Sand
#C2B280
ΔE00 5.51
Sandy Brown
#C4A661
ΔE00 5.89
Dark Khaki
#9B8F55
ΔE00 6.13
Sandstone
#C9AE74
ΔE00 6.35
Dark Beige
#AC9362
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA267 #6774AF
analogous
#AF7E67 #AFA267 #98AF67
triadic
#AFA267 #67AFA2 #A267AF
tetradic
#AFA267 #67AF7E #6774AF #AF6798
square
#AFA267 #67AF7E #6774AF #AF6798
split-complementary
#AFA267 #6798AF #7E67AF
monochromatic
#665D36 #8E824B #AFA267 #C4BB8F #D9D3B7
Accessibility & contrast
On white
2.57
#AFA267 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#AFA267 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA267
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA267 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA267 | 1.00 | 2.57 | 8.19 | 8.19 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9F63
Deuteranopia (green-blind)
#B1A469
Tritanopia (blue-blind)
#B99A93
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa267; /* rgb */ color: rgb(175, 162, 103); /* oklch */ color: oklch(71.0% 0.080 97.3);
Tailwind
colors: {
custom: {
50: '#c8bd93',
500: '#afa267',
950: '#000000',
},
}SCSS
$custom: #afa267; $custom-light: #c8bd93; $custom-dark: #000000;
JSON
{
"hex": "#afa267",
"rgb": {
"r": 175,
"g": 162,
"b": 103
},
"hsl": {
"h": 49.167,
"s": 31.034,
"l": 54.51
},
"oklch": {
"l": 0.70962,
"c": 0.07979,
"h": 97.3
},
"luminance": 0.35934
}Semantic roles & 50–950 ramp
primary
#AFA267
secondary
#AAAFC8
accent
#73C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E