#A7D240#A7D240
#A7D240 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.6% C 0.176 H 124.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A7D240 |
|---|---|
| RGB | rgb(167, 210, 64) |
| HSL | hsl(78, 62%, 54%) |
| HSV | hsv(78, 70%, 82%) |
| CMYK | cmyk(20.5%, 0%, 69.5%, 17.6%) |
| CIE-LAB | lab(78.86, -34.45, 64.31) |
| CIE-LCH | lch(78.86, 72.95, 118.18°) |
| OKLab | oklab(80.6% -0.0996 0.1445) |
| OKLCH | oklch(80.6% 0.176 124.6) |
| XYZ | xyz(39.9087, 54.6785, 13.3010) |
| Luminance | 0.5468 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 2.06
Slime Green
#99CC04
ΔE00 3.30
Yellowish Green
#B0DD16
ΔE00 4.28
Snot Green
#9DC100
ΔE00 5.18
Green Yellow
#B5CE08
ΔE00 5.39
Gross Green
#A0BF16
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7D240 #6B40D2
analogous
#D2B440 #A7D240 #5ED240
triadic
#A7D240 #40A7D2 #D240A7
tetradic
#A7D240 #40D2B4 #6B40D2 #D2405E
square
#A7D240 #40D2B4 #6B40D2 #D2405E
split-complementary
#A7D240 #405ED2 #B440D2
monochromatic
#5F7B1D #85AC29 #A7D240 #BEDE72 #D5E9A3
Accessibility & contrast
On white
1.76
#A7D240 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.94
#A7D240 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7D240
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7D240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7D240 | 1.00 | 1.76 | 11.94 | 11.94 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC528
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#AFC8B5
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #a7d240; /* rgb */ color: rgb(167, 210, 64); /* oklch */ color: oklch(80.6% 0.176 124.6);
Tailwind
colors: {
custom: {
50: '#c5e07d',
500: '#a7d240',
950: '#000000',
},
}SCSS
$custom: #a7d240; $custom-light: #c5e07d; $custom-dark: #000000;
JSON
{
"hex": "#a7d240",
"rgb": {
"r": 167,
"g": 210,
"b": 64
},
"hsl": {
"h": 77.671,
"s": 61.864,
"l": 53.725
},
"oklch": {
"l": 0.80599,
"c": 0.17551,
"h": 124.6
},
"luminance": 0.54679
}Semantic roles & 50–950 ramp
primary
#A7D240
secondary
#4B3483
accent
#43E573
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D