#AFA956#AFA956
#AFA956 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.2% C 0.106 H 105.0°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA956 |
|---|---|
| RGB | rgb(175, 169, 86) |
| HSL | hsl(56, 36%, 51%) |
| HSV | hsv(56, 51%, 69%) |
| CMYK | cmyk(0%, 3.4%, 50.9%, 31.4%) |
| CIE-LAB | lab(68.14, -9.32, 43.17) |
| CIE-LCH | lch(68.14, 44.16, 102.18°) |
| OKLab | oklab(72.21% -0.0274 0.1021) |
| OKLCH | oklch(72.21% 0.106 105) |
| XYZ | xyz(33.5478, 38.1628, 14.4013) |
| Luminance | 0.3816 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.88
Darkkhaki
#BDB76B
ΔE00 4.24
Vomit
#A2A415
ΔE00 6.91
Puke
#A5A502
ΔE00 7.45
Sandy Brown
#C4A661
ΔE00 8.13
Sand
#C2B280
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA956 #565CAF
analogous
#AF7C56 #AFA956 #88AF56
triadic
#AFA956 #56AFA9 #A956AF
tetradic
#AFA956 #56AF7C #565CAF #AF5688
square
#AFA956 #56AF7C #565CAF #AF5688
split-complementary
#AFA956 #5688AF #7C56AF
monochromatic
#5E5B2D #888340 #AFA956 #C3BE80 #D6D3A9
Accessibility & contrast
On white
2.43
#AFA956 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#AFA956 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA956
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA956 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA956 | 1.00 | 2.43 | 8.63 | 8.63 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A44E
Deuteranopia (green-blind)
#B8A85A
Tritanopia (blue-blind)
#BAA096
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa956; /* rgb */ color: rgb(175, 169, 86); /* oklch */ color: oklch(72.2% 0.106 105.0);
Tailwind
colors: {
custom: {
50: '#c9c288',
500: '#afa956',
950: '#000000',
},
}SCSS
$custom: #afa956; $custom-light: #c9c288; $custom-dark: #000000;
JSON
{
"hex": "#afa956",
"rgb": {
"r": 175,
"g": 169,
"b": 86
},
"hsl": {
"h": 55.955,
"s": 35.743,
"l": 51.176
},
"oklch": {
"l": 0.72212,
"c": 0.10569,
"h": 105
},
"luminance": 0.38162
}Semantic roles & 50–950 ramp
primary
#AFA956
secondary
#9D9FC4
accent
#64CC5C
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120B
muted
#82817C