#A2D254#A2D254

#A2D254 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.4% C 0.163 H 127.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#A2D254
RGBrgb(162, 210, 84)
HSLhsl(83, 58%, 58%)
HSVhsv(83, 60%, 82%)
CMYKcmyk(22.9%, 0%, 60%, 17.6%)
CIE-LABlab(78.70, -34.93, 56.00)
CIE-LCHlch(78.70, 66.00, 121.95°)
OKLaboklab(80.44% -0.0989 0.1297)
OKLCHoklch(80.44% 0.163 127.3)
XYZxyz(39.5471, 54.4140, 16.8052)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D254 #8454D2
analogous
#D2C354 #A2D254 #63D254
triadic
#A2D254 #54A2D2 #D254A2
tetradic
#A2D254 #54D2C3 #8454D2 #D25463
square
#A2D254 #54D2C3 #8454D2 #D25463
split-complementary
#A2D254 #5463D2 #C354D2
monochromatic
#628824 #85B831 #A2D254 #BCDF84 #D7EBB5

Accessibility & contrast

On white

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

On black

11.88
#A2D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D254
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D254#FFFFFF#000000##000000
##A2D2541.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#D5C25D
Tritanopia (blue-blind)
#A7C9B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a2d254;
/* rgb */ color: rgb(162, 210, 84);
/* oklch */ color: oklch(80.4% 0.163 127.3);
Tailwind
colors: {
  custom: {
    50: '#c0e089',
    500: '#a2d254',
    950: '#000000',
  },
}
SCSS
$custom: #a2d254;
$custom-light: #c0e089;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d254",
  "rgb": {
    "r": 162,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 82.857,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80445,
    "c": 0.16309,
    "h": 127.3
  },
  "luminance": 0.54415
}

Semantic roles & 50–950 ramp

primary
#A2D254
secondary
#5B3C8E
accent
#46E281
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D254

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

Preview Lab → · Contrast checker → · Palette generator →

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