#ABD162#ABD162

#ABD162 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 81.0% C 0.145 H 125.2°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#ABD162
RGBrgb(171, 209, 98)
HSLhsl(81, 55%, 60%)
HSVhsv(81, 53%, 82%)
CMYKcmyk(18.2%, 0%, 53.1%, 18%)
CIE-LABlab(79.12, -29.78, 50.33)
CIE-LCHlch(79.12, 58.48, 120.61°)
OKLaboklab(80.97% -0.0838 0.1188)
OKLCHoklch(80.97% 0.145 125.2)
XYZxyz(41.7997, 55.1403, 19.9939)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABD162 #8862D1
analogous
#D1C062 #ABD162 #73D162
triadic
#ABD162 #62ABD1 #D162AB
tetradic
#ABD162 #62D1C0 #8862D1 #D16273
square
#ABD162 #62D1C0 #8862D1 #D16273
split-complementary
#ABD162 #6273D1 #C062D1
monochromatic
#6C8F2A #90BE38 #ABD162 #C4DF91 #DEEDC1

Accessibility & contrast

On white

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

On black

12.03
#ABD162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABD162
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABD162#FFFFFF#000000##000000
##ABD1621.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC557
Deuteranopia (green-blind)
#D6C369
Tritanopia (blue-blind)
#B1C8B8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #abd162;
/* rgb */ color: rgb(171, 209, 98);
/* oklch */ color: oklch(81.0% 0.145 125.2);
Tailwind
colors: {
  custom: {
    50: '#c6df92',
    500: '#abd162',
    950: '#000000',
  },
}
SCSS
$custom: #abd162;
$custom-light: #c6df92;
$custom-dark: #000000;
JSON
{
  "hex": "#abd162",
  "rgb": {
    "r": 171,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 80.541,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80974,
    "c": 0.1454,
    "h": 125.2
  },
  "luminance": 0.55141
}

Semantic roles & 50–950 ramp

primary
#ABD162
secondary
#5F4295
accent
#23C25A
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #ABD162

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

Preview Lab → · Contrast checker → · Palette generator →

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