#A2D258#A2D258

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

Color values

HEX#A2D258
RGBrgb(162, 210, 88)
HSLhsl(84, 58%, 58%)
HSVhsv(84, 58%, 82%)
CMYKcmyk(22.9%, 0%, 58.1%, 17.6%)
CIE-LABlab(78.74, -34.58, 54.29)
CIE-LCHlch(78.74, 64.37, 122.50°)
OKLaboklab(80.49% -0.0976 0.1265)
OKLCHoklch(80.49% 0.16 127.6)
XYZxyz(39.7082, 54.4785, 17.6540)
Luminance0.5448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D258 #8858D2
analogous
#D2C558 #A2D258 #65D258
triadic
#A2D258 #58A2D2 #D258A2
tetradic
#A2D258 #58D2C5 #8858D2 #D25865
square
#A2D258 #58D2C5 #8858D2 #D25865
split-complementary
#A2D258 #5865D2 #C558D2
monochromatic
#638A25 #85BB32 #A2D258 #BDDF88 #D8ECB8

Accessibility & contrast

On white

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

On black

11.90
#A2D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D258
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D258#FFFFFF#000000##000000
##A2D2581.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54B
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#A7C9B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a2d258;
/* rgb */ color: rgb(162, 210, 88);
/* oklch */ color: oklch(80.5% 0.160 127.6);
Tailwind
colors: {
  custom: {
    50: '#c0e08b',
    500: '#a2d258',
    950: '#000000',
  },
}
SCSS
$custom: #a2d258;
$custom-light: #c0e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d258",
  "rgb": {
    "r": 162,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 83.607,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80487,
    "c": 0.15974,
    "h": 127.6
  },
  "luminance": 0.54479
}

Semantic roles & 50–950 ramp

primary
#A2D258
secondary
#5E3E91
accent
#47E184
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D258

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

Preview Lab → · Contrast checker → · Palette generator →

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