#A8D42A#A8D42A

#A8D42A is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 81.0% C 0.189 H 124.0°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#A8D42A
RGBrgb(168, 212, 42)
HSLhsl(76, 67%, 50%)
HSVhsv(76, 80%, 83%)
CMYKcmyk(20.8%, 0%, 80.2%, 16.9%)
CIE-LABlab(79.37, -36.05, 71.84)
CIE-LCHlch(79.37, 80.38, 116.65°)
OKLaboklab(81% -0.1057 0.1569)
OKLCHoklch(81% 0.189 124)
XYZxyz(40.1103, 55.5786, 10.8046)
Luminance0.5558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D42A #562AD4
analogous
#D4AB2A #A8D42A #53D42A
triadic
#A8D42A #2AA8D4 #D42AA8
tetradic
#A8D42A #2AD4AB #562AD4 #D42A53
square
#A8D42A #2AD4AB #562AD4 #D42A53
split-complementary
#A8D42A #2A53D4 #AB2AD4
monochromatic
#576E16 #80A120 #A8D42A #BDDF5C #D2E98F

Accessibility & contrast

On white

1.73
#A8D42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#A8D42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D42A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D42A#FFFFFF#000000##000000
##A8D42A1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#DBC43D
Tritanopia (blue-blind)
#B1C9B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a8d42a;
/* rgb */ color: rgb(168, 212, 42);
/* oklch */ color: oklch(81.0% 0.189 124.0);
Tailwind
colors: {
  custom: {
    50: '#c6e173',
    500: '#a8d42a',
    950: '#000000',
  },
}
SCSS
$custom: #a8d42a;
$custom-light: #c6e173;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d42a",
  "rgb": {
    "r": 168,
    "g": 212,
    "b": 42
  },
  "hsl": {
    "h": 75.529,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.80996,
    "c": 0.18919,
    "h": 124
  },
  "luminance": 0.55579
}

Semantic roles & 50–950 ramp

primary
#A8D42A
secondary
#3F2B77
accent
#3EEA6A
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A8D42A

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

Preview Lab → · Contrast checker → · Palette generator →

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