#A2D54E#A2D54E

#A2D54E is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 81.1% C 0.172 H 127.5°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#A2D54E
RGBrgb(162, 213, 78)
HSLhsl(83, 62%, 57%)
HSVhsv(83, 63%, 84%)
CMYKcmyk(23.9%, 0%, 63.4%, 16.5%)
CIE-LABlab(79.51, -36.77, 59.42)
CIE-LCHlch(79.51, 69.88, 121.75°)
OKLaboklab(81.08% -0.1045 0.1363)
OKLCHoklch(81.08% 0.172 127.5)
XYZxyz(40.0697, 55.8192, 15.8694)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D54E #814ED5
analogous
#D5C54E #A2D54E #5ED54E
triadic
#A2D54E #4EA2D5 #D54EA2
tetradic
#A2D54E #4ED5C5 #814ED5 #D54E5E
square
#A2D54E #4ED5C5 #814ED5 #D54E5E
split-complementary
#A2D54E #4E5ED5 #C54ED5
monochromatic
#618820 #84BA2C #A2D54E #BCE17F #D6ECB1

Accessibility & contrast

On white

1.73
#A2D54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#A2D54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D54E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D54E#FFFFFF#000000##000000
##A2D54E1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73D
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#A7CCB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a2d54e;
/* rgb */ color: rgb(162, 213, 78);
/* oklch */ color: oklch(81.1% 0.172 127.5);
Tailwind
colors: {
  custom: {
    50: '#c1e285',
    500: '#a2d54e',
    950: '#000000',
  },
}
SCSS
$custom: #a2d54e;
$custom-light: #c1e285;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d54e",
  "rgb": {
    "r": 162,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 82.667,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81082,
    "c": 0.1717,
    "h": 127.5
  },
  "luminance": 0.5582
}

Semantic roles & 50–950 ramp

primary
#A2D54E
secondary
#59398F
accent
#43E580
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A2D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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