#A2C962#A2C962
#A2C962 is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.5% C 0.138 H 126.5°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A2C962 |
|---|---|
| RGB | rgb(162, 201, 98) |
| HSL | hsl(83, 49%, 59%) |
| HSV | hsv(83, 51%, 79%) |
| CMYK | cmyk(19.4%, 0%, 51.2%, 21.2%) |
| CIE-LAB | lab(76.28, -29.42, 46.81) |
| CIE-LCH | lch(76.28, 55.29, 122.15°) |
| OKLab | oklab(78.53% -0.0824 0.1112) |
| OKLCH | oklch(78.53% 0.138 126.5) |
| XYZ | xyz(37.9914, 50.3360, 19.2672) |
| Luminance | 0.5034 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Moss Green
#A6C875
ΔE00 3.11
Light Olive Green
#A4BE5C
ΔE00 3.39
Pale Olive Green
#B1D27B
ΔE00 3.72
Light Olive
#ACBF69
ΔE00 4.49
Pistachio
#93C572
ΔE00 4.69
Tan Green
#A9BE70
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2C962 #8962C9
analogous
#C9BC62 #A2C962 #6EC962
triadic
#A2C962 #62A2C9 #C962A2
tetradic
#A2C962 #62C9BC #8962C9 #C9626E
square
#A2C962 #62C9BC #8962C9 #C9626E
split-complementary
#A2C962 #626EC9 #BC62C9
monochromatic
#63832D #85B13D #A2C962 #BDD990 #D8E8BD
Accessibility & contrast
On white
1.90
#A2C962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.07
#A2C962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2C962
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2C962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2C962 | 1.00 | 1.90 | 11.07 | 11.07 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#CDBB68
Tritanopia (blue-blind)
#A7C1B2
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #a2c962; /* rgb */ color: rgb(162, 201, 98); /* oklch */ color: oklch(78.5% 0.138 126.5);
Tailwind
colors: {
custom: {
50: '#bfd991',
500: '#a2c962',
950: '#000000',
},
}SCSS
$custom: #a2c962; $custom-light: #bfd991; $custom-dark: #000000;
JSON
{
"hex": "#a2c962",
"rgb": {
"r": 162,
"g": 201,
"b": 98
},
"hsl": {
"h": 82.718,
"s": 48.815,
"l": 58.627
},
"oklch": {
"l": 0.78531,
"c": 0.13841,
"h": 126.5
},
"luminance": 0.50337
}Semantic roles & 50–950 ramp
primary
#A2C962
secondary
#5F448B
accent
#4FD883
background
#FDFEFC
surface
#F9FBF4
border
#D2D4CE
text
#12140D
muted
#82837F