#A2D851#A2D851

#A2D851 is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 81.8% C 0.173 H 128.3°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#A2D851
RGBrgb(162, 216, 81)
HSLhsl(84, 63%, 58%)
HSVhsv(84, 63%, 85%)
CMYKcmyk(25%, 0%, 62.5%, 15.3%)
CIE-LABlab(80.40, -37.89, 59.14)
CIE-LCHlch(80.40, 70.24, 122.65°)
OKLaboklab(81.81% -0.1073 0.136)
OKLCHoklch(81.81% 0.173 128.3)
XYZxyz(40.9412, 57.3863, 16.7026)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D851 #8751D8
analogous
#D8CA51 #A2D851 #5ED851
triadic
#A2D851 #51A2D8 #D851A2
tetradic
#A2D851 #51D8CA #8751D8 #D8515E
square
#A2D851 #51D8CA #8751D8 #D8515E
split-complementary
#A2D851 #515ED8 #CA51D8
monochromatic
#628F20 #85C12B #A2D851 #BDE383 #D7EEB5

Accessibility & contrast

On white

1.68
#A2D851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#A2D851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D851
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D851#FFFFFF#000000##000000
##A2D8511.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#A7CFBC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a2d851;
/* rgb */ color: rgb(162, 216, 81);
/* oklch */ color: oklch(81.8% 0.173 128.3);
Tailwind
colors: {
  custom: {
    50: '#c1e487',
    500: '#a2d851',
    950: '#000000',
  },
}
SCSS
$custom: #a2d851;
$custom-light: #c1e487;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d851",
  "rgb": {
    "r": 162,
    "g": 216,
    "b": 81
  },
  "hsl": {
    "h": 84,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81808,
    "c": 0.17325,
    "h": 128.3
  },
  "luminance": 0.57387
}

Semantic roles & 50–950 ramp

primary
#A2D851
secondary
#5D3994
accent
#41E683
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D851

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

Preview Lab → · Contrast checker → · Palette generator →

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