#ABA82A#ABA82A
#ABA82A is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.2% C 0.140 H 108.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA82A |
|---|---|
| RGB | rgb(171, 168, 42) |
| HSL | hsl(59, 61%, 42%) |
| HSV | hsv(59, 75%, 67%) |
| CMYK | cmyk(0%, 1.8%, 75.4%, 32.9%) |
| CIE-LAB | lab(67.15, -13.43, 60.82) |
| CIE-LCH | lch(67.15, 62.28, 102.46°) |
| OKLab | oklab(71.22% -0.0435 0.1334) |
| OKLCH | oklch(71.22% 0.14 108.1) |
| XYZ | xyz(31.2164, 36.8314, 7.6549) |
| Luminance | 0.3683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.15
Puke
#A5A502
ΔE00 2.23
Mustard Green
#A8B504
ΔE00 5.12
Pea Soup Green
#94A617
ΔE00 5.36
Muddy Yellow
#BFAC05
ΔE00 5.46
Puke Green
#9AAE07
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA82A #2A2DAB
analogous
#AB682A #ABA82A #6EAB2A
triadic
#ABA82A #2AABA8 #A82AAB
tetradic
#ABA82A #2AAB68 #2A2DAB #AB2A6E
square
#ABA82A #2AAB68 #2A2DAB #AB2A6E
split-complementary
#ABA82A #2A6EAB #682AAB
monochromatic
#494712 #7A781E #ABA82A #D1CD42 #DDDA73
Accessibility & contrast
On white
2.51
#ABA82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#ABA82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA82A
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA82A | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#B89D90
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #aba82a; /* rgb */ color: rgb(171, 168, 42); /* oklch */ color: oklch(71.2% 0.140 108.1);
Tailwind
colors: {
custom: {
50: '#c8c16e',
500: '#aba82a',
950: '#000000',
},
}SCSS
$custom: #aba82a; $custom-light: #c8c16e; $custom-dark: #000000;
JSON
{
"hex": "#aba82a",
"rgb": {
"r": 171,
"g": 168,
"b": 42
},
"hsl": {
"h": 58.605,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.71221,
"c": 0.1403,
"h": 108.1
},
"luminance": 0.3683
}Semantic roles & 50–950 ramp
primary
#ABA82A
secondary
#6D6FC4
accent
#48E444
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B