#AFA367#AFA367
#AFA367 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.081 H 98.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA367 |
|---|---|
| RGB | rgb(175, 163, 103) |
| HSL | hsl(50, 31%, 55%) |
| HSV | hsv(50, 41%, 69%) |
| CMYK | cmyk(0%, 6.9%, 41.1%, 31.4%) |
| CIE-LAB | lab(66.74, -4.42, 32.72) |
| CIE-LCH | lch(66.74, 33.02, 97.69°) |
| OKLab | oklab(71.18% -0.0116 0.0799) |
| OKLCH | oklch(71.18% 0.081 98.3) |
| XYZ | xyz(33.2253, 36.2887, 18.0836) |
| Luminance | 0.3629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.03
Sand
#C2B280
ΔE00 5.49
Sandy Brown
#C4A661
ΔE00 6.08
Darkkhaki
#BDB76B
ΔE00 6.25
Dark Khaki
#9B8F55
ΔE00 6.36
Sandstone
#C9AE74
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA367 #6773AF
analogous
#AF7F67 #AFA367 #97AF67
triadic
#AFA367 #67AFA3 #A367AF
tetradic
#AFA367 #67AF7F #6773AF #AF6797
square
#AFA367 #67AF7F #6773AF #AF6797
split-complementary
#AFA367 #6797AF #7F67AF
monochromatic
#665E36 #8E834B #AFA367 #C4BB8F #D9D4B7
Accessibility & contrast
On white
2.54
#AFA367 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#AFA367 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA367
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA367 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA367 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEA062
Deuteranopia (green-blind)
#B1A469
Tritanopia (blue-blind)
#B99B94
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa367; /* rgb */ color: rgb(175, 163, 103); /* oklch */ color: oklch(71.2% 0.081 98.3);
Tailwind
colors: {
custom: {
50: '#c8be93',
500: '#afa367',
950: '#000000',
},
}SCSS
$custom: #afa367; $custom-light: #c8be93; $custom-dark: #000000;
JSON
{
"hex": "#afa367",
"rgb": {
"r": 175,
"g": 163,
"b": 103
},
"hsl": {
"h": 50,
"s": 31.034,
"l": 54.51
},
"oklch": {
"l": 0.71176,
"c": 0.08078,
"h": 98.3
},
"luminance": 0.36288
}Semantic roles & 50–950 ramp
primary
#AFA367
secondary
#AAAFC8
accent
#72C761
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E