#A2A81F#A2A81F
#A2A81F is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.148 H 112.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A81F |
|---|---|
| RGB | rgb(162, 168, 31) |
| HSL | hsl(63, 69%, 39%) |
| HSV | hsv(63, 82%, 66%) |
| CMYK | cmyk(3.6%, 0%, 81.5%, 34.1%) |
| CIE-LAB | lab(66.36, -17.79, 63.16) |
| CIE-LCH | lch(66.36, 65.62, 105.73°) |
| OKLab | oklab(70.39% -0.0561 0.1367) |
| OKLCH | oklch(70.39% 0.148 112.3) |
| XYZ | xyz(29.1513, 35.7863, 6.6679) |
| Luminance | 0.3579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.51
Puke
#A5A502
ΔE00 2.20
Pea Soup Green
#94A617
ΔE00 3.09
Puke Green
#9AAE07
ΔE00 3.31
Barf Green
#94AC02
ΔE00 3.96
Mustard Green
#A8B504
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A81F #251FA8
analogous
#A86A1F #A2A81F #5EA81F
triadic
#A2A81F #1FA2A8 #A81FA2
tetradic
#A2A81F #1FA86A #251FA8 #A81F5E
square
#A2A81F #1FA86A #251FA8 #A81F5E
split-complementary
#A2A81F #1F5EA8 #6A1FA8
monochromatic
#3E410C #707415 #A2A81F #D1D82C #DCE260
Accessibility & contrast
On white
2.57
#A2A81F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#A2A81F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A81F
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A81F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A81F | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B6A32D
Tritanopia (blue-blind)
#AE9D8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a81f; /* rgb */ color: rgb(162, 168, 31); /* oklch */ color: oklch(70.4% 0.148 112.3);
Tailwind
colors: {
custom: {
50: '#c1c169',
500: '#a2a81f',
950: '#000000',
},
}SCSS
$custom: #a2a81f; $custom-light: #c1c169; $custom-dark: #000000;
JSON
{
"hex": "#a2a81f",
"rgb": {
"r": 162,
"g": 168,
"b": 31
},
"hsl": {
"h": 62.628,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.70388,
"c": 0.14778,
"h": 112.3
},
"luminance": 0.35786
}Semantic roles & 50–950 ramp
primary
#A2A81F
secondary
#615DC6
accent
#3CEC44
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A