#A2D45F#A2D45F

#A2D45F is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 81.0% C 0.156 H 128.7°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#A2D45F
RGBrgb(162, 212, 95)
HSLhsl(86, 58%, 60%)
HSVhsv(86, 55%, 83%)
CMYKcmyk(23.6%, 0%, 55.2%, 16.9%)
CIE-LABlab(79.38, -34.85, 51.87)
CIE-LCHlch(79.38, 62.49, 123.90°)
OKLaboklab(81.03% -0.0977 0.122)
OKLCHoklch(81.03% 0.156 128.7)
XYZxyz(40.5091, 55.5938, 19.4207)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D45F #915FD4
analogous
#D4CB5F #A2D45F #68D45F
triadic
#A2D45F #5FA2D4 #D45FA2
tetradic
#A2D45F #5FD4CB #915FD4 #D45F68
square
#A2D45F #5FD4CB #915FD4 #D45F68
split-complementary
#A2D45F #5F68D4 #CB5FD4
monochromatic
#649127 #85C234 #A2D45F #BEE18F #DAEEBF

Accessibility & contrast

On white

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

On black

12.12
#A2D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D45F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D45F#FFFFFF#000000##000000
##A2D45F1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC753
Deuteranopia (green-blind)
#D6C467
Tritanopia (blue-blind)
#A6CCBA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a2d45f;
/* rgb */ color: rgb(162, 212, 95);
/* oklch */ color: oklch(81.0% 0.156 128.7);
Tailwind
colors: {
  custom: {
    50: '#c0e190',
    500: '#a2d45f',
    950: '#000000',
  },
}
SCSS
$custom: #a2d45f;
$custom-light: #c0e190;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d45f",
  "rgb": {
    "r": 162,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 85.641,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81029,
    "c": 0.15629,
    "h": 128.7
  },
  "luminance": 0.55595
}

Semantic roles & 50–950 ramp

primary
#A2D45F
secondary
#654097
accent
#20C567
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #A2D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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