#ABA740#ABA740
#ABA740 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.2% C 0.124 H 107.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA740 |
|---|---|
| RGB | rgb(171, 167, 64) |
| HSL | hsl(58, 46%, 46%) |
| HSV | hsv(58, 63%, 67%) |
| CMYK | cmyk(0%, 2.3%, 62.6%, 32.9%) |
| CIE-LAB | lab(67.03, -11.71, 52.12) |
| CIE-LCH | lch(67.03, 53.42, 102.66°) |
| OKLab | oklab(71.17% -0.0364 0.1188) |
| OKLCH | oklch(71.17% 0.124 107.1) |
| XYZ | xyz(31.5398, 36.6665, 10.2654) |
| Luminance | 0.3667 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.93
Puke
#A5A502
ΔE00 4.45
Khaki (survey)
#AAA662
ΔE00 5.55
Pea Soup Green
#94A617
ΔE00 6.12
Darkkhaki
#BDB76B
ΔE00 6.48
Pea Soup
#929901
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA740 #4044AB
analogous
#AB7140 #ABA740 #79AB40
triadic
#ABA740 #40ABA7 #A740AB
tetradic
#ABA740 #40AB71 #4044AB #AB4079
square
#ABA740 #40AB71 #4044AB #AB4079
split-complementary
#ABA740 #4079AB #7140AB
monochromatic
#52501F #7E7C2F #ABA740 #C5C163 #D5D390
Accessibility & contrast
On white
2.52
#ABA740 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#ABA740 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA740
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA740 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA740 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A134
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#B79D91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #aba740; /* rgb */ color: rgb(171, 167, 64); /* oklch */ color: oklch(71.2% 0.124 107.1);
Tailwind
colors: {
custom: {
50: '#c7c07a',
500: '#aba740',
950: '#000000',
},
}SCSS
$custom: #aba740; $custom-light: #c7c07a; $custom-dark: #000000;
JSON
{
"hex": "#aba740",
"rgb": {
"r": 171,
"g": 167,
"b": 64
},
"hsl": {
"h": 57.757,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.7117,
"c": 0.12421,
"h": 107.1
},
"luminance": 0.36666
}Semantic roles & 50–950 ramp
primary
#ABA740
secondary
#8688C1
accent
#57D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B