#AFAE7D#AFAE7D
#AFAE7D is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.066 H 106.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE7D |
|---|---|
| RGB | rgb(175, 174, 125) |
| HSL | hsl(59, 24%, 59%) |
| HSV | hsv(59, 29%, 69%) |
| CMYK | cmyk(0%, 0.6%, 28.6%, 31.4%) |
| CIE-LAB | lab(70.08, -7.56, 25.36) |
| CIE-LCH | lch(70.08, 26.46, 106.60°) |
| OKLab | oklab(73.94% -0.0193 0.0636) |
| OKLCH | oklch(73.94% 0.066 106.9) |
| XYZ | xyz(36.5170, 40.8673, 25.3626) |
| Luminance | 0.4087 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.99
Sand
#C2B280
ΔE00 5.59
Darkkhaki
#BDB76B
ΔE00 6.27
Bland
#AFA88B
ΔE00 6.32
Stone (survey)
#ADA587
ΔE00 6.42
Sage Green
#9CAF88
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE7D #7D7EAF
analogous
#AF957D #AFAE7D #97AF7D
triadic
#AFAE7D #7DAFAE #AE7DAF
tetradic
#AFAE7D #7DAF95 #7D7EAF #AF7D97
square
#AFAE7D #7DAF95 #7D7EAF #AF7D97
split-complementary
#AFAE7D #7D97AF #957DAF
monochromatic
#6E6D44 #94935B #AFAE7D #C6C6A3 #DEDDC9
Accessibility & contrast
On white
2.29
#AFAE7D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#AFAE7D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE7D
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE7D | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6AA7A
Deuteranopia (green-blind)
#B7AC7F
Tritanopia (blue-blind)
#B6A8A1
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afae7d; /* rgb */ color: rgb(175, 174, 125); /* oklch */ color: oklch(73.9% 0.066 106.9);
Tailwind
colors: {
custom: {
50: '#c7c6a3',
500: '#afae7d',
950: '#000000',
},
}SCSS
$custom: #afae7d; $custom-light: #c7c6a3; $custom-dark: #000000;
JSON
{
"hex": "#afae7d",
"rgb": {
"r": 175,
"g": 174,
"b": 125
},
"hsl": {
"h": 58.8,
"s": 23.81,
"l": 58.824
},
"oklch": {
"l": 0.73943,
"c": 0.06643,
"h": 106.9
},
"luminance": 0.40867
}Semantic roles & 50–950 ramp
primary
#AFAE7D
secondary
#BABACE
accent
#69C068
background
#FCFCFA
surface
#F8F8F3
border
#D1D1CD
text
#13130F
muted
#82827F