#ABA540#ABA540
#ABA540 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.122 H 105.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA540 |
|---|---|
| RGB | rgb(171, 165, 64) |
| HSL | hsl(57, 46%, 46%) |
| HSV | hsv(57, 63%, 67%) |
| CMYK | cmyk(0%, 3.5%, 62.6%, 32.9%) |
| CIE-LAB | lab(66.47, -10.66, 51.53) |
| CIE-LCH | lch(66.47, 52.62, 101.69°) |
| OKLab | oklab(70.73% -0.0335 0.1175) |
| OKLCH | oklch(70.73% 0.122 105.9) |
| XYZ | xyz(31.1762, 35.9394, 10.1443) |
| Luminance | 0.3594 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.16
Puke
#A5A502
ΔE00 4.66
Khaki (survey)
#AAA662
ΔE00 5.41
Pea Soup
#929901
ΔE00 6.55
Pea Soup Green
#94A617
ΔE00 6.58
Darkkhaki
#BDB76B
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA540 #4046AB
analogous
#AB6F40 #ABA540 #7BAB40
triadic
#ABA540 #40ABA5 #A540AB
tetradic
#ABA540 #40AB6F #4046AB #AB407B
square
#ABA540 #40AB6F #4046AB #AB407B
split-complementary
#ABA540 #407BAB #6F40AB
monochromatic
#524F1F #7E7A2F #ABA540 #C5BF63 #D5D290
Accessibility & contrast
On white
2.56
#ABA540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#ABA540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA540
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA540 | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#B79B90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #aba540; /* rgb */ color: rgb(171, 165, 64); /* oklch */ color: oklch(70.7% 0.122 105.9);
Tailwind
colors: {
custom: {
50: '#c7bf79',
500: '#aba540',
950: '#000000',
},
}SCSS
$custom: #aba540; $custom-light: #c7bf79; $custom-dark: #000000;
JSON
{
"hex": "#aba540",
"rgb": {
"r": 171,
"g": 165,
"b": 64
},
"hsl": {
"h": 56.636,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.7073,
"c": 0.12217,
"h": 105.9
},
"luminance": 0.35938
}Semantic roles & 50–950 ramp
primary
#ABA540
secondary
#8689C1
accent
#5AD553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B