#A8D162#A8D162

#A8D162 is a light, vivid yellow-green. Relative luminance 0.548; OKLCH L 80.8% C 0.147 H 126.3°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#A8D162
RGBrgb(168, 209, 98)
HSLhsl(82, 55%, 60%)
HSVhsv(82, 53%, 82%)
CMYKcmyk(19.6%, 0%, 53.1%, 18%)
CIE-LABlab(78.93, -30.92, 50.05)
CIE-LCHlch(78.93, 58.83, 121.71°)
OKLaboklab(80.77% -0.0869 0.1182)
OKLCHoklch(80.77% 0.147 126.3)
XYZxyz(41.1534, 54.8071, 19.9636)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D162 #8B62D1
analogous
#D1C262 #A8D162 #70D162
triadic
#A8D162 #62A8D1 #D162A8
tetradic
#A8D162 #62D1C2 #8B62D1 #D16270
square
#A8D162 #62D1C2 #8B62D1 #D16270
split-complementary
#A8D162 #6270D1 #C262D1
monochromatic
#698F2A #8CBE38 #A8D162 #C2DF91 #DCEDC1

Accessibility & contrast

On white

1.76
#A8D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#A8D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D162
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D162#FFFFFF#000000##000000
##A8D1621.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC557
Deuteranopia (green-blind)
#D5C369
Tritanopia (blue-blind)
#AEC8B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a8d162;
/* rgb */ color: rgb(168, 209, 98);
/* oklch */ color: oklch(80.8% 0.147 126.3);
Tailwind
colors: {
  custom: {
    50: '#c4df92',
    500: '#a8d162',
    950: '#000000',
  },
}
SCSS
$custom: #a8d162;
$custom-light: #c4df92;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d162",
  "rgb": {
    "r": 168,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 82.162,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8077,
    "c": 0.14672,
    "h": 126.3
  },
  "luminance": 0.54808
}

Semantic roles & 50–950 ramp

primary
#A8D162
secondary
#614295
accent
#23C25E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A8D162

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

Preview Lab → · Contrast checker → · Palette generator →

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