#A2C231#A2C231
#A2C231 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.4% C 0.168 H 121.6°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A2C231 |
|---|---|
| RGB | rgb(162, 194, 49) |
| HSL | hsl(73, 60%, 48%) |
| HSV | hsv(73, 75%, 76%) |
| CMYK | cmyk(16.5%, 0%, 74.7%, 23.9%) |
| CIE-LAB | lab(73.86, -29.81, 64.55) |
| CIE-LCH | lch(73.86, 71.11, 114.79°) |
| OKLab | oklab(76.45% -0.0878 0.1428) |
| OKLCH | oklch(76.45% 0.168 121.6) |
| XYZ | xyz(34.7470, 46.4867, 10.0474) |
| Luminance | 0.4649 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 1.80
Gross Green
#A0BF16
ΔE00 1.83
Snot Green
#9DC100
ΔE00 2.24
Sick Green
#9DB92C
ΔE00 2.36
Bright Olive
#9CBB04
ΔE00 2.73
Yellowgreen
#9ACD32
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2C231 #5131C2
analogous
#C29931 #A2C231 #5AC231
triadic
#A2C231 #31A2C2 #C231A2
tetradic
#A2C231 #31C299 #5131C2 #C2315A
square
#A2C231 #31C299 #5131C2 #C2315A
split-complementary
#A2C231 #315AC2 #9931C2
monochromatic
#506018 #799125 #A2C231 #BAD65B #CFE28C
Accessibility & contrast
On white
2.04
#A2C231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.30
#A2C231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2C231
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2C231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2C231 | 1.00 | 2.04 | 10.30 | 10.30 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB60F
Deuteranopia (green-blind)
#CAB63E
Tritanopia (blue-blind)
#ABB8A7
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #a2c231; /* rgb */ color: rgb(162, 194, 49); /* oklch */ color: oklch(76.4% 0.168 121.6);
Tailwind
colors: {
custom: {
50: '#c1d474',
500: '#a2c231',
950: '#000000',
},
}SCSS
$custom: #a2c231; $custom-light: #c1d474; $custom-dark: #000000;
JSON
{
"hex": "#a2c231",
"rgb": {
"r": 162,
"g": 194,
"b": 49
},
"hsl": {
"h": 73.241,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.7645,
"c": 0.16763,
"h": 121.6
},
"luminance": 0.46487
}Semantic roles & 50–950 ramp
primary
#A2C231
secondary
#9383CC
accent
#45E368
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B