#ABAF81#ABAF81
#ABAF81 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.063 H 112.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF81 |
|---|---|
| RGB | rgb(171, 175, 129) |
| HSL | hsl(65, 22%, 60%) |
| HSV | hsv(65, 26%, 69%) |
| CMYK | cmyk(2.3%, 0%, 26.3%, 31.4%) |
| CIE-LAB | lab(70.11, -9.10, 23.19) |
| CIE-LCH | lch(70.11, 24.91, 111.43°) |
| OKLab | oklab(73.91% -0.0236 0.0584) |
| OKLCH | oklch(73.91% 0.063 112) |
| XYZ | xyz(36.0869, 40.9032, 26.7587) |
| Luminance | 0.4090 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sage Green
#9CAF88
ΔE00 5.35
Khaki (survey)
#AAA662
ΔE00 6.26
Bland
#AFA88B
ΔE00 6.79
Stone (survey)
#ADA587
ΔE00 7.02
Sand
#C2B280
ΔE00 7.28
Darkkhaki
#BDB76B
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF81 #8581AF
analogous
#AF9C81 #ABAF81 #94AF81
triadic
#ABAF81 #81ABAF #AF81AB
tetradic
#ABAF81 #81AF9C #8581AF #AF8194
square
#ABAF81 #81AF9C #8581AF #AF8194
split-complementary
#ABAF81 #8194AF #9C81AF
monochromatic
#6C6F47 #90955E #ABAF81 #C4C7A6 #DDDFCC
Accessibility & contrast
On white
2.29
#ABAF81 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#ABAF81 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF81
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF81 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF81 | 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)
#B6AB7E
Deuteranopia (green-blind)
#B6AC83
Tritanopia (blue-blind)
#B1AAA3
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abaf81; /* rgb */ color: rgb(171, 175, 129); /* oklch */ color: oklch(73.9% 0.063 112.0);
Tailwind
colors: {
custom: {
50: '#c4c6a6',
500: '#abaf81',
950: '#000000',
},
}SCSS
$custom: #abaf81; $custom-light: #c4c6a6; $custom-dark: #000000;
JSON
{
"hex": "#abaf81",
"rgb": {
"r": 171,
"g": 175,
"b": 129
},
"hsl": {
"h": 65.217,
"s": 22.33,
"l": 59.608
},
"oklch": {
"l": 0.73908,
"c": 0.06302,
"h": 112
},
"luminance": 0.40903
}Semantic roles & 50–950 ramp
primary
#ABAF81
secondary
#BFBDCF
accent
#69BF70
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F