#A2D487#A2D487

#A2D487 is a light, moderate yellow-green. Relative luminance 0.565; OKLCH L 81.6% C 0.116 H 135.1°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#A2D487
RGBrgb(162, 212, 135)
HSLhsl(99, 47%, 68%)
HSVhsv(99, 36%, 83%)
CMYKcmyk(23.6%, 0%, 36.3%, 16.9%)
CIE-LABlab(79.91, -30.10, 32.98)
CIE-LCHlch(79.91, 44.66, 132.39°)
OKLaboklab(81.62% -0.0822 0.0818)
OKLCHoklch(81.62% 0.116 135.1)
XYZxyz(42.8159, 56.5165, 31.5699)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D487 #B987D4
analogous
#C8D487 #A2D487 #87D492
triadic
#A2D487 #87A2D4 #D487A2
tetradic
#A2D487 #87C8D4 #B987D4 #D49287
square
#A2D487 #87C8D4 #B987D4 #D49287
split-complementary
#A2D487 #9287D4 #D487C8
monochromatic
#60A53B #7FC45A #A2D487 #C5E4B4 #E8F4E1

Accessibility & contrast

On white

1.71
#A2D487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#A2D487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D487
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D487#FFFFFF#000000##000000
##A2D4871.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC982
Deuteranopia (green-blind)
#D2C58B
Tritanopia (blue-blind)
#A2CEC1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a2d487;
/* rgb */ color: rgb(162, 212, 135);
/* oklch */ color: oklch(81.6% 0.116 135.1);
Tailwind
colors: {
  custom: {
    50: '#bfe1aa',
    500: '#a2d487',
    950: '#000000',
  },
}
SCSS
$custom: #a2d487;
$custom-light: #bfe1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d487",
  "rgb": {
    "r": 162,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 98.961,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.81623,
    "c": 0.116,
    "h": 135.1
  },
  "luminance": 0.56518
}

Semantic roles & 50–950 ramp

primary
#A2D487
secondary
#8C55AA
accent
#2BBA88
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#121510
muted
#828481

Preview Lab

Preview with #A2D487

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

Preview Lab → · Contrast checker → · Palette generator →

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