#A8D42C#A8D42C

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

Color values

HEX#A8D42C
RGBrgb(168, 212, 44)
HSLhsl(76, 66%, 50%)
HSVhsv(76, 79%, 83%)
CMYKcmyk(20.8%, 0%, 79.2%, 16.9%)
CIE-LABlab(79.38, -35.98, 71.31)
CIE-LCHlch(79.38, 79.87, 116.77°)
OKLaboklab(81.01% -0.1054 0.1561)
OKLCHoklch(81.01% 0.188 124)
XYZxyz(40.1470, 55.5933, 10.9979)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D42C #582CD4
analogous
#D4AC2C #A8D42C #54D42C
triadic
#A8D42C #2CA8D4 #D42CA8
tetradic
#A8D42C #2CD4AC #582CD4 #D42C54
square
#A8D42C #2CD4AC #582CD4 #D42C54
split-complementary
#A8D42C #2C54D4 #AC2CD4
monochromatic
#586F17 #80A221 #A8D42C #BDDE5F #D2E992

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8D42C#FFFFFF#000000##000000
##A8D42C1.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)
#DAC43E
Tritanopia (blue-blind)
#B0C9B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a8d42c;
/* rgb */ color: rgb(168, 212, 44);
/* oklch */ color: oklch(81.0% 0.188 124.0);
Tailwind
colors: {
  custom: {
    50: '#c6e174',
    500: '#a8d42c',
    950: '#000000',
  },
}
SCSS
$custom: #a8d42c;
$custom-light: #c6e174;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d42c",
  "rgb": {
    "r": 168,
    "g": 212,
    "b": 44
  },
  "hsl": {
    "h": 75.714,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81006,
    "c": 0.18832,
    "h": 124
  },
  "luminance": 0.55594
}

Semantic roles & 50–950 ramp

primary
#A8D42C
secondary
#402C78
accent
#3FE96B
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A8D42C

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

Preview Lab → · Contrast checker → · Palette generator →

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