#A2D54F#A2D54F

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

Color values

HEX#A2D54F
RGBrgb(162, 213, 79)
HSLhsl(83, 61%, 57%)
HSVhsv(83, 63%, 84%)
CMYKcmyk(23.9%, 0%, 62.9%, 16.5%)
CIE-LABlab(79.52, -36.70, 59.02)
CIE-LCHlch(79.52, 69.50, 121.87°)
OKLaboklab(81.09% -0.1042 0.1355)
OKLCHoklch(81.09% 0.171 127.6)
XYZxyz(40.1058, 55.8337, 16.0596)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D54F #824FD5
analogous
#D5C54F #A2D54F #5FD54F
triadic
#A2D54F #4FA2D5 #D54FA2
tetradic
#A2D54F #4FD5C5 #824FD5 #D54F5F
square
#A2D54F #4FD5C5 #824FD5 #D54F5F
split-complementary
#A2D54F #4F5FD5 #C54FD5
monochromatic
#618921 #84BA2C #A2D54F #BCE180 #D6EDB2

Accessibility & contrast

On white

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

On black

12.17
#A2D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D54F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D54F#FFFFFF#000000##000000
##A2D54F1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2d54f;
/* rgb */ color: rgb(162, 213, 79);
/* oklch */ color: oklch(81.1% 0.171 127.6);
Tailwind
colors: {
  custom: {
    50: '#c1e286',
    500: '#a2d54f',
    950: '#000000',
  },
}
SCSS
$custom: #a2d54f;
$custom-light: #c1e286;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d54f",
  "rgb": {
    "r": 162,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 82.836,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81092,
    "c": 0.17094,
    "h": 127.6
  },
  "luminance": 0.55834
}

Semantic roles & 50–950 ramp

primary
#A2D54F
secondary
#5A398F
accent
#43E581
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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