#A2D162#A2D162

#A2D162 is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.4% C 0.149 H 128.4°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#A2D162
RGBrgb(162, 209, 98)
HSLhsl(85, 55%, 60%)
HSVhsv(85, 53%, 82%)
CMYKcmyk(22.5%, 0%, 53.1%, 18%)
CIE-LABlab(78.56, -33.18, 49.52)
CIE-LCHlch(78.56, 59.61, 123.82°)
OKLaboklab(80.37% -0.0928 0.1171)
OKLCHoklch(80.37% 0.149 128.4)
XYZxyz(39.9051, 54.1634, 19.9051)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D162 #9162D1
analogous
#D1C862 #A2D162 #6BD162
triadic
#A2D162 #62A2D1 #D162A2
tetradic
#A2D162 #62D1C8 #9162D1 #D1626B
square
#A2D162 #62D1C8 #9162D1 #D1626B
split-complementary
#A2D162 #626BD1 #C862D1
monochromatic
#648F2A #85BE38 #A2D162 #BEDF91 #DAEDC1

Accessibility & contrast

On white

1.77
#A2D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#A2D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D162
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D162#FFFFFF#000000##000000
##A2D1621.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC457
Deuteranopia (green-blind)
#D3C169
Tritanopia (blue-blind)
#A6C9B8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a2d162;
/* rgb */ color: rgb(162, 209, 98);
/* oklch */ color: oklch(80.4% 0.149 128.4);
Tailwind
colors: {
  custom: {
    50: '#c0df91',
    500: '#a2d162',
    950: '#000000',
  },
}
SCSS
$custom: #a2d162;
$custom-light: #c0df91;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d162",
  "rgb": {
    "r": 162,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 85.405,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80372,
    "c": 0.14947,
    "h": 128.4
  },
  "luminance": 0.54164
}

Semantic roles & 50–950 ramp

primary
#A2D162
secondary
#654295
accent
#23C267
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #A2D162

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

Preview Lab → · Contrast checker → · Palette generator →

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