#A2D152#A2D152

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

Color values

HEX#A2D152
RGBrgb(162, 209, 82)
HSLhsl(82, 58%, 57%)
HSVhsv(82, 61%, 82%)
CMYKcmyk(22.5%, 0%, 60.8%, 18%)
CIE-LABlab(78.40, -34.63, 56.52)
CIE-LCHlch(78.40, 66.29, 121.50°)
OKLaboklab(80.19% -0.0982 0.1306)
OKLCHoklch(80.19% 0.163 127)
XYZxyz(39.2237, 53.8909, 16.3165)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D152 #8152D1
analogous
#D1C152 #A2D152 #62D152
triadic
#A2D152 #52A2D1 #D152A2
tetradic
#A2D152 #52D1C1 #8152D1 #D15262
square
#A2D152 #52D1C1 #8152D1 #D15262
split-complementary
#A2D152 #5262D1 #C152D1
monochromatic
#618523 #84B630 #A2D152 #BCDE82 #D6EBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2D152#FFFFFF#000000##000000
##A2D1521.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)
#DBC443
Deuteranopia (green-blind)
#D5C15B
Tritanopia (blue-blind)
#A8C8B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a2d152;
/* rgb */ color: rgb(162, 209, 82);
/* oklch */ color: oklch(80.2% 0.163 127.0);
Tailwind
colors: {
  custom: {
    50: '#c0df87',
    500: '#a2d152',
    950: '#000000',
  },
}
SCSS
$custom: #a2d152;
$custom-light: #c0df87;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d152",
  "rgb": {
    "r": 162,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 82.205,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80193,
    "c": 0.16341,
    "h": 127
  },
  "luminance": 0.53892
}

Semantic roles & 50–950 ramp

primary
#A2D152
secondary
#593B8C
accent
#47E180
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D152

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

Preview Lab → · Contrast checker → · Palette generator →

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