#A2AB2E#A2AB2E
#A2AB2E is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.143 H 113.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AB2E |
|---|---|
| RGB | rgb(162, 171, 46) |
| HSL | hsl(64, 58%, 43%) |
| HSV | hsv(64, 73%, 67%) |
| CMYK | cmyk(5.3%, 0%, 73.1%, 32.9%) |
| CIE-LAB | lab(67.28, -18.70, 59.30) |
| CIE-LCH | lch(67.28, 62.18, 107.50°) |
| OKLab | oklab(71.15% -0.0574 0.1312) |
| OKLCH | oklch(71.15% 0.143 113.6) |
| XYZ | xyz(29.9572, 37.0051, 8.1488) |
| Luminance | 0.3700 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.96
Puke Green
#9AAE07
ΔE00 3.01
Vomit
#A2A415
ΔE00 3.02
Barf Green
#94AC02
ΔE00 3.62
Puke
#A5A502
ΔE00 3.75
Mustard Green
#A8B504
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AB2E #372EAB
analogous
#AB752E #A2AB2E #63AB2E
triadic
#A2AB2E #2EA2AB #AB2EA2
tetradic
#A2AB2E #2EAB75 #372EAB #AB2E63
square
#A2AB2E #2EAB75 #372EAB #AB2E63
split-complementary
#A2AB2E #2E63AB #752EAB
monochromatic
#474B14 #747B21 #A2AB2E #C4CE48 #D4DB79
Accessibility & contrast
On white
2.50
#A2AB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#A2AB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AB2E
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AB2E | 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)
#B8A315
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a2ab2e; /* rgb */ color: rgb(162, 171, 46); /* oklch */ color: oklch(71.2% 0.143 113.6);
Tailwind
colors: {
custom: {
50: '#c1c370',
500: '#a2ab2e',
950: '#000000',
},
}SCSS
$custom: #a2ab2e; $custom-light: #c1c370; $custom-dark: #000000;
JSON
{
"hex": "#a2ab2e",
"rgb": {
"r": 162,
"g": 171,
"b": 46
},
"hsl": {
"h": 64.32,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.71152,
"c": 0.1432,
"h": 113.6
},
"luminance": 0.37004
}Semantic roles & 50–950 ramp
primary
#A2AB2E
secondary
#7872C3
accent
#47E152
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B