#A2D256#A2D256

#A2D256 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.5% C 0.161 H 127.5°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#A2D256
RGBrgb(162, 210, 86)
HSLhsl(83, 58%, 58%)
HSVhsv(83, 59%, 82%)
CMYKcmyk(22.9%, 0%, 59%, 17.6%)
CIE-LABlab(78.72, -34.76, 55.15)
CIE-LCHlch(78.72, 65.19, 122.22°)
OKLaboklab(80.47% -0.0982 0.1281)
OKLCHoklch(80.47% 0.161 127.5)
XYZxyz(39.6265, 54.4458, 17.2237)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D256 #8656D2
analogous
#D2C456 #A2D256 #64D256
triadic
#A2D256 #56A2D2 #D256A2
tetradic
#A2D256 #56D2C4 #8656D2 #D25664
square
#A2D256 #56D2C4 #8656D2 #D25664
split-complementary
#A2D256 #5664D2 #C456D2
monochromatic
#628925 #85B931 #A2D256 #BDDF86 #D7ECB7

Accessibility & contrast

On white

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

On black

11.89
#A2D256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D256
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D256#FFFFFF#000000##000000
##A2D2561.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2d256;
/* rgb */ color: rgb(162, 210, 86);
/* oklch */ color: oklch(80.5% 0.161 127.5);
Tailwind
colors: {
  custom: {
    50: '#c0e08a',
    500: '#a2d256',
    950: '#000000',
  },
}
SCSS
$custom: #a2d256;
$custom-light: #c0e08a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d256",
  "rgb": {
    "r": 162,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 83.226,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80466,
    "c": 0.16143,
    "h": 127.5
  },
  "luminance": 0.54446
}

Semantic roles & 50–950 ramp

primary
#A2D256
secondary
#5D3D90
accent
#47E182
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D256

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

Preview Lab → · Contrast checker → · Palette generator →

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