#A2B931#A2B931
#A2B931 is a light, vivid yellow-green. Relative luminance 0.426; OKLCH L 74.4% C 0.157 H 118.9°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B931 |
|---|---|
| RGB | rgb(162, 185, 49) |
| HSL | hsl(70, 58%, 46%) |
| HSV | hsv(70, 74%, 73%) |
| CMYK | cmyk(12.4%, 0%, 73.5%, 27.5%) |
| CIE-LAB | lab(71.28, -25.50, 62.10) |
| CIE-LCH | lch(71.28, 67.13, 112.32°) |
| OKLab | oklab(74.37% -0.0759 0.1376) |
| OKLCH | oklch(74.37% 0.157 118.9) |
| XYZ | xyz(32.8043, 42.6013, 9.3999) |
| Luminance | 0.4260 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.02
Pea
#A4BF20
ΔE00 2.18
Booger
#9BB53C
ΔE00 2.26
Bright Olive
#9CBB04
ΔE00 2.52
Gross Green
#A0BF16
ΔE00 2.57
Sickly Green
#94B21C
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B931 #4831B9
analogous
#B98C31 #A2B931 #5EB931
triadic
#A2B931 #31A2B9 #B931A2
tetradic
#A2B931 #31B98C #4831B9 #B9315E
square
#A2B931 #31B98C #4831B9 #B9315E
split-complementary
#A2B931 #315EB9 #8C31B9
monochromatic
#4D5817 #788924 #A2B931 #BDD255 #D0DF86
Accessibility & contrast
On white
2.21
#A2B931 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#A2B931 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B931
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B931 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE15
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#ACAF9F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a2b931; /* rgb */ color: rgb(162, 185, 49); /* oklch */ color: oklch(74.4% 0.157 118.9);
Tailwind
colors: {
custom: {
50: '#c1ce73',
500: '#a2b931',
950: '#000000',
},
}SCSS
$custom: #a2b931; $custom-light: #c1ce73; $custom-dark: #000000;
JSON
{
"hex": "#a2b931",
"rgb": {
"r": 162,
"g": 185,
"b": 49
},
"hsl": {
"h": 70.147,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.74373,
"c": 0.15718,
"h": 118.9
},
"luminance": 0.42601
}Semantic roles & 50–950 ramp
primary
#A2B931
secondary
#8A7DC8
accent
#46E161
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B