#AFA98E#AFA98E
#AFA98E is a light, muted yellow. Relative luminance 0.394; OKLCH L 73.3% C 0.038 H 96.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA98E |
|---|---|
| RGB | rgb(175, 169, 142) |
| HSL | hsl(49, 17%, 62%) |
| HSV | hsv(49, 19%, 69%) |
| CMYK | cmyk(0%, 3.4%, 18.9%, 31.4%) |
| CIE-LAB | lab(69.07, -2.43, 14.73) |
| CIE-LCH | lch(69.07, 14.93, 99.37°) |
| OKLab | oklab(73.25% -0.0045 0.0379) |
| OKLCH | oklch(73.25% 0.038 96.8) |
| XYZ | xyz(36.7494, 39.4434, 31.2633) |
| Luminance | 0.3944 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bland
#AFA88B
ΔE00 0.78
Stone (survey)
#ADA587
ΔE00 1.65
Cement
#A5A391
ΔE00 3.87
Greyish
#A8A495
ΔE00 4.57
Putty
#BEAE8A
ΔE00 4.96
Greige
#B8AB98
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA98E #8E94AF
analogous
#AF998E #AFA98E #A5AF8E
triadic
#AFA98E #8EAFA9 #A98EAF
tetradic
#AFA98E #8EAF99 #8E94AF #AF8EA5
square
#AFA98E #8EAF99 #8E94AF #AF8EA5
split-complementary
#AFA98E #8EA5AF #998EAF
monochromatic
#726C51 #968E6A #AFA98E #C8C4B2 #E2E0D6
Accessibility & contrast
On white
2.36
#AFA98E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#AFA98E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA98E
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA98E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA98E | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA78C
Deuteranopia (green-blind)
#B1AA8F
Tritanopia (blue-blind)
#B5A5A1
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa98e; /* rgb */ color: rgb(175, 169, 142); /* oklch */ color: oklch(73.3% 0.038 96.8);
Tailwind
colors: {
custom: {
50: '#c7c2af',
500: '#afa98e',
950: '#000000',
},
}SCSS
$custom: #afa98e; $custom-light: #c7c2af; $custom-dark: #000000;
JSON
{
"hex": "#afa98e",
"rgb": {
"r": 175,
"g": 169,
"b": 142
},
"hsl": {
"h": 49.091,
"s": 17.098,
"l": 62.157
},
"oklch": {
"l": 0.73253,
"c": 0.03815,
"h": 96.8
},
"luminance": 0.39443
}Semantic roles & 50–950 ramp
primary
#AFA98E
secondary
#C6C9D2
accent
#599B4A
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F