#A2D172#A2D172

#A2D172 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.6% C 0.134 H 130.5°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#A2D172
RGBrgb(162, 209, 114)
HSLhsl(90, 51%, 63%)
HSVhsv(90, 45%, 82%)
CMYKcmyk(22.5%, 0%, 45.5%, 18%)
CIE-LABlab(78.75, -31.42, 42.07)
CIE-LCHlch(78.75, 52.51, 126.76°)
OKLaboklab(80.59% -0.0868 0.1018)
OKLCHoklch(80.59% 0.134 130.5)
XYZxyz(40.7375, 54.4964, 24.2889)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D172 #A172D1
analogous
#D1D072 #A2D172 #72D172
triadic
#A2D172 #72A2D1 #D172A2
tetradic
#A2D172 #72D1D0 #A172D1 #D17272
square
#A2D172 #72D1D0 #A172D1 #D17272
split-complementary
#A2D172 #7272D1 #D072D1
monochromatic
#659731 #84C244 #A2D172 #C0E0A0 #DFEFCE

Accessibility & contrast

On white

1.76
#A2D172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#A2D172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D172
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D172#FFFFFF#000000##000000
##A2D1721.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56A
Deuteranopia (green-blind)
#D2C277
Tritanopia (blue-blind)
#A5CABA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a2d172;
/* rgb */ color: rgb(162, 209, 114);
/* oklch */ color: oklch(80.6% 0.134 130.5);
Tailwind
colors: {
  custom: {
    50: '#bfdf9c',
    500: '#a2d172',
    950: '#000000',
  },
}
SCSS
$custom: #a2d172;
$custom-light: #bfdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d172",
  "rgb": {
    "r": 162,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 89.684,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80591,
    "c": 0.13378,
    "h": 130.5
  },
  "luminance": 0.54497
}

Semantic roles & 50–950 ramp

primary
#A2D172
secondary
#734A9D
accent
#27BE72
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #A2D172

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

Preview Lab → · Contrast checker → · Palette generator →

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