#ABA942#ABA942
#ABA942 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.6% C 0.125 H 108.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA942 |
|---|---|
| RGB | rgb(171, 169, 66) |
| HSL | hsl(59, 44%, 46%) |
| HSV | hsv(59, 61%, 67%) |
| CMYK | cmyk(0%, 1.2%, 61.4%, 32.9%) |
| CIE-LAB | lab(67.60, -12.62, 51.86) |
| CIE-LCH | lch(67.60, 53.37, 103.67°) |
| OKLab | oklab(71.63% -0.0388 0.1185) |
| OKLCH | oklch(71.63% 0.125 108.1) |
| XYZ | xyz(31.9669, 37.4281, 10.6936) |
| Luminance | 0.3743 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.06
Puke
#A5A502
ΔE00 4.63
Khaki (survey)
#AAA662
ΔE00 5.53
Pea Soup Green
#94A617
ΔE00 5.87
Darkkhaki
#BDB76B
ΔE00 6.16
Puke Green
#9AAE07
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA942 #4244AB
analogous
#AB7542 #ABA942 #79AB42
triadic
#ABA942 #42ABA9 #A942AB
tetradic
#ABA942 #42AB75 #4244AB #AB4279
square
#ABA942 #42AB75 #4244AB #AB4279
split-complementary
#ABA942 #4279AB #7542AB
monochromatic
#535220 #7F7D31 #ABA942 #C4C266 #D5D492
Accessibility & contrast
On white
2.47
#ABA942 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#ABA942 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA942
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA942 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA942 | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A336
Deuteranopia (green-blind)
#B8A648
Tritanopia (blue-blind)
#B79F93
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #aba942; /* rgb */ color: rgb(171, 169, 66); /* oklch */ color: oklch(71.6% 0.125 108.1);
Tailwind
colors: {
custom: {
50: '#c7c27b',
500: '#aba942',
950: '#000000',
},
}SCSS
$custom: #aba942; $custom-light: #c7c27b; $custom-dark: #000000;
JSON
{
"hex": "#aba942",
"rgb": {
"r": 171,
"g": 169,
"b": 66
},
"hsl": {
"h": 58.857,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.71631,
"c": 0.12466,
"h": 108.1
},
"luminance": 0.37427
}Semantic roles & 50–950 ramp
primary
#ABA942
secondary
#8889C0
accent
#56D454
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C