#AFAE7F#AFAE7F
#AFAE7F is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.0% C 0.064 H 106.8°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE7F |
|---|---|
| RGB | rgb(175, 174, 127) |
| HSL | hsl(59, 23%, 59%) |
| HSV | hsv(59, 27%, 69%) |
| CMYK | cmyk(0%, 0.6%, 27.4%, 31.4%) |
| CIE-LAB | lab(70.12, -7.29, 24.33) |
| CIE-LCH | lch(70.12, 25.40, 106.67°) |
| OKLab | oklab(73.98% -0.0185 0.0612) |
| OKLCH | oklch(73.98% 0.064 106.8) |
| XYZ | xyz(36.6461, 40.9189, 26.0422) |
| Luminance | 0.4092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.42
Sand
#C2B280
ΔE00 5.63
Bland
#AFA88B
ΔE00 5.92
Stone (survey)
#ADA587
ΔE00 6.06
Darkkhaki
#BDB76B
ΔE00 6.69
Sage Green
#9CAF88
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE7F #7F80AF
analogous
#AF967F #AFAE7F #98AF7F
triadic
#AFAE7F #7FAFAE #AE7FAF
tetradic
#AFAE7F #7FAF96 #7F80AF #AF7F98
square
#AFAE7F #7FAF96 #7F80AF #AF7F98
split-complementary
#AFAE7F #7F98AF #967FAF
monochromatic
#6F6E45 #94935D #AFAE7F #C7C6A5 #DEDECA
Accessibility & contrast
On white
2.29
#AFAE7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#AFAE7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE7F
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE7F | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6AA7C
Deuteranopia (green-blind)
#B7AC81
Tritanopia (blue-blind)
#B6A8A2
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afae7f; /* rgb */ color: rgb(175, 174, 127); /* oklch */ color: oklch(74.0% 0.064 106.8);
Tailwind
colors: {
custom: {
50: '#c7c6a4',
500: '#afae7f',
950: '#000000',
},
}SCSS
$custom: #afae7f; $custom-light: #c7c6a4; $custom-dark: #000000;
JSON
{
"hex": "#afae7f",
"rgb": {
"r": 175,
"g": 174,
"b": 127
},
"hsl": {
"h": 58.75,
"s": 23.077,
"l": 59.216
},
"oklch": {
"l": 0.73983,
"c": 0.06389,
"h": 106.8
},
"luminance": 0.40918
}Semantic roles & 50–950 ramp
primary
#AFAE7F
secondary
#BCBCCE
accent
#6AC068
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F