#A8D342#A8D342

#A8D342 is a light, vivid yellow-green. Relative luminance 0.553; OKLCH L 80.9% C 0.175 H 124.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#A8D342
RGBrgb(168, 211, 66)
HSLhsl(78, 62%, 54%)
HSVhsv(78, 69%, 83%)
CMYKcmyk(20.4%, 0%, 68.7%, 17.3%)
CIE-LABlab(79.22, -34.40, 63.95)
CIE-LCHlch(79.22, 72.62, 118.27°)
OKLaboklab(80.91% -0.0993 0.144)
OKLCHoklch(80.91% 0.175 124.6)
XYZxyz(40.4264, 55.3063, 13.6986)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D342 #6D42D3
analogous
#D3B642 #A8D342 #60D342
triadic
#A8D342 #42A8D3 #D342A8
tetradic
#A8D342 #42D3B6 #6D42D3 #D34260
square
#A8D342 #42D3B6 #6D42D3 #D34260
split-complementary
#A8D342 #4260D3 #B642D3
monochromatic
#617D1D #87AF29 #A8D342 #BFDF74 #D6EAA5

Accessibility & contrast

On white

1.74
#A8D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#A8D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D342
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D342#FFFFFF#000000##000000
##A8D3421.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC62B
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#B0C9B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a8d342;
/* rgb */ color: rgb(168, 211, 66);
/* oklch */ color: oklch(80.9% 0.175 124.6);
Tailwind
colors: {
  custom: {
    50: '#c5e07f',
    500: '#a8d342',
    950: '#000000',
  },
}
SCSS
$custom: #a8d342;
$custom-light: #c5e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d342",
  "rgb": {
    "r": 168,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 77.793,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80912,
    "c": 0.17497,
    "h": 124.6
  },
  "luminance": 0.55307
}

Semantic roles & 50–950 ramp

primary
#A8D342
secondary
#4C3485
accent
#42E573
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A8D342

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

Preview Lab → · Contrast checker → · Palette generator →

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