#A8D242#A8D242

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

Color values

HEX#A8D242
RGBrgb(168, 210, 66)
HSLhsl(78, 62%, 54%)
HSVhsv(78, 69%, 82%)
CMYKcmyk(20%, 0%, 68.6%, 17.6%)
CIE-LABlab(78.93, -33.94, 63.66)
CIE-LCHlch(78.93, 72.14, 118.06°)
OKLaboklab(80.68% -0.0981 0.1434)
OKLCHoklch(80.68% 0.174 124.4)
XYZxyz(40.1787, 54.8110, 13.6160)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D242 #6C42D2
analogous
#D2B442 #A8D242 #60D242
triadic
#A8D242 #42A8D2 #D242A8
tetradic
#A8D242 #42D2B4 #6C42D2 #D24260
square
#A8D242 #42D2B4 #6C42D2 #D24260
split-complementary
#A8D242 #4260D2 #B442D2
monochromatic
#607C1E #87AD29 #A8D242 #BFDE73 #D6EAA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8D242#FFFFFF#000000##000000
##A8D2421.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)
#DEC52C
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#B0C8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a8d242;
/* rgb */ color: rgb(168, 210, 66);
/* oklch */ color: oklch(80.7% 0.174 124.4);
Tailwind
colors: {
  custom: {
    50: '#c5e07e',
    500: '#a8d242',
    950: '#000000',
  },
}
SCSS
$custom: #a8d242;
$custom-light: #c5e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d242",
  "rgb": {
    "r": 168,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 77.5,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80681,
    "c": 0.17376,
    "h": 124.4
  },
  "luminance": 0.54811
}

Semantic roles & 50–950 ramp

primary
#A8D242
secondary
#4C3484
accent
#43E572
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A8D242

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

Preview Lab → · Contrast checker → · Palette generator →

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