#A8D642#A8D642

#A8D642 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.6% C 0.179 H 125.3°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#A8D642
RGBrgb(168, 214, 66)
HSLhsl(79, 64%, 55%)
HSVhsv(79, 69%, 84%)
CMYKcmyk(21.5%, 0%, 69.2%, 16.1%)
CIE-LABlab(80.07, -35.77, 64.82)
CIE-LCHlch(80.07, 74.03, 118.89°)
OKLaboklab(81.6% -0.1031 0.1459)
OKLCHoklch(81.6% 0.179 125.3)
XYZxyz(41.1786, 56.8108, 13.9493)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D642 #7042D6
analogous
#D6BA42 #A8D642 #5ED642
triadic
#A8D642 #42A8D6 #D642A8
tetradic
#A8D642 #42D6BA #7042D6 #D6425E
square
#A8D642 #42D6BA #7042D6 #D6425E
split-complementary
#A8D642 #425ED6 #BA42D6
monochromatic
#62821C #88B427 #A8D642 #BFE174 #D6ECA7

Accessibility & contrast

On white

1.70
#A8D642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#A8D642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D642
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D642#FFFFFF#000000##000000
##A8D6421.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82A
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#AFCCB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a8d642;
/* rgb */ color: rgb(168, 214, 66);
/* oklch */ color: oklch(81.6% 0.179 125.3);
Tailwind
colors: {
  custom: {
    50: '#c5e27f',
    500: '#a8d642',
    950: '#000000',
  },
}
SCSS
$custom: #a8d642;
$custom-light: #c5e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d642",
  "rgb": {
    "r": 168,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 78.649,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81604,
    "c": 0.17862,
    "h": 125.3
  },
  "luminance": 0.56811
}

Semantic roles & 50–950 ramp

primary
#A8D642
secondary
#4E3488
accent
#40E774
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A8D642

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

Preview Lab → · Contrast checker → · Palette generator →

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