#A2D798#A2D798

#A2D798 is a very light, moderate green. Relative luminance 0.585; OKLCH L 82.6% C 0.102 H 140.6°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#A2D798
RGBrgb(162, 215, 152)
HSLhsl(110, 44%, 72%)
HSVhsv(110, 29%, 84%)
CMYKcmyk(24.7%, 0%, 29.3%, 15.7%)
CIE-LABlab(81.04, -28.97, 25.72)
CIE-LCHlch(81.04, 38.74, 138.40°)
OKLaboklab(82.63% -0.079 0.0649)
OKLCHoklch(82.63% 0.102 140.6)
XYZxyz(44.8667, 58.5479, 38.6366)
Luminance0.5855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D798 #CD98D7
analogous
#C2D798 #A2D798 #98D7AE
triadic
#A2D798 #98A2D7 #D798A2
tetradic
#A2D798 #98C2D7 #CD98D7 #D7AE98
square
#A2D798 #98C2D7 #CD98D7 #D7AE98
split-complementary
#A2D798 #AE98D7 #D798C2
monochromatic
#56B044 #7AC66C #A2D798 #CAE8C4 #EBF6E9

Accessibility & contrast

On white

1.65
#A2D798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#A2D798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D798
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D798#FFFFFF#000000##000000
##A2D7981.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCC94
Deuteranopia (green-blind)
#D2C79B
Tritanopia (blue-blind)
#9FD3C6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a2d798;
/* rgb */ color: rgb(162, 215, 152);
/* oklch */ color: oklch(82.6% 0.102 140.6);
Tailwind
colors: {
  custom: {
    50: '#bee3b6',
    500: '#a2d798',
    950: '#000000',
  },
}
SCSS
$custom: #a2d798;
$custom-light: #bee3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d798",
  "rgb": {
    "r": 162,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 110.476,
    "s": 44.056,
    "l": 71.961
  },
  "oklch": {
    "l": 0.82632,
    "c": 0.1022,
    "h": 140.6
  },
  "luminance": 0.58549
}

Semantic roles & 50–950 ramp

primary
#A2D798
secondary
#A265AE
accent
#2EB7A1
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#121511
muted
#828481

Preview Lab

Preview with #A2D798

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

Preview Lab → · Contrast checker → · Palette generator →

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