#A2B31A#A2B31A
#A2B31A is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.161 H 116.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B31A |
|---|---|
| RGB | rgb(162, 179, 26) |
| HSL | hsl(67, 75%, 40%) |
| HSV | hsv(67, 85%, 70%) |
| CMYK | cmyk(9.5%, 0%, 85.5%, 29.8%) |
| CIE-LAB | lab(69.47, -23.45, 67.03) |
| CIE-LCH | lch(69.47, 71.02, 109.28°) |
| OKLab | oklab(72.88% -0.072 0.1443) |
| OKLCH | oklch(72.88% 0.161 116.5) |
| XYZ | xyz(31.2077, 39.9966, 7.0532) |
| Luminance | 0.4000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.73
Puke Green
#9AAE07
ΔE00 1.73
Booger Green
#96B403
ΔE00 2.60
Snot
#ACBB0D
ΔE00 2.67
Barf Green
#94AC02
ΔE00 2.81
Sick Green
#9DB92C
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B31A #2B1AB3
analogous
#B3781A #A2B31A #55B31A
triadic
#A2B31A #1AA2B3 #B31AA2
tetradic
#A2B31A #1AB378 #2B1AB3 #B31A55
square
#A2B31A #1AB378 #2B1AB3 #B31A55
split-complementary
#A2B31A #1A55B3 #781AB3
monochromatic
#41480A #727E12 #A2B31A #CCE02A #D9E860
Accessibility & contrast
On white
2.33
#A2B31A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#A2B31A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B31A
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B31A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B31A | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b31a; /* rgb */ color: rgb(162, 179, 26); /* oklch */ color: oklch(72.9% 0.161 116.5);
Tailwind
colors: {
custom: {
50: '#c2c969',
500: '#a2b31a',
950: '#000000',
},
}SCSS
$custom: #a2b31a; $custom-light: #c2c969; $custom-dark: #000000;
JSON
{
"hex": "#a2b31a",
"rgb": {
"r": 162,
"g": 179,
"b": 26
},
"hsl": {
"h": 66.667,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.72879,
"c": 0.16122,
"h": 116.5
},
"luminance": 0.39996
}Semantic roles & 50–950 ramp
primary
#A2B31A
secondary
#695DCC
accent
#37F14B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A