#A2BC31#A2BC31
#A2BC31 is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 75.1% C 0.161 H 119.8°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A2BC31 |
|---|---|
| RGB | rgb(162, 188, 49) |
| HSL | hsl(71, 59%, 46%) |
| HSV | hsv(71, 74%, 74%) |
| CMYK | cmyk(13.8%, 0%, 73.9%, 26.3%) |
| CIE-LAB | lab(72.14, -26.95, 62.92) |
| CIE-LCH | lch(72.14, 68.45, 113.19°) |
| OKLab | oklab(75.06% -0.0799 0.1394) |
| OKLCH | oklch(75.06% 0.161 119.8) |
| XYZ | xyz(33.4385, 43.8697, 9.6113) |
| Luminance | 0.4387 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.01
Pea
#A4BF20
ΔE00 1.64
Gross Green
#A0BF16
ΔE00 1.99
Bright Olive
#9CBB04
ΔE00 2.27
Booger
#9BB53C
ΔE00 2.64
Snot Green
#9DC100
ΔE00 2.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2BC31 #4B31BC
analogous
#BC9131 #A2BC31 #5DBC31
triadic
#A2BC31 #31A2BC #BC31A2
tetradic
#A2BC31 #31BC91 #4B31BC #BC315D
square
#A2BC31 #31BC91 #4B31BC #BC315D
split-complementary
#A2BC31 #315DBC #9131BC
monochromatic
#4E5B18 #788B24 #A2BC31 #BCD357 #CFE088
Accessibility & contrast
On white
2.15
#A2BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#A2BC31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2BC31
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2BC31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2BC31 | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B113
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#ABB2A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a2bc31; /* rgb */ color: rgb(162, 188, 49); /* oklch */ color: oklch(75.1% 0.161 119.8);
Tailwind
colors: {
custom: {
50: '#c1d073',
500: '#a2bc31',
950: '#000000',
},
}SCSS
$custom: #a2bc31; $custom-light: #c1d073; $custom-dark: #000000;
JSON
{
"hex": "#a2bc31",
"rgb": {
"r": 162,
"g": 188,
"b": 49
},
"hsl": {
"h": 71.223,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.75064,
"c": 0.16065,
"h": 119.8
},
"luminance": 0.4387
}Semantic roles & 50–950 ramp
primary
#A2BC31
secondary
#8D7FCA
accent
#46E263
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B