#ABA840#ABA840
#ABA840 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.125 H 107.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA840 |
|---|---|
| RGB | rgb(171, 168, 64) |
| HSL | hsl(58, 46%, 46%) |
| HSV | hsv(58, 63%, 67%) |
| CMYK | cmyk(0%, 1.8%, 62.6%, 32.9%) |
| CIE-LAB | lab(67.30, -12.23, 52.42) |
| CIE-LCH | lch(67.30, 53.83, 103.14°) |
| OKLab | oklab(71.39% -0.0379 0.1194) |
| OKLCH | oklch(71.39% 0.125 107.6) |
| XYZ | xyz(31.7237, 37.0343, 10.3267) |
| Luminance | 0.3703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.86
Puke
#A5A502
ΔE00 4.40
Khaki (survey)
#AAA662
ΔE00 5.66
Pea Soup Green
#94A617
ΔE00 5.93
Darkkhaki
#BDB76B
ΔE00 6.40
Puke Green
#9AAE07
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA840 #4043AB
analogous
#AB7240 #ABA840 #78AB40
triadic
#ABA840 #40ABA8 #A840AB
tetradic
#ABA840 #40AB72 #4043AB #AB4078
square
#ABA840 #40AB72 #4043AB #AB4078
split-complementary
#ABA840 #4078AB #7240AB
monochromatic
#52501F #7E7C2F #ABA840 #C5C263 #D5D390
Accessibility & contrast
On white
2.50
#ABA840 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#ABA840 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA840
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA840 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A233
Deuteranopia (green-blind)
#B7A646
Tritanopia (blue-blind)
#B79E92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #aba840; /* rgb */ color: rgb(171, 168, 64); /* oklch */ color: oklch(71.4% 0.125 107.6);
Tailwind
colors: {
custom: {
50: '#c7c17a',
500: '#aba840',
950: '#000000',
},
}SCSS
$custom: #aba840; $custom-light: #c7c17a; $custom-dark: #000000;
JSON
{
"hex": "#aba840",
"rgb": {
"r": 171,
"g": 168,
"b": 64
},
"hsl": {
"h": 58.318,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.71391,
"c": 0.12525,
"h": 107.6
},
"luminance": 0.37033
}Semantic roles & 50–950 ramp
primary
#ABA840
secondary
#8688C1
accent
#56D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B