#A2A81B#A2A81B
#A2A81B is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.149 H 112.3°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A81B |
|---|---|
| RGB | rgb(162, 168, 27) |
| HSL | hsl(63, 72%, 38%) |
| HSV | hsv(63, 84%, 66%) |
| CMYK | cmyk(3.6%, 0%, 83.9%, 34.1%) |
| CIE-LAB | lab(66.34, -17.92, 64.18) |
| CIE-LCH | lch(66.34, 66.63, 105.60°) |
| OKLab | oklab(70.37% -0.0567 0.1382) |
| OKLCH | oklch(70.37% 0.149 112.3) |
| XYZ | xyz(29.1018, 35.7665, 6.4073) |
| Luminance | 0.3577 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.43
Puke
#A5A502
ΔE00 2.02
Pea Soup Green
#94A617
ΔE00 3.14
Puke Green
#9AAE07
ΔE00 3.28
Mustard Green
#A8B504
ΔE00 3.94
Barf Green
#94AC02
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A81B #211BA8
analogous
#A8671B #A2A81B #5BA81B
triadic
#A2A81B #1BA2A8 #A81BA2
tetradic
#A2A81B #1BA867 #211BA8 #A81B5B
square
#A2A81B #1BA867 #211BA8 #A81B5B
split-complementary
#A2A81B #1B5BA8 #671BA8
monochromatic
#3C3F0A #6F7313 #A2A81B #D4DC24 #DEE459
Accessibility & contrast
On white
2.58
#A2A81B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A2A81B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A81B
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A81B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A81B | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A32A
Tritanopia (blue-blind)
#AE9D8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a81b; /* rgb */ color: rgb(162, 168, 27); /* oklch */ color: oklch(70.4% 0.149 112.3);
Tailwind
colors: {
custom: {
50: '#c2c167',
500: '#a2a81b',
950: '#000000',
},
}SCSS
$custom: #a2a81b; $custom-light: #c2c167; $custom-dark: #000000;
JSON
{
"hex": "#a2a81b",
"rgb": {
"r": 162,
"g": 168,
"b": 27
},
"hsl": {
"h": 62.553,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.70371,
"c": 0.14939,
"h": 112.3
},
"luminance": 0.35766
}Semantic roles & 50–950 ramp
primary
#A2A81B
secondary
#5C57C8
accent
#39EF41
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A