#A2D271#A2D271

#A2D271 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 80.8% C 0.136 H 130.5°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#A2D271
RGBrgb(162, 210, 113)
HSLhsl(90, 52%, 63%)
HSVhsv(90, 46%, 82%)
CMYKcmyk(22.9%, 0%, 46.2%, 17.6%)
CIE-LABlab(79.02, -32.01, 42.90)
CIE-LCHlch(79.02, 53.52, 126.73°)
OKLaboklab(80.81% -0.0885 0.1036)
OKLCHoklch(80.81% 0.136 130.5)
XYZxyz(40.9270, 54.9660, 24.0728)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D271 #A171D2
analogous
#D2D271 #A2D271 #71D271
triadic
#A2D271 #71A2D2 #D271A2
tetradic
#A2D271 #71D2D2 #A171D2 #D27171
square
#A2D271 #71D2D2 #A171D2 #D27171
split-complementary
#A2D271 #7171D2 #D271D2
monochromatic
#659830 #84C343 #A2D271 #C0E19F #DFEFCE

Accessibility & contrast

On white

1.75
#A2D271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#A2D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D271
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D271#FFFFFF#000000##000000
##A2D2711.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC669
Deuteranopia (green-blind)
#D3C277
Tritanopia (blue-blind)
#A5CBBB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a2d271;
/* rgb */ color: rgb(162, 210, 113);
/* oklch */ color: oklch(80.8% 0.136 130.5);
Tailwind
colors: {
  custom: {
    50: '#bfe09b',
    500: '#a2d271',
    950: '#000000',
  },
}
SCSS
$custom: #a2d271;
$custom-light: #bfe09b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d271",
  "rgb": {
    "r": 162,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 89.691,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80806,
    "c": 0.13625,
    "h": 130.5
  },
  "luminance": 0.54967
}

Semantic roles & 50–950 ramp

primary
#A2D271
secondary
#734A9E
accent
#26BF72
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #A2D271

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

Preview Lab → · Contrast checker → · Palette generator →

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