#ABA22A#ABA22A
#ABA22A is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.135 H 105.0°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #ABA22A |
|---|---|
| RGB | rgb(171, 162, 42) |
| HSL | hsl(56, 61%, 42%) |
| HSV | hsv(56, 75%, 67%) |
| CMYK | cmyk(0%, 5.3%, 75.4%, 32.9%) |
| CIE-LAB | lab(65.49, -10.30, 59.27) |
| CIE-LCH | lch(65.49, 60.16, 99.86°) |
| OKLab | oklab(69.9% -0.0348 0.1301) |
| OKLCH | oklch(69.9% 0.135 105) |
| XYZ | xyz(30.1341, 34.6669, 7.2941) |
| Luminance | 0.3467 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.12
Puke
#A5A502
ΔE00 3.14
Muddy Yellow
#BFAC05
ΔE00 5.30
Pea Soup
#929901
ΔE00 5.70
Brown Yellow
#B29705
ΔE00 5.92
Baby Poop Green
#8F9805
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABA22A #2A33AB
analogous
#AB622A #ABA22A #74AB2A
triadic
#ABA22A #2AABA2 #A22AAB
tetradic
#ABA22A #2AAB62 #2A33AB #AB2A74
square
#ABA22A #2AAB62 #2A33AB #AB2A74
split-complementary
#ABA22A #2A74AB #622AAB
monochromatic
#494512 #7A731E #ABA22A #D1C742 #DDD573
Accessibility & contrast
On white
2.65
#ABA22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#ABA22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABA22A
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABA22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABA22A | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C11
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#B8978B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #aba22a; /* rgb */ color: rgb(171, 162, 42); /* oklch */ color: oklch(69.9% 0.135 105.0);
Tailwind
colors: {
custom: {
50: '#c8bd6d',
500: '#aba22a',
950: '#000000',
},
}SCSS
$custom: #aba22a; $custom-light: #c8bd6d; $custom-dark: #000000;
JSON
{
"hex": "#aba22a",
"rgb": {
"r": 171,
"g": 162,
"b": 42
},
"hsl": {
"h": 55.814,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.69896,
"c": 0.13465,
"h": 105
},
"luminance": 0.34666
}Semantic roles & 50–950 ramp
primary
#ABA22A
secondary
#6D73C4
accent
#4FE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B