#A2D958#A2D958

#A2D958 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.1% C 0.169 H 129.0°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#A2D958
RGBrgb(162, 217, 88)
HSLhsl(86, 63%, 60%)
HSVhsv(86, 59%, 85%)
CMYKcmyk(25.3%, 0%, 59.4%, 14.9%)
CIE-LABlab(80.74, -37.76, 56.54)
CIE-LCHlch(80.74, 67.99, 123.74°)
OKLaboklab(82.11% -0.1064 0.1313)
OKLCHoklch(82.11% 0.169 129)
XYZxyz(41.4744, 58.0107, 18.2427)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D958 #8F58D9
analogous
#D9CF58 #A2D958 #62D958
triadic
#A2D958 #58A2D9 #D958A2
tetradic
#A2D958 #58D9CF #8F58D9 #D95862
square
#A2D958 #58D9CF #8F58D9 #D95862
split-complementary
#A2D958 #5862D9 #CF58D9
monochromatic
#649522 #85C72D #A2D958 #BEE48A #DAF0BC

Accessibility & contrast

On white

1.67
#A2D958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#A2D958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D958
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D958#FFFFFF#000000##000000
##A2D9581.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4A
Deuteranopia (green-blind)
#DBC761
Tritanopia (blue-blind)
#A6D0BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a2d958;
/* rgb */ color: rgb(162, 217, 88);
/* oklch */ color: oklch(82.1% 0.169 129.0);
Tailwind
colors: {
  custom: {
    50: '#c1e58c',
    500: '#a2d958',
    950: '#000000',
  },
}
SCSS
$custom: #a2d958;
$custom-light: #c1e58c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d958",
  "rgb": {
    "r": 162,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 85.581,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8211,
    "c": 0.16897,
    "h": 129
  },
  "luminance": 0.58012
}

Semantic roles & 50–950 ramp

primary
#A2D958
secondary
#643C9A
accent
#42E688
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D958

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

Preview Lab → · Contrast checker → · Palette generator →

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