#A5D351#A5D351
#A5D351 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 80.8% C 0.165 H 126.4°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A5D351 |
|---|---|
| RGB | rgb(165, 211, 81) |
| HSL | hsl(81, 60%, 57%) |
| HSV | hsv(81, 62%, 83%) |
| CMYK | cmyk(21.8%, 0%, 61.6%, 17.3%) |
| CIE-LAB | lab(79.15, -34.49, 57.82) |
| CIE-LCH | lch(79.15, 67.33, 120.82°) |
| OKLab | oklab(80.84% -0.0981 0.1332) |
| OKLCH | oklch(80.84% 0.165 126.4) |
| XYZ | xyz(40.2966, 55.1814, 16.3111) |
| Luminance | 0.5518 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 2.94
Slime Green
#99CC04
ΔE00 4.92
Pale Olive Green
#B1D27B
ΔE00 5.83
Yellowish Green
#B0DD16
ΔE00 5.91
Kiwi Green
#8EE53F
ΔE00 6.08
Light Olive Green
#A4BE5C
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5D351 #7F51D3
analogous
#D3C051 #A5D351 #64D351
triadic
#A5D351 #51A5D3 #D351A5
tetradic
#A5D351 #51D3C0 #7F51D3 #D35164
square
#A5D351 #51D3C0 #7F51D3 #D35164
split-complementary
#A5D351 #5164D3 #C051D3
monochromatic
#648722 #88B82F #A5D351 #BEDF82 #D8ECB3
Accessibility & contrast
On white
1.74
#A5D351 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#A5D351 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5D351
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5D351 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5D351 | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#ABCAB8
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #a5d351; /* rgb */ color: rgb(165, 211, 81); /* oklch */ color: oklch(80.8% 0.165 126.4);
Tailwind
colors: {
custom: {
50: '#c3e087',
500: '#a5d351',
950: '#000000',
},
}SCSS
$custom: #a5d351; $custom-light: #c3e087; $custom-dark: #000000;
JSON
{
"hex": "#a5d351",
"rgb": {
"r": 165,
"g": 211,
"b": 81
},
"hsl": {
"h": 81.231,
"s": 59.633,
"l": 57.255
},
"oklch": {
"l": 0.80842,
"c": 0.16542,
"h": 126.4
},
"luminance": 0.55182
}Semantic roles & 50–950 ramp
primary
#A5D351
secondary
#583A8E
accent
#45E37D
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F