#AF9E5E#AF9E5E
#AF9E5E is a light, moderate yellow. Relative luminance 0.344; OKLCH L 70.0% C 0.086 H 95.0°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9E5E |
|---|---|
| RGB | rgb(175, 158, 94) |
| HSL | hsl(47, 34%, 53%) |
| HSV | hsv(47, 46%, 69%) |
| CMYK | cmyk(0%, 9.7%, 46.3%, 31.4%) |
| CIE-LAB | lab(65.26, -2.69, 35.58) |
| CIE-LCH | lch(65.26, 35.68, 94.32°) |
| OKLab | oklab(69.96% -0.0075 0.0859) |
| OKLCH | oklch(69.96% 0.086 95) |
| XYZ | xyz(31.9273, 34.3770, 15.5412) |
| Luminance | 0.3438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.56
Sandy Brown
#C4A661
ΔE00 5.12
Dark Khaki
#9B8F55
ΔE00 5.42
Dark Beige
#AC9362
ΔE00 5.49
Dark Sand
#A88F59
ΔE00 5.60
Dust
#B2996E
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9E5E #5E6FAF
analogous
#AF755E #AF9E5E #98AF5E
triadic
#AF9E5E #5EAF9E #9E5EAF
tetradic
#AF9E5E #5EAF75 #5E6FAF #AF5E98
square
#AF9E5E #5EAF75 #5E6FAF #AF5E98
split-complementary
#AF9E5E #5E98AF #755EAF
monochromatic
#625831 #8B7C45 #AF9E5E #C3B787 #D8CFB0
Accessibility & contrast
On white
2.67
#AF9E5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#AF9E5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF9E5E
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9E5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9E5E | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9B59
Deuteranopia (green-blind)
#AFA160
Tritanopia (blue-blind)
#BA958E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af9e5e; /* rgb */ color: rgb(175, 158, 94); /* oklch */ color: oklch(70.0% 0.086 95.0);
Tailwind
colors: {
custom: {
50: '#c8ba8d',
500: '#af9e5e',
950: '#000000',
},
}SCSS
$custom: #af9e5e; $custom-light: #c8ba8d; $custom-dark: #000000;
JSON
{
"hex": "#af9e5e",
"rgb": {
"r": 175,
"g": 158,
"b": 94
},
"hsl": {
"h": 47.407,
"s": 33.61,
"l": 52.745
},
"oklch": {
"l": 0.69963,
"c": 0.08623,
"h": 95
},
"luminance": 0.34376
}Semantic roles & 50–950 ramp
primary
#AF9E5E
secondary
#A3AAC6
accent
#75CA5E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D