#ABA845#ABA845
#ABA845 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.4% C 0.121 H 107.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA845 |
|---|---|
| RGB | rgb(171, 168, 69) |
| HSL | hsl(58, 43%, 47%) |
| HSV | hsv(58, 60%, 67%) |
| CMYK | cmyk(0%, 1.8%, 59.6%, 32.9%) |
| CIE-LAB | lab(67.35, -11.88, 50.24) |
| CIE-LCH | lch(67.35, 51.63, 103.31°) |
| OKLab | oklab(71.44% -0.0363 0.1155) |
| OKLCH | oklch(71.44% 0.121 107.5) |
| XYZ | xyz(31.8724, 37.0938, 11.1100) |
| Luminance | 0.3709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.45
Khaki (survey)
#AAA662
ΔE00 5.01
Puke
#A5A502
ΔE00 5.03
Darkkhaki
#BDB76B
ΔE00 5.96
Pea Soup Green
#94A617
ΔE00 6.25
Puke Green
#9AAE07
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA845 #4548AB
analogous
#AB7545 #ABA845 #7BAB45
triadic
#ABA845 #45ABA8 #A845AB
tetradic
#ABA845 #45AB75 #4548AB #AB457B
square
#ABA845 #45AB75 #4548AB #AB457B
split-complementary
#ABA845 #457BAB #7545AB
monochromatic
#545222 #7F7D33 #ABA845 #C3C06A #D5D396
Accessibility & contrast
On white
2.49
#ABA845 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#ABA845 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA845
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA845 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA845 | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A23A
Deuteranopia (green-blind)
#B7A64B
Tritanopia (blue-blind)
#B69E93
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #aba845; /* rgb */ color: rgb(171, 168, 69); /* oklch */ color: oklch(71.4% 0.121 107.5);
Tailwind
colors: {
custom: {
50: '#c6c17d',
500: '#aba845',
950: '#000000',
},
}SCSS
$custom: #aba845; $custom-light: #c6c17d; $custom-dark: #000000;
JSON
{
"hex": "#aba845",
"rgb": {
"r": 171,
"g": 168,
"b": 69
},
"hsl": {
"h": 58.235,
"s": 42.5,
"l": 47.059
},
"oklch": {
"l": 0.71441,
"c": 0.12106,
"h": 107.5
},
"luminance": 0.37093
}Semantic roles & 50–950 ramp
primary
#ABA845
secondary
#8B8DC0
accent
#59D256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C