#A2AB2B#A2AB2B
#A2AB2B is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.145 H 113.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AB2B |
|---|---|
| RGB | rgb(162, 171, 43) |
| HSL | hsl(64, 60%, 42%) |
| HSV | hsv(64, 75%, 67%) |
| CMYK | cmyk(5.3%, 0%, 74.9%, 32.9%) |
| CIE-LAB | lab(67.26, -18.84, 60.32) |
| CIE-LCH | lch(67.26, 63.20, 107.34°) |
| OKLab | oklab(71.13% -0.058 0.1328) |
| OKLCH | oklch(71.13% 0.145 113.6) |
| XYZ | xyz(29.9002, 36.9822, 7.8482) |
| Luminance | 0.3698 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.85
Vomit
#A2A415
ΔE00 2.86
Pea Soup Green
#94A617
ΔE00 2.90
Barf Green
#94AC02
ΔE00 3.50
Puke
#A5A502
ΔE00 3.55
Mustard Green
#A8B504
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AB2B #342BAB
analogous
#AB742B #A2AB2B #62AB2B
triadic
#A2AB2B #2BA2AB #AB2BA2
tetradic
#A2AB2B #2BAB74 #342BAB #AB2B62
square
#A2AB2B #2BAB74 #342BAB #AB2B62
split-complementary
#A2AB2B #2B62AB #742BAB
monochromatic
#454912 #747A1F #A2AB2B #C6D043 #D5DC74
Accessibility & contrast
On white
2.50
#A2AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#A2AB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AB2B
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AB2B | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A30E
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2ab2b; /* rgb */ color: rgb(162, 171, 43); /* oklch */ color: oklch(71.1% 0.145 113.6);
Tailwind
colors: {
custom: {
50: '#c1c36e',
500: '#a2ab2b',
950: '#000000',
},
}SCSS
$custom: #a2ab2b; $custom-light: #c1c36e; $custom-dark: #000000;
JSON
{
"hex": "#a2ab2b",
"rgb": {
"r": 162,
"g": 171,
"b": 43
},
"hsl": {
"h": 64.219,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.71133,
"c": 0.14497,
"h": 113.6
},
"luminance": 0.36982
}Semantic roles & 50–950 ramp
primary
#A2AB2B
secondary
#746EC4
accent
#45E350
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B