#A6D752#A6D752
#A6D752 is a light, vivid yellow-green. Relative luminance 0.573; OKLCH L 81.8% C 0.169 H 127.0°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A6D752 |
|---|---|
| RGB | rgb(166, 215, 82) |
| HSL | hsl(82, 62%, 58%) |
| HSV | hsv(82, 62%, 84%) |
| CMYK | cmyk(22.8%, 0%, 61.9%, 15.7%) |
| CIE-LAB | lab(80.36, -35.86, 58.75) |
| CIE-LCH | lch(80.36, 68.83, 121.40°) |
| OKLab | oklab(81.84% -0.1019 0.1352) |
| OKLCH | oklch(81.84% 0.169 127) |
| XYZ | xyz(41.5493, 57.3164, 16.8552) |
| Luminance | 0.5732 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 3.40
Slime Green
#99CC04
ΔE00 5.23
Kiwi Green
#8EE53F
ΔE00 5.30
Yellowish Green
#B0DD16
ΔE00 5.59
Pale Olive Green
#B1D27B
ΔE00 6.12
Kiwi
#9CEF43
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6D752 #8352D7
analogous
#D7C552 #A6D752 #63D752
triadic
#A6D752 #52A6D7 #D752A6
tetradic
#A6D752 #52D7C5 #8352D7 #D75263
square
#A6D752 #52D7C5 #8352D7 #D75263
split-complementary
#A6D752 #5263D7 #C552D7
monochromatic
#668E21 #89C02C #A6D752 #C0E284 #D9EEB5
Accessibility & contrast
On white
1.68
#A6D752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.46
#A6D752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6D752
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6D752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6D752 | 1.00 | 1.68 | 12.46 | 12.46 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#DBC65C
Tritanopia (blue-blind)
#ACCEBB
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #a6d752; /* rgb */ color: rgb(166, 215, 82); /* oklch */ color: oklch(81.8% 0.169 127.0);
Tailwind
colors: {
custom: {
50: '#c3e388',
500: '#a6d752',
950: '#000000',
},
}SCSS
$custom: #a6d752; $custom-light: #c3e388; $custom-dark: #000000;
JSON
{
"hex": "#a6d752",
"rgb": {
"r": 166,
"g": 215,
"b": 82
},
"hsl": {
"h": 82.105,
"s": 62.441,
"l": 58.235
},
"oklch": {
"l": 0.81841,
"c": 0.16931,
"h": 127
},
"luminance": 0.57317
}Semantic roles & 50–950 ramp
primary
#A6D752
secondary
#5B3A93
accent
#42E67E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F