#ABA12A#ABA12A
#ABA12A is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.134 H 104.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA12A |
|---|---|
| RGB | rgb(171, 161, 42) |
| HSL | hsl(55, 61%, 42%) |
| HSV | hsv(55, 75%, 67%) |
| CMYK | cmyk(0%, 5.8%, 75.4%, 32.9%) |
| CIE-LAB | lab(65.21, -9.78, 59.01) |
| CIE-LCH | lch(65.21, 59.82, 99.41°) |
| OKLab | oklab(69.68% -0.0333 0.1295) |
| OKLCH | oklch(69.68% 0.134 104.4) |
| XYZ | xyz(29.9587, 34.3160, 7.2356) |
| Luminance | 0.3432 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.41
Puke
#A5A502
ΔE00 3.42
Muddy Yellow
#BFAC05
ΔE00 5.36
Brown Yellow
#B29705
ΔE00 5.60
Pea Soup
#929901
ΔE00 5.77
Baby Poop Green
#8F9805
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA12A #2A34AB
analogous
#AB612A #ABA12A #75AB2A
triadic
#ABA12A #2AABA1 #A12AAB
tetradic
#ABA12A #2AAB61 #2A34AB #AB2A75
square
#ABA12A #2AAB61 #2A34AB #AB2A75
split-complementary
#ABA12A #2A75AB #612AAB
monochromatic
#494412 #7A731E #ABA12A #D1C542 #DDD473
Accessibility & contrast
On white
2.67
#ABA12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#ABA12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA12A
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA12A | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B11
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#B8968A
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #aba12a; /* rgb */ color: rgb(171, 161, 42); /* oklch */ color: oklch(69.7% 0.134 104.4);
Tailwind
colors: {
custom: {
50: '#c8bc6d',
500: '#aba12a',
950: '#000000',
},
}SCSS
$custom: #aba12a; $custom-light: #c8bc6d; $custom-dark: #000000;
JSON
{
"hex": "#aba12a",
"rgb": {
"r": 171,
"g": 161,
"b": 42
},
"hsl": {
"h": 55.349,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.69676,
"c": 0.13375,
"h": 104.4
},
"luminance": 0.34315
}Semantic roles & 50–950 ramp
primary
#ABA12A
secondary
#6D74C4
accent
#50E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A