#A2D840#A2D840

#A2D840 is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.7% C 0.185 H 127.2°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#A2D840
RGBrgb(162, 216, 64)
HSLhsl(81, 66%, 55%)
HSVhsv(81, 70%, 85%)
CMYKcmyk(25%, 0%, 70.4%, 15.3%)
CIE-LABlab(80.27, -39.08, 65.63)
CIE-LCHlch(80.27, 76.38, 120.77°)
OKLaboklab(81.67% -0.112 0.1474)
OKLCHoklch(81.67% 0.185 127.2)
XYZxyz(40.3816, 57.1625, 13.7554)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D840 #7640D8
analogous
#D8C240 #A2D840 #56D840
triadic
#A2D840 #40A2D8 #D840A2
tetradic
#A2D840 #40D8C2 #7640D8 #D84056
square
#A2D840 #40D8C2 #7640D8 #D84056
split-complementary
#A2D840 #4056D8 #C240D8
monochromatic
#5E831B #82B625 #A2D840 #BBE273 #D3EDA6

Accessibility & contrast

On white

1.69
#A2D840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#A2D840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D840
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D840#FFFFFF#000000##000000
##A2D8401.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C926
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#A8CEBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a2d840;
/* rgb */ color: rgb(162, 216, 64);
/* oklch */ color: oklch(81.7% 0.185 127.2);
Tailwind
colors: {
  custom: {
    50: '#c2e47e',
    500: '#a2d840',
    950: '#000000',
  },
}
SCSS
$custom: #a2d840;
$custom-light: #c2e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d840",
  "rgb": {
    "r": 162,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 81.316,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81666,
    "c": 0.18512,
    "h": 127.2
  },
  "luminance": 0.57163
}

Semantic roles & 50–950 ramp

primary
#A2D840
secondary
#51338A
accent
#3FE97B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2D840

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

Preview Lab → · Contrast checker → · Palette generator →

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