#ABAF7E#ABAF7E
#ABAF7E is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.067 H 111.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF7E |
|---|---|
| RGB | rgb(171, 175, 126) |
| HSL | hsl(65, 23%, 59%) |
| HSV | hsv(65, 28%, 69%) |
| CMYK | cmyk(2.3%, 0%, 28%, 31.4%) |
| CIE-LAB | lab(70.05, -9.52, 24.73) |
| CIE-LCH | lch(70.05, 26.50, 111.06°) |
| OKLab | oklab(73.85% -0.0249 0.0621) |
| OKLCH | oklch(73.85% 0.067 111.8) |
| XYZ | xyz(35.8904, 40.8246, 25.7238) |
| Luminance | 0.4082 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.65
Sage Green
#9CAF88
ΔE00 5.69
Darkkhaki
#BDB76B
ΔE00 6.96
Sand
#C2B280
ΔE00 7.17
Bland
#AFA88B
ΔE00 7.25
Tan Green
#A9BE70
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF7E #827EAF
analogous
#AF9B7E #ABAF7E #93AF7E
triadic
#ABAF7E #7EABAF #AF7EAB
tetradic
#ABAF7E #7EAF9B #827EAF #AF7E93
square
#ABAF7E #7EAF9B #827EAF #AF7E93
split-complementary
#ABAF7E #7E93AF #9B7EAF
monochromatic
#6B6E44 #8F945C #ABAF7E #C4C6A4 #DCDECA
Accessibility & contrast
On white
2.29
#ABAF7E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#ABAF7E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF7E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF7E | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6AA7B
Deuteranopia (green-blind)
#B7AC80
Tritanopia (blue-blind)
#B1A9A2
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abaf7e; /* rgb */ color: rgb(171, 175, 126); /* oklch */ color: oklch(73.8% 0.067 111.8);
Tailwind
colors: {
custom: {
50: '#c4c6a3',
500: '#abaf7e',
950: '#000000',
},
}SCSS
$custom: #abaf7e; $custom-light: #c4c6a3; $custom-dark: #000000;
JSON
{
"hex": "#abaf7e",
"rgb": {
"r": 171,
"g": 175,
"b": 126
},
"hsl": {
"h": 64.898,
"s": 23.445,
"l": 59.02
},
"oklch": {
"l": 0.73846,
"c": 0.06687,
"h": 111.8
},
"luminance": 0.40824
}Semantic roles & 50–950 ramp
primary
#ABAF7E
secondary
#BCBBCE
accent
#68C06F
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F