#A7D751#A7D751
#A7D751 is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 81.9% C 0.170 H 126.6°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A7D751 |
|---|---|
| RGB | rgb(167, 215, 81) |
| HSL | hsl(81, 63%, 58%) |
| HSV | hsv(81, 62%, 84%) |
| CMYK | cmyk(22.3%, 0%, 62.3%, 15.7%) |
| CIE-LAB | lab(80.41, -35.56, 59.24) |
| CIE-LCH | lch(80.41, 69.09, 120.98°) |
| OKLab | oklab(81.9% -0.1012 0.1362) |
| OKLCH | oklch(81.9% 0.17 126.6) |
| XYZ | xyz(41.7220, 57.4098, 16.6661) |
| Luminance | 0.5741 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 3.33
Slime Green
#99CC04
ΔE00 5.10
Yellowish Green
#B0DD16
ΔE00 5.38
Kiwi Green
#8EE53F
ΔE00 5.40
Pale Olive Green
#B1D27B
ΔE00 6.21
Kiwi
#9CEF43
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7D751 #8151D7
analogous
#D7C451 #A7D751 #64D751
triadic
#A7D751 #51A7D7 #D751A7
tetradic
#A7D751 #51D7C4 #8151D7 #D75164
square
#A7D751 #51D7C4 #8151D7 #D75164
split-complementary
#A7D751 #5164D7 #C451D7
monochromatic
#668D20 #8ABF2C #A7D751 #C0E283 #D9EEB5
Accessibility & contrast
On white
1.68
#A7D751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.48
#A7D751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7D751
12.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7D751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7D751 | 1.00 | 1.68 | 12.48 | 12.48 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2C941
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#ADCEBB
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #a7d751; /* rgb */ color: rgb(167, 215, 81); /* oklch */ color: oklch(81.9% 0.170 126.6);
Tailwind
colors: {
custom: {
50: '#c4e387',
500: '#a7d751',
950: '#000000',
},
}SCSS
$custom: #a7d751; $custom-light: #c4e387; $custom-dark: #000000;
JSON
{
"hex": "#a7d751",
"rgb": {
"r": 167,
"g": 215,
"b": 81
},
"hsl": {
"h": 81.493,
"s": 62.617,
"l": 58.039
},
"oklch": {
"l": 0.81896,
"c": 0.16963,
"h": 126.6
},
"luminance": 0.5741
}Semantic roles & 50–950 ramp
primary
#A7D751
secondary
#593993
accent
#42E67D
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F