#A2E978#A2E978

#A2E978 is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.2% C 0.162 H 135.0°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#A2E978
RGBrgb(162, 233, 120)
HSLhsl(98, 72%, 69%)
HSVhsv(98, 48%, 91%)
CMYKcmyk(30.5%, 0%, 48.5%, 8.6%)
CIE-LABlab(85.66, -41.61, 47.70)
CIE-LCHlch(85.66, 63.30, 131.10°)
OKLaboklab(86.21% -0.1147 0.1147)
OKLCHoklch(86.21% 0.162 135)
XYZxyz(47.4283, 67.3135, 28.2596)
Luminance0.6732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2E978 #BF78E9
analogous
#DBE978 #A2E978 #78E987
triadic
#A2E978 #78A2E9 #E978A2
tetradic
#A2E978 #78DBE9 #BF78E9 #E98778
square
#A2E978 #78DBE9 #BF78E9 #E98778
split-complementary
#A2E978 #8778E9 #E978DB
monochromatic
#5EC620 #7EE043 #A2E978 #C6F2AD #EBFAE1

Accessibility & contrast

On white

1.45
#A2E978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#A2E978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2E978
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2E978#FFFFFF#000000##000000
##A2E9781.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6E
Deuteranopia (green-blind)
#E6D47F
Tritanopia (blue-blind)
#A1E2CF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #a2e978;
/* rgb */ color: rgb(162, 233, 120);
/* oklch */ color: oklch(86.2% 0.162 135.0);
Tailwind
colors: {
  custom: {
    50: '#c0f0a1',
    500: '#a2e978',
    950: '#000000',
  },
}
SCSS
$custom: #a2e978;
$custom-light: #c0f0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2e978",
  "rgb": {
    "r": 162,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 97.699,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86208,
    "c": 0.16222,
    "h": 135
  },
  "luminance": 0.67315
}

Semantic roles & 50–950 ramp

primary
#A2E978
secondary
#9344C1
accent
#11D48C
background
#FDFFFC
surface
#F9FEF5
border
#D2D6CF
text
#13160F
muted
#828580

Preview Lab

Preview with #A2E978

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

Preview Lab → · Contrast checker → · Palette generator →

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