#AFA95A#AFA95A
#AFA95A is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.102 H 104.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA95A |
|---|---|
| RGB | rgb(175, 169, 90) |
| HSL | hsl(56, 35%, 52%) |
| HSV | hsv(56, 49%, 69%) |
| CMYK | cmyk(0%, 3.4%, 48.6%, 31.4%) |
| CIE-LAB | lab(68.19, -8.95, 41.24) |
| CIE-LCH | lch(68.19, 42.19, 102.24°) |
| OKLab | oklab(72.27% -0.0259 0.0982) |
| OKLCH | oklch(72.27% 0.102 104.8) |
| XYZ | xyz(33.7135, 38.2291, 15.2739) |
| Luminance | 0.3823 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.28
Darkkhaki
#BDB76B
ΔE00 4.04
Vomit
#A2A415
ΔE00 7.53
Sand
#C2B280
ΔE00 7.69
Sandy Brown
#C4A661
ΔE00 7.94
Puke
#A5A502
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA95A #5A60AF
analogous
#AF7F5A #AFA95A #8BAF5A
triadic
#AFA95A #5AAFA9 #A95AAF
tetradic
#AFA95A #5AAF7F #5A60AF #AF5A8B
square
#AFA95A #5AAF7F #5A60AF #AF5A8B
split-complementary
#AFA95A #5A8BAF #7F5AAF
monochromatic
#605D2F #898443 #AFA95A #C3BE83 #D7D4AC
Accessibility & contrast
On white
2.43
#AFA95A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#AFA95A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA95A
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA95A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA95A | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A453
Deuteranopia (green-blind)
#B7A85E
Tritanopia (blue-blind)
#BAA097
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa95a; /* rgb */ color: rgb(175, 169, 90); /* oklch */ color: oklch(72.3% 0.102 104.8);
Tailwind
colors: {
custom: {
50: '#c9c28a',
500: '#afa95a',
950: '#000000',
},
}SCSS
$custom: #afa95a; $custom-light: #c9c28a; $custom-dark: #000000;
JSON
{
"hex": "#afa95a",
"rgb": {
"r": 175,
"g": 169,
"b": 90
},
"hsl": {
"h": 55.765,
"s": 34.694,
"l": 51.961
},
"oklch": {
"l": 0.72266,
"c": 0.10154,
"h": 104.8
},
"luminance": 0.38228
}Semantic roles & 50–950 ramp
primary
#AFA95A
secondary
#A0A2C5
accent
#65CB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D