#AFAA7F#AFAA7F
#AFAA7F is a light, muted yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.059 H 102.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA7F |
|---|---|
| RGB | rgb(175, 170, 127) |
| HSL | hsl(54, 23%, 59%) |
| HSV | hsv(54, 27%, 69%) |
| CMYK | cmyk(0%, 2.9%, 27.4%, 31.4%) |
| CIE-LAB | lab(69.04, -5.16, 22.87) |
| CIE-LCH | lch(69.04, 23.45, 102.72°) |
| OKLab | oklab(73.13% -0.0124 0.0577) |
| OKLCH | oklch(73.13% 0.059 102.2) |
| XYZ | xyz(35.8848, 39.3964, 25.7885) |
| Luminance | 0.3940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 4.28
Bland
#AFA88B
ΔE00 4.30
Sand
#C2B280
ΔE00 4.99
Putty
#BEAE8A
ΔE00 5.58
Khaki (survey)
#AAA662
ΔE00 5.86
Darkkhaki
#BDB76B
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA7F #7F84AF
analogous
#AF927F #AFAA7F #9CAF7F
triadic
#AFAA7F #7FAFAA #AA7FAF
tetradic
#AFAA7F #7FAF92 #7F84AF #AF7F9C
square
#AFAA7F #7FAF92 #7F84AF #AF7F9C
split-complementary
#AFAA7F #7F9CAF #927FAF
monochromatic
#6F6A45 #948E5D #AFAA7F #C7C3A5 #DEDCCA
Accessibility & contrast
On white
2.37
#AFAA7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#AFAA7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA7F
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA7F | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A77C
Deuteranopia (green-blind)
#B4AA81
Tritanopia (blue-blind)
#B6A49F
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afaa7f; /* rgb */ color: rgb(175, 170, 127); /* oklch */ color: oklch(73.1% 0.059 102.2);
Tailwind
colors: {
custom: {
50: '#c7c3a4',
500: '#afaa7f',
950: '#000000',
},
}SCSS
$custom: #afaa7f; $custom-light: #c7c3a4; $custom-dark: #000000;
JSON
{
"hex": "#afaa7f",
"rgb": {
"r": 175,
"g": 170,
"b": 127
},
"hsl": {
"h": 53.75,
"s": 23.077,
"l": 59.216
},
"oklch": {
"l": 0.73127,
"c": 0.05897,
"h": 102.2
},
"luminance": 0.39396
}Semantic roles & 50–950 ramp
primary
#AFAA7F
secondary
#BCBDCE
accent
#71C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F