#A8D962#A8D962

#A8D962 is a very light, vivid yellow-green. Relative luminance 0.588; OKLCH L 82.6% C 0.158 H 128.1°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#A8D962
RGBrgb(168, 217, 98)
HSLhsl(85, 61%, 62%)
HSVhsv(85, 55%, 85%)
CMYKcmyk(22.6%, 0%, 54.8%, 14.9%)
CIE-LABlab(81.20, -34.63, 52.71)
CIE-LCHlch(81.20, 63.07, 123.31°)
OKLaboklab(82.6% -0.0972 0.124)
OKLCHoklch(82.6% 0.158 128.1)
XYZxyz(43.1657, 58.8316, 20.6344)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D962 #9362D9
analogous
#D9CF62 #A8D962 #6DD962
triadic
#A8D962 #62A8D9 #D962A8
tetradic
#A8D962 #62D9CF #9362D9 #D9626D
square
#A8D962 #62D9CF #9362D9 #D9626D
split-complementary
#A8D962 #626DD9 #CF62D9
monochromatic
#6B9B26 #8DCC31 #A8D962 #C3E593 #DFF1C5

Accessibility & contrast

On white

1.64
#A8D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#A8D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D962
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D962#FFFFFF#000000##000000
##A8D9621.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC56
Deuteranopia (green-blind)
#DCC96A
Tritanopia (blue-blind)
#ADD0BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #a8d962;
/* rgb */ color: rgb(168, 217, 98);
/* oklch */ color: oklch(82.6% 0.158 128.1);
Tailwind
colors: {
  custom: {
    50: '#c4e592',
    500: '#a8d962',
    950: '#000000',
  },
}
SCSS
$custom: #a8d962;
$custom-light: #c4e592;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d962",
  "rgb": {
    "r": 168,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 84.706,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82602,
    "c": 0.15755,
    "h": 128.1
  },
  "luminance": 0.58832
}

Semantic roles & 50–950 ramp

primary
#A8D962
secondary
#67409F
accent
#1DC964
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A8D962

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

Preview Lab → · Contrast checker → · Palette generator →

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