#AFA77F#AFA77F
#AFA77F is a light, muted yellow. Relative luminance 0.383; OKLCH L 72.5% C 0.056 H 98.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA77F |
|---|---|
| RGB | rgb(175, 167, 127) |
| HSL | hsl(50, 23%, 59%) |
| HSV | hsv(50, 27%, 69%) |
| CMYK | cmyk(0%, 4.6%, 27.4%, 31.4%) |
| CIE-LAB | lab(68.23, -3.56, 21.78) |
| CIE-LCH | lch(68.23, 22.07, 99.28°) |
| OKLab | oklab(72.49% -0.0078 0.055) |
| OKLCH | oklch(72.49% 0.056 98.1) |
| XYZ | xyz(35.3288, 38.2844, 25.6031) |
| Luminance | 0.3828 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 3.01
Bland
#AFA88B
ΔE00 3.29
Putty
#BEAE8A
ΔE00 4.57
Sand
#C2B280
ΔE00 4.93
Khaki (survey)
#AAA662
ΔE00 6.62
Khaki
#C3B091
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA77F #7F87AF
analogous
#AF8F7F #AFA77F #9FAF7F
triadic
#AFA77F #7FAFA7 #A77FAF
tetradic
#AFA77F #7FAF8F #7F87AF #AF7F9F
square
#AFA77F #7FAF8F #7F87AF #AF7F9F
split-complementary
#AFA77F #7F9FAF #8F7FAF
monochromatic
#6F6845 #948B5D #AFA77F #C7C1A5 #DEDBCA
Accessibility & contrast
On white
2.43
#AFA77F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#AFA77F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA77F
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA77F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA77F | 1.00 | 2.43 | 8.66 | 8.66 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA57C
Deuteranopia (green-blind)
#B1A880
Tritanopia (blue-blind)
#B6A19C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afa77f; /* rgb */ color: rgb(175, 167, 127); /* oklch */ color: oklch(72.5% 0.056 98.1);
Tailwind
colors: {
custom: {
50: '#c7c1a4',
500: '#afa77f',
950: '#000000',
},
}SCSS
$custom: #afa77f; $custom-light: #c7c1a4; $custom-dark: #000000;
JSON
{
"hex": "#afa77f",
"rgb": {
"r": 175,
"g": 167,
"b": 127
},
"hsl": {
"h": 50,
"s": 23.077,
"l": 59.216
},
"oklch": {
"l": 0.72488,
"c": 0.05556,
"h": 98.1
},
"luminance": 0.38284
}Semantic roles & 50–950 ramp
primary
#AFA77F
secondary
#BCBFCE
accent
#77C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F