#A6D852#A6D852
#A6D852 is a very light, vivid yellow-green. Relative luminance 0.578; OKLCH L 82.1% C 0.171 H 127.2°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A6D852 |
|---|---|
| RGB | rgb(166, 216, 82) |
| HSL | hsl(82, 63%, 58%) |
| HSV | hsv(82, 62%, 85%) |
| CMYK | cmyk(23.1%, 0%, 62%, 15.3%) |
| CIE-LAB | lab(80.64, -36.32, 59.06) |
| CIE-LCH | lch(80.64, 69.33, 121.59°) |
| OKLab | oklab(82.07% -0.1031 0.1359) |
| OKLCH | oklch(82.07% 0.171 127.2) |
| XYZ | xyz(41.8047, 57.8272, 16.9403) |
| Luminance | 0.5783 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 3.53
Kiwi Green
#8EE53F
ΔE00 5.09
Slime Green
#99CC04
ΔE00 5.31
Yellowish Green
#B0DD16
ΔE00 5.53
Kiwi
#9CEF43
ΔE00 6.08
Pale Olive Green
#B1D27B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6D852 #8452D8
analogous
#D8C752 #A6D852 #63D852
triadic
#A6D852 #52A6D8 #D852A6
tetradic
#A6D852 #52D8C7 #8452D8 #D85263
square
#A6D852 #52D8C7 #8452D8 #D85263
split-complementary
#A6D852 #5263D8 #C752D8
monochromatic
#668F20 #89C12C #A6D852 #C0E384 #D9EFB6
Accessibility & contrast
On white
1.67
#A6D852 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.57
#A6D852 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6D852
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6D852 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6D852 | 1.00 | 1.67 | 12.57 | 12.57 |
| #FFFFFF | 1.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CA42
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#ACCFBC
Achromatopsia (no color)
#C8C8C8
Design tokens & code
CSS
--color: #a6d852; /* rgb */ color: rgb(166, 216, 82); /* oklch */ color: oklch(82.1% 0.171 127.2);
Tailwind
colors: {
custom: {
50: '#c4e488',
500: '#a6d852',
950: '#000000',
},
}SCSS
$custom: #a6d852; $custom-light: #c4e488; $custom-dark: #000000;
JSON
{
"hex": "#a6d852",
"rgb": {
"r": 166,
"g": 216,
"b": 82
},
"hsl": {
"h": 82.388,
"s": 63.208,
"l": 58.431
},
"oklch": {
"l": 0.82072,
"c": 0.17059,
"h": 127.2
},
"luminance": 0.57828
}Semantic roles & 50–950 ramp
primary
#A6D852
secondary
#5C3995
accent
#42E67F
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F