#A2D257#A2D257

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

Color values

HEX#A2D257
RGBrgb(162, 210, 87)
HSLhsl(83, 58%, 58%)
HSVhsv(83, 59%, 82%)
CMYKcmyk(22.9%, 0%, 58.6%, 17.6%)
CIE-LABlab(78.73, -34.67, 54.72)
CIE-LCHlch(78.73, 64.78, 122.36°)
OKLaboklab(80.48% -0.0979 0.1273)
OKLCHoklch(80.48% 0.161 127.6)
XYZxyz(39.6671, 54.4620, 17.4373)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D257 #8757D2
analogous
#D2C457 #A2D257 #64D257
triadic
#A2D257 #57A2D2 #D257A2
tetradic
#A2D257 #57D2C4 #8757D2 #D25764
square
#A2D257 #57D2C4 #8757D2 #D25764
split-complementary
#A2D257 #5764D2 #C457D2
monochromatic
#628A25 #85BA32 #A2D257 #BDDF87 #D7ECB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2D257#FFFFFF#000000##000000
##A2D2571.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)
#DCC54A
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#A7C9B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a2d257;
/* rgb */ color: rgb(162, 210, 87);
/* oklch */ color: oklch(80.5% 0.161 127.6);
Tailwind
colors: {
  custom: {
    50: '#c0e08b',
    500: '#a2d257',
    950: '#000000',
  },
}
SCSS
$custom: #a2d257;
$custom-light: #c0e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d257",
  "rgb": {
    "r": 162,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 83.415,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80476,
    "c": 0.16059,
    "h": 127.6
  },
  "luminance": 0.54463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2D257

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

Preview Lab → · Contrast checker → · Palette generator →

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