#ABAB4E#ABAB4E
#ABAB4E is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.2% C 0.116 H 109.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAB4E |
|---|---|
| RGB | rgb(171, 171, 78) |
| HSL | hsl(60, 37%, 49%) |
| HSV | hsv(60, 54%, 67%) |
| CMYK | cmyk(0%, 0%, 54.4%, 32.9%) |
| CIE-LAB | lab(68.27, -12.74, 47.11) |
| CIE-LCH | lch(68.27, 48.80, 105.14°) |
| OKLab | oklab(72.2% -0.0378 0.1099) |
| OKLCH | oklch(72.2% 0.116 109) |
| XYZ | xyz(32.7335, 38.3346, 12.8813) |
| Luminance | 0.3833 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.32
Darkkhaki
#BDB76B
ΔE00 5.01
Vomit
#A2A415
ΔE00 5.57
Puke
#A5A502
ΔE00 6.22
Pea Soup Green
#94A617
ΔE00 6.55
Booger
#9BB53C
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAB4E #4E4EAB
analogous
#AB7D4E #ABAB4E #7DAB4E
triadic
#ABAB4E #4EABAB #AB4EAB
tetradic
#ABAB4E #4EAB7D #4E4EAB #AB4E7D
square
#ABAB4E #4EAB7D #4E4EAB #AB4E7D
split-complementary
#ABAB4E #4E7DAB #7D4EAB
monochromatic
#575728 #81813B #ABAB4E #C0C076 #D4D4A0
Accessibility & contrast
On white
2.42
#ABAB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.67
#ABAB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAB4E
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAB4E | 1.00 | 2.42 | 8.67 | 8.67 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A545
Deuteranopia (green-blind)
#B9A853
Tritanopia (blue-blind)
#B6A196
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #abab4e; /* rgb */ color: rgb(171, 171, 78); /* oklch */ color: oklch(72.2% 0.116 109.0);
Tailwind
colors: {
custom: {
50: '#c6c383',
500: '#abab4e',
950: '#000000',
},
}SCSS
$custom: #abab4e; $custom-light: #c6c383; $custom-dark: #000000;
JSON
{
"hex": "#abab4e",
"rgb": {
"r": 171,
"g": 171,
"b": 78
},
"hsl": {
"h": 60,
"s": 37.349,
"l": 48.824
},
"oklch": {
"l": 0.72202,
"c": 0.11618,
"h": 109
},
"luminance": 0.38334
}Semantic roles & 50–950 ramp
primary
#ABAB4E
secondary
#9494C1
accent
#5ACD5A
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C