#A2D159#A2D159

#A2D159 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.3% C 0.158 H 127.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#A2D159
RGBrgb(162, 209, 89)
HSLhsl(84, 57%, 58%)
HSVhsv(84, 57%, 82%)
CMYKcmyk(22.5%, 0%, 57.4%, 18%)
CIE-LABlab(78.46, -34.03, 53.53)
CIE-LCHlch(78.46, 63.43, 122.45°)
OKLaboklab(80.27% -0.096 0.125)
OKLCHoklch(80.27% 0.158 127.5)
XYZxyz(39.5038, 54.0029, 17.7916)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D159 #8859D1
analogous
#D1C459 #A2D159 #66D159
triadic
#A2D159 #59A2D1 #D159A2
tetradic
#A2D159 #59D1C4 #8859D1 #D15966
square
#A2D159 #59D1C4 #8859D1 #D15966
split-complementary
#A2D159 #5966D1 #C459D1
monochromatic
#638926 #85B933 #A2D159 #BDDE89 #D8ECB9

Accessibility & contrast

On white

1.78
#A2D159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#A2D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D159
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D159#FFFFFF#000000##000000
##A2D1591.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44C
Deuteranopia (green-blind)
#D4C161
Tritanopia (blue-blind)
#A7C8B7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a2d159;
/* rgb */ color: rgb(162, 209, 89);
/* oklch */ color: oklch(80.3% 0.158 127.5);
Tailwind
colors: {
  custom: {
    50: '#c0df8c',
    500: '#a2d159',
    950: '#000000',
  },
}
SCSS
$custom: #a2d159;
$custom-light: #c0df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d159",
  "rgb": {
    "r": 162,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 83.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80267,
    "c": 0.15755,
    "h": 127.5
  },
  "luminance": 0.54004
}

Semantic roles & 50–950 ramp

primary
#A2D159
secondary
#5E3E90
accent
#48E083
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D159

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

Preview Lab → · Contrast checker → · Palette generator →

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