#A2D151#A2D151

#A2D151 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.2% C 0.164 H 126.9°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#A2D151
RGBrgb(162, 209, 81)
HSLhsl(82, 58%, 57%)
HSVhsv(82, 61%, 82%)
CMYKcmyk(22.5%, 0%, 61.2%, 18%)
CIE-LABlab(78.39, -34.72, 56.94)
CIE-LCHlch(78.39, 66.69, 121.37°)
OKLaboklab(80.18% -0.0985 0.1314)
OKLCHoklch(80.18% 0.164 126.9)
XYZxyz(39.1860, 53.8758, 16.1176)
Luminance0.5388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D151 #8051D1
analogous
#D1C051 #A2D151 #62D151
triadic
#A2D151 #51A2D1 #D151A2
tetradic
#A2D151 #51D1C0 #8051D1 #D15162
square
#A2D151 #51D1C0 #8051D1 #D15162
split-complementary
#A2D151 #5162D1 #C051D1
monochromatic
#618523 #84B530 #A2D151 #BCDE81 #D6EBB2

Accessibility & contrast

On white

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

On black

11.78
#A2D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D151
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D151#FFFFFF#000000##000000
##A2D1511.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#A8C8B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a2d151;
/* rgb */ color: rgb(162, 209, 81);
/* oklch */ color: oklch(80.2% 0.164 126.9);
Tailwind
colors: {
  custom: {
    50: '#c0df87',
    500: '#a2d151',
    950: '#000000',
  },
}
SCSS
$custom: #a2d151;
$custom-light: #c0df87;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d151",
  "rgb": {
    "r": 162,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 82.031,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80183,
    "c": 0.16422,
    "h": 126.9
  },
  "luminance": 0.53876
}

Semantic roles & 50–950 ramp

primary
#A2D151
secondary
#583B8B
accent
#46E17F
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D151

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

Preview Lab → · Contrast checker → · Palette generator →

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