#A2D45B#A2D45B

#A2D45B is a light, vivid yellow-green. Relative luminance 0.555; OKLCH L 81.0% C 0.160 H 128.3°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#A2D45B
RGBrgb(162, 212, 91)
HSLhsl(85, 58%, 59%)
HSVhsv(85, 57%, 83%)
CMYKcmyk(23.6%, 0%, 57.1%, 16.9%)
CIE-LABlab(79.34, -35.23, 53.63)
CIE-LCHlch(79.34, 64.17, 123.30°)
OKLaboklab(80.98% -0.0991 0.1254)
OKLCHoklch(80.98% 0.16 128.3)
XYZxyz(40.3319, 55.5229, 18.4876)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D45B #8D5BD4
analogous
#D4C95B #A2D45B #66D45B
triadic
#A2D45B #5BA2D4 #D45BA2
tetradic
#A2D45B #5BD4C9 #8D5BD4 #D45B66
square
#A2D45B #5BD4C9 #8D5BD4 #D45B66
split-complementary
#A2D45B #5B66D4 #C95BD4
monochromatic
#638F26 #85C032 #A2D45B #BDE18B #D9EDBC

Accessibility & contrast

On white

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

On black

12.10
#A2D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D45B
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D45B#FFFFFF#000000##000000
##A2D45B1.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC74E
Deuteranopia (green-blind)
#D6C463
Tritanopia (blue-blind)
#A7CBBA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a2d45b;
/* rgb */ color: rgb(162, 212, 91);
/* oklch */ color: oklch(81.0% 0.160 128.3);
Tailwind
colors: {
  custom: {
    50: '#c0e18d',
    500: '#a2d45b',
    950: '#000000',
  },
}
SCSS
$custom: #a2d45b;
$custom-light: #c0e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d45b",
  "rgb": {
    "r": 162,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 84.793,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80983,
    "c": 0.15982,
    "h": 128.3
  },
  "luminance": 0.55524
}

Semantic roles & 50–950 ramp

primary
#A2D45B
secondary
#623E95
accent
#46E286
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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