#A2C42F#A2C42F
#A2C42F is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 76.9% C 0.171 H 122.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A2C42F |
|---|---|
| RGB | rgb(162, 196, 47) |
| HSL | hsl(74, 61%, 48%) |
| HSV | hsv(74, 76%, 77%) |
| CMYK | cmyk(17.3%, 0%, 76%, 23.1%) |
| CIE-LAB | lab(74.42, -30.85, 65.73) |
| CIE-LCH | lch(74.42, 72.61, 115.14°) |
| OKLab | oklab(76.9% -0.0908 0.1449) |
| OKLCH | oklch(76.9% 0.171 122.1) |
| XYZ | xyz(35.1539, 47.3664, 9.9794) |
| Luminance | 0.4737 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Gross Green
#A0BF16
ΔE00 1.98
Pea
#A4BF20
ΔE00 2.06
Snot Green
#9DC100
ΔE00 2.14
Sick Green
#9DB92C
ΔE00 2.90
Bright Olive
#9CBB04
ΔE00 2.97
Yellowgreen
#9ACD32
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2C42F #512FC4
analogous
#C49B2F #A2C42F #58C42F
triadic
#A2C42F #2FA2C4 #C42FA2
tetradic
#A2C42F #2FC49B #512FC4 #C42F58
square
#A2C42F #2FC49B #512FC4 #C42F58
split-complementary
#A2C42F #2F58C4 #9B2FC4
monochromatic
#506117 #799323 #A2C42F #BAD759 #CFE38A
Accessibility & contrast
On white
2.01
#A2C42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.47
#A2C42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2C42F
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2C42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2C42F | 1.00 | 2.01 | 10.47 | 10.47 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B806
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#ABBAA8
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #a2c42f; /* rgb */ color: rgb(162, 196, 47); /* oklch */ color: oklch(76.9% 0.171 122.1);
Tailwind
colors: {
custom: {
50: '#c1d673',
500: '#a2c42f',
950: '#000000',
},
}SCSS
$custom: #a2c42f; $custom-light: #c1d673; $custom-dark: #000000;
JSON
{
"hex": "#a2c42f",
"rgb": {
"r": 162,
"g": 196,
"b": 47
},
"hsl": {
"h": 73.691,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.76901,
"c": 0.17104,
"h": 122.1
},
"luminance": 0.47366
}Semantic roles & 50–950 ramp
primary
#A2C42F
secondary
#9382CD
accent
#43E468
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B