#AFE582#AFE582
#AFE582 is a very light, vivid yellow-green. Relative luminance 0.668; OKLCH L 86.2% C 0.140 H 132.1°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AFE582 |
|---|---|
| RGB | rgb(175, 229, 130) |
| HSL | hsl(93, 66%, 70%) |
| HSV | hsv(93, 43%, 90%) |
| CMYK | cmyk(23.6%, 0%, 43.2%, 10.2%) |
| CIE-LAB | lab(85.38, -34.11, 42.69) |
| CIE-LCH | lch(85.38, 54.64, 128.62°) |
| OKLab | oklab(86.22% -0.0939 0.1039) |
| OKLCH | oklch(86.22% 0.14 132.1) |
| XYZ | xyz(49.7269, 66.7631, 31.3814) |
| Luminance | 0.6676 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pistachio (survey)
#C0FA8B
ΔE00 4.65
Celery
#C1FD95
ΔE00 5.09
Pale Olive Green
#B1D27B
ΔE00 5.09
Tea Green
#BDF8A3
ΔE00 5.13
Washed Out Green
#BCF5A6
ΔE00 5.33
Pale Light Green
#B1FC99
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFE582 #B882E5
analogous
#E1E582 #AFE582 #82E586
triadic
#AFE582 #82AFE5 #E582AF
tetradic
#AFE582 #82E1E5 #B882E5 #E58682
square
#AFE582 #82E1E5 #B882E5 #E58682
split-complementary
#AFE582 #8682E5 #E582E1
monochromatic
#6FC429 #8FDA4F #AFE582 #CFF0B5 #EFFAE6
Accessibility & contrast
On white
1.46
#AFE582 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.35
#AFE582 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFE582
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFE582 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFE582 | 1.00 | 1.46 | 14.35 | 14.35 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD87A
Deuteranopia (green-blind)
#E5D488
Tritanopia (blue-blind)
#B1DECD
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #afe582; /* rgb */ color: rgb(175, 229, 130); /* oklch */ color: oklch(86.2% 0.140 132.1);
Tailwind
colors: {
custom: {
50: '#c9eda8',
500: '#afe582',
950: '#000000',
},
}SCSS
$custom: #afe582; $custom-light: #c9eda8; $custom-dark: #000000;
JSON
{
"hex": "#afe582",
"rgb": {
"r": 175,
"g": 229,
"b": 130
},
"hsl": {
"h": 92.727,
"s": 65.563,
"l": 70.392
},
"oklch": {
"l": 0.86215,
"c": 0.14006,
"h": 132.1
},
"luminance": 0.66764
}Semantic roles & 50–950 ramp
primary
#AFE582
secondary
#8B4EBD
accent
#18CD7B
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131610
muted
#838580