#ABAF7A#ABAF7A
#ABAF7A is a light, moderate yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.072 H 111.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF7A |
|---|---|
| RGB | rgb(171, 175, 122) |
| HSL | hsl(65, 25%, 58%) |
| HSV | hsv(65, 30%, 69%) |
| CMYK | cmyk(2.3%, 0%, 30.3%, 31.4%) |
| CIE-LAB | lab(69.98, -10.07, 26.78) |
| CIE-LCH | lch(69.98, 28.61, 110.60°) |
| OKLab | oklab(73.77% -0.0265 0.0669) |
| OKLCH | oklch(73.77% 0.072 111.7) |
| XYZ | xyz(35.6375, 40.7234, 24.3916) |
| Luminance | 0.4072 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.91
Darkkhaki
#BDB76B
ΔE00 6.23
Sage Green
#9CAF88
ΔE00 6.24
Tan Green
#A9BE70
ΔE00 6.69
Sand
#C2B280
ΔE00 7.12
Light Olive
#ACBF69
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF7A #7E7AAF
analogous
#AF987A #ABAF7A #90AF7A
triadic
#ABAF7A #7AABAF #AF7AAB
tetradic
#ABAF7A #7AAF98 #7E7AAF #AF7A90
square
#ABAF7A #7AAF98 #7E7AAF #AF7A90
split-complementary
#ABAF7A #7A90AF #987AAF
monochromatic
#6A6D42 #8F9359 #ABAF7A #C3C6A0 #DBDDC6
Accessibility & contrast
On white
2.30
#ABAF7A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#ABAF7A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF7A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF7A | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7AA76
Deuteranopia (green-blind)
#B7AC7C
Tritanopia (blue-blind)
#B2A9A1
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abaf7a; /* rgb */ color: rgb(171, 175, 122); /* oklch */ color: oklch(73.8% 0.072 111.7);
Tailwind
colors: {
custom: {
50: '#c4c6a1',
500: '#abaf7a',
950: '#000000',
},
}SCSS
$custom: #abaf7a; $custom-light: #c4c6a1; $custom-dark: #000000;
JSON
{
"hex": "#abaf7a",
"rgb": {
"r": 171,
"g": 175,
"b": 122
},
"hsl": {
"h": 64.528,
"s": 24.883,
"l": 58.235
},
"oklch": {
"l": 0.73766,
"c": 0.07194,
"h": 111.7
},
"luminance": 0.40723
}Semantic roles & 50–950 ramp
primary
#ABAF7A
secondary
#B9B8CD
accent
#66C16D
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130F
muted
#82827E