#ABAF7F#ABAF7F
#ABAF7F is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.9% C 0.066 H 111.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF7F |
|---|---|
| RGB | rgb(171, 175, 127) |
| HSL | hsl(65, 23%, 59%) |
| HSV | hsv(65, 27%, 69%) |
| CMYK | cmyk(2.3%, 0%, 27.4%, 31.4%) |
| CIE-LAB | lab(70.07, -9.38, 24.21) |
| CIE-LCH | lch(70.07, 25.97, 111.18°) |
| OKLab | oklab(73.87% -0.0244 0.0609) |
| OKLCH | oklch(73.87% 0.066 111.9) |
| XYZ | xyz(35.9553, 40.8506, 26.0654) |
| Luminance | 0.4085 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sage Green
#9CAF88
ΔE00 5.56
Khaki (survey)
#AAA662
ΔE00 5.85
Bland
#AFA88B
ΔE00 7.09
Darkkhaki
#BDB76B
ΔE00 7.16
Sand
#C2B280
ΔE00 7.20
Stone (survey)
#ADA587
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF7F #837FAF
analogous
#AF9B7F #ABAF7F #93AF7F
triadic
#ABAF7F #7FABAF #AF7FAB
tetradic
#ABAF7F #7FAF9B #837FAF #AF7F93
square
#ABAF7F #7FAF9B #837FAF #AF7F93
split-complementary
#ABAF7F #7F93AF #9B7FAF
monochromatic
#6B6F45 #90945D #ABAF7F #C4C7A5 #DCDECA
Accessibility & contrast
On white
2.29
#ABAF7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#ABAF7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF7F
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF7F | 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)
#B6AB7C
Deuteranopia (green-blind)
#B6AC81
Tritanopia (blue-blind)
#B1A9A2
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abaf7f; /* rgb */ color: rgb(171, 175, 127); /* oklch */ color: oklch(73.9% 0.066 111.9);
Tailwind
colors: {
custom: {
50: '#c4c6a4',
500: '#abaf7f',
950: '#000000',
},
}SCSS
$custom: #abaf7f; $custom-light: #c4c6a4; $custom-dark: #000000;
JSON
{
"hex": "#abaf7f",
"rgb": {
"r": 171,
"g": 175,
"b": 127
},
"hsl": {
"h": 65,
"s": 23.077,
"l": 59.216
},
"oklch": {
"l": 0.73866,
"c": 0.06559,
"h": 111.9
},
"luminance": 0.4085
}Semantic roles & 50–950 ramp
primary
#ABAF7F
secondary
#BDBCCE
accent
#68C070
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F