#A2D158#A2D158

#A2D158 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.3% C 0.158 H 127.4°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#A2D158
RGBrgb(162, 209, 88)
HSLhsl(83, 57%, 58%)
HSVhsv(83, 58%, 82%)
CMYKcmyk(22.5%, 0%, 57.9%, 18%)
CIE-LABlab(78.45, -34.12, 53.96)
CIE-LCHlch(78.45, 63.84, 122.31°)
OKLaboklab(80.26% -0.0963 0.1258)
OKLCHoklch(80.26% 0.158 127.4)
XYZxyz(39.4621, 53.9862, 17.5720)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D158 #8758D1
analogous
#D1C458 #A2D158 #65D158
triadic
#A2D158 #58A2D1 #D158A2
tetradic
#A2D158 #58D1C4 #8758D1 #D15865
square
#A2D158 #58D1C4 #8758D1 #D15865
split-complementary
#A2D158 #5865D1 #C458D1
monochromatic
#628926 #85B933 #A2D158 #BDDE88 #D7EBB8

Accessibility & contrast

On white

1.78
#A2D158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#A2D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D158
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D158#FFFFFF#000000##000000
##A2D1581.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44B
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#A7C8B7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a2d158;
/* rgb */ color: rgb(162, 209, 88);
/* oklch */ color: oklch(80.3% 0.158 127.4);
Tailwind
colors: {
  custom: {
    50: '#c0df8b',
    500: '#a2d158',
    950: '#000000',
  },
}
SCSS
$custom: #a2d158;
$custom-light: #c0df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d158",
  "rgb": {
    "r": 162,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 83.306,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80256,
    "c": 0.15841,
    "h": 127.4
  },
  "luminance": 0.53987
}

Semantic roles & 50–950 ramp

primary
#A2D158
secondary
#5D3E8F
accent
#48E083
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A2D158

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

Preview Lab → · Contrast checker → · Palette generator →

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