#A2D142#A2D142

#A2D142 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.0% C 0.175 H 125.9°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#A2D142
RGBrgb(162, 209, 66)
HSLhsl(80, 61%, 54%)
HSVhsv(80, 68%, 82%)
CMYKcmyk(22.5%, 0%, 68.4%, 18%)
CIE-LABlab(78.27, -35.80, 62.87)
CIE-LCHlch(78.27, 72.35, 119.66°)
OKLaboklab(80.05% -0.1029 0.1419)
OKLCHoklch(80.05% 0.175 125.9)
XYZxyz(38.6843, 53.6751, 13.4755)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D142 #7142D1
analogous
#D1B842 #A2D142 #5BD142
triadic
#A2D142 #42A2D1 #D142A2
tetradic
#A2D142 #42D1B8 #7142D1 #D1425B
square
#A2D142 #42D1B8 #7142D1 #D1425B
split-complementary
#A2D142 #425BD1 #B842D1
monochromatic
#5C7B1E #81AC2A #A2D142 #BADD73 #D2E9A4

Accessibility & contrast

On white

1.79
#A2D142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#A2D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D142
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D142#FFFFFF#000000##000000
##A2D1421.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32C
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#A9C7B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a2d142;
/* rgb */ color: rgb(162, 209, 66);
/* oklch */ color: oklch(80.0% 0.175 125.9);
Tailwind
colors: {
  custom: {
    50: '#c1df7e',
    500: '#a2d142',
    950: '#000000',
  },
}
SCSS
$custom: #a2d142;
$custom-light: #c1df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d142",
  "rgb": {
    "r": 162,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 79.72,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8005,
    "c": 0.17525,
    "h": 125.9
  },
  "luminance": 0.53676
}

Semantic roles & 50–950 ramp

primary
#A2D142
secondary
#4E3583
accent
#44E478
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2D142

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

Preview Lab → · Contrast checker → · Palette generator →

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