#A2E877#A2E877

#A2E877 is a very light, vivid yellow-green. Relative luminance 0.667; OKLCH L 86.0% C 0.162 H 134.7°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#A2E877
RGBrgb(162, 232, 119)
HSLhsl(97, 71%, 69%)
HSVhsv(97, 49%, 91%)
CMYKcmyk(30.2%, 0%, 48.7%, 9%)
CIE-LABlab(85.36, -41.29, 47.82)
CIE-LCHlch(85.36, 63.18, 130.81°)
OKLaboklab(85.96% -0.1139 0.1149)
OKLCHoklch(85.96% 0.162 134.7)
XYZxyz(47.0856, 66.7248, 27.8475)
Luminance0.6673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2E877 #BD77E8
analogous
#DBE877 #A2E877 #77E885
triadic
#A2E877 #77A2E8 #E877A2
tetradic
#A2E877 #77DBE8 #BD77E8 #E88577
square
#A2E877 #77DBE8 #BD77E8 #E88577
split-complementary
#A2E877 #8577E8 #E877DB
monochromatic
#5FC421 #7EDF43 #A2E877 #C6F1AB #EAFAE0

Accessibility & contrast

On white

1.46
#A2E877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#A2E877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2E877
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2E877#FFFFFF#000000##000000
##A2E8771.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96D
Deuteranopia (green-blind)
#E5D37E
Tritanopia (blue-blind)
#A1E1CE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #a2e877;
/* rgb */ color: rgb(162, 232, 119);
/* oklch */ color: oklch(86.0% 0.162 134.7);
Tailwind
colors: {
  custom: {
    50: '#c0efa0',
    500: '#a2e877',
    950: '#000000',
  },
}
SCSS
$custom: #a2e877;
$custom-light: #c0efa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2e877",
  "rgb": {
    "r": 162,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 97.168,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.85963,
    "c": 0.16177,
    "h": 134.7
  },
  "luminance": 0.66727
}

Semantic roles & 50–950 ramp

primary
#A2E877
secondary
#9143C0
accent
#12D38A
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13160F
muted
#828580

Preview Lab

Preview with #A2E877

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A2E877 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva