#AFA460#AFA460
#AFA460 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.090 H 100.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA460 |
|---|---|
| RGB | rgb(175, 164, 96) |
| HSL | hsl(52, 33%, 53%) |
| HSV | hsv(52, 45%, 69%) |
| CMYK | cmyk(0%, 6.3%, 45.1%, 31.4%) |
| CIE-LAB | lab(66.91, -5.70, 36.60) |
| CIE-LCH | lch(66.91, 37.04, 98.86°) |
| OKLab | oklab(71.28% -0.016 0.0883) |
| OKLCH | oklch(71.28% 0.09 100.3) |
| XYZ | xyz(33.0668, 36.5105, 16.3695) |
| Luminance | 0.3651 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.21
Darkkhaki
#BDB76B
ΔE00 5.44
Sandy Brown
#C4A661
ΔE00 6.28
Sand
#C2B280
ΔE00 6.37
Dark Khaki
#9B8F55
ΔE00 6.76
Sandstone
#C9AE74
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA460 #606BAF
analogous
#AF7C60 #AFA460 #92AF60
triadic
#AFA460 #60AFA4 #A460AF
tetradic
#AFA460 #60AF7C #606BAF #AF6092
square
#AFA460 #60AF7C #606BAF #AF6092
split-complementary
#AFA460 #6092AF #7C60AF
monochromatic
#635C32 #8C8246 #AFA460 #C3BB89 #D8D3B1
Accessibility & contrast
On white
2.53
#AFA460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#AFA460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA460
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA460 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A05B
Deuteranopia (green-blind)
#B3A563
Tritanopia (blue-blind)
#BA9B94
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #afa460; /* rgb */ color: rgb(175, 164, 96); /* oklch */ color: oklch(71.3% 0.090 100.3);
Tailwind
colors: {
custom: {
50: '#c8be8e',
500: '#afa460',
950: '#000000',
},
}SCSS
$custom: #afa460; $custom-light: #c8be8e; $custom-dark: #000000;
JSON
{
"hex": "#afa460",
"rgb": {
"r": 175,
"g": 164,
"b": 96
},
"hsl": {
"h": 51.646,
"s": 33.054,
"l": 53.137
},
"oklch": {
"l": 0.71276,
"c": 0.08975,
"h": 100.3
},
"luminance": 0.36509
}Semantic roles & 50–950 ramp
primary
#AFA460
secondary
#A4A9C6
accent
#6DC95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D