#A2D451#A2D451

#A2D451 is a light, vivid yellow-green. Relative luminance 0.554; OKLCH L 80.9% C 0.168 H 127.5°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#A2D451
RGBrgb(162, 212, 81)
HSLhsl(83, 60%, 57%)
HSVhsv(83, 62%, 83%)
CMYKcmyk(23.6%, 0%, 61.8%, 16.9%)
CIE-LABlab(79.25, -36.08, 57.89)
CIE-LCHlch(79.25, 68.21, 121.94°)
OKLaboklab(80.88% -0.1023 0.1334)
OKLCHoklch(80.88% 0.168 127.5)
XYZxyz(39.9289, 55.3617, 16.3652)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D451 #8351D4
analogous
#D4C551 #A2D451 #60D451
triadic
#A2D451 #51A2D4 #D451A2
tetradic
#A2D451 #51D4C5 #8351D4 #D45160
square
#A2D451 #51D4C5 #8351D4 #D45160
split-complementary
#A2D451 #5160D4 #C551D4
monochromatic
#618922 #84BA2E #A2D451 #BCE082 #D6ECB3

Accessibility & contrast

On white

1.74
#A2D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#A2D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D451
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D451#FFFFFF#000000##000000
##A2D4511.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC641
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#A7CBB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a2d451;
/* rgb */ color: rgb(162, 212, 81);
/* oklch */ color: oklch(80.9% 0.168 127.5);
Tailwind
colors: {
  custom: {
    50: '#c1e187',
    500: '#a2d451',
    950: '#000000',
  },
}
SCSS
$custom: #a2d451;
$custom-light: #c1e187;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d451",
  "rgb": {
    "r": 162,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 82.901,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80879,
    "c": 0.1681,
    "h": 127.5
  },
  "luminance": 0.55362
}

Semantic roles & 50–950 ramp

primary
#A2D451
secondary
#5B3A8F
accent
#44E481
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D451

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

Preview Lab → · Contrast checker → · Palette generator →

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