#AFA95B#AFA95B
#AFA95B is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.100 H 104.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA95B |
|---|---|
| RGB | rgb(175, 169, 91) |
| HSL | hsl(56, 34%, 52%) |
| HSV | hsv(56, 48%, 69%) |
| CMYK | cmyk(0%, 3.4%, 48%, 31.4%) |
| CIE-LAB | lab(68.20, -8.85, 40.75) |
| CIE-LCH | lch(68.20, 41.70, 102.26°) |
| OKLab | oklab(72.28% -0.0255 0.0972) |
| OKLCH | oklch(72.28% 0.1 104.7) |
| XYZ | xyz(33.7563, 38.2462, 15.4996) |
| Luminance | 0.3825 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.13
Darkkhaki
#BDB76B
ΔE00 4.01
Sand
#C2B280
ΔE00 7.56
Vomit
#A2A415
ΔE00 7.69
Sandy Brown
#C4A661
ΔE00 7.90
Desert
#CCAD60
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA95B #5B61AF
analogous
#AF7F5B #AFA95B #8BAF5B
triadic
#AFA95B #5BAFA9 #A95BAF
tetradic
#AFA95B #5BAF7F #5B61AF #AF5B8B
square
#AFA95B #5BAF7F #5B61AF #AF5B8B
split-complementary
#AFA95B #5B8BAF #7F5BAF
monochromatic
#615D2F #8A8543 #AFA95B #C3BF84 #D7D4AD
Accessibility & contrast
On white
2.43
#AFA95B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#AFA95B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA95B
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA95B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA95B | 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)
#B5A454
Deuteranopia (green-blind)
#B7A85F
Tritanopia (blue-blind)
#BAA097
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa95b; /* rgb */ color: rgb(175, 169, 91); /* oklch */ color: oklch(72.3% 0.100 104.7);
Tailwind
colors: {
custom: {
50: '#c8c28b',
500: '#afa95b',
950: '#000000',
},
}SCSS
$custom: #afa95b; $custom-light: #c8c28b; $custom-dark: #000000;
JSON
{
"hex": "#afa95b",
"rgb": {
"r": 175,
"g": 169,
"b": 91
},
"hsl": {
"h": 55.714,
"s": 34.426,
"l": 52.157
},
"oklch": {
"l": 0.7228,
"c": 0.10049,
"h": 104.7
},
"luminance": 0.38245
}Semantic roles & 50–950 ramp
primary
#AFA95B
secondary
#A1A3C5
accent
#65CB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D