#A8D42D#A8D42D

#A8D42D 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#A8D42D
RGBrgb(168, 212, 45)
HSLhsl(76, 66%, 50%)
HSVhsv(76, 79%, 83%)
CMYKcmyk(20.8%, 0%, 78.8%, 16.9%)
CIE-LABlab(79.39, -35.93, 71.03)
CIE-LCHlch(79.39, 79.61, 116.83°)
OKLaboklab(81.01% -0.1052 0.1557)
OKLCHoklch(81.01% 0.188 124)
XYZxyz(40.1661, 55.6009, 11.0981)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D42D #592DD4
analogous
#D4AC2D #A8D42D #55D42D
triadic
#A8D42D #2DA8D4 #D42DA8
tetradic
#A8D42D #2DD4AC #592DD4 #D42D55
square
#A8D42D #2DD4AC #592DD4 #D42D55
split-complementary
#A8D42D #2D55D4 #AC2DD4
monochromatic
#587017 #80A321 #A8D42D #BDDE60 #D2E993

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8D42D#FFFFFF#000000##000000
##A8D42D1.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)
#DAC43F
Tritanopia (blue-blind)
#B0C9B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a8d42d;
/* rgb */ color: rgb(168, 212, 45);
/* oklch */ color: oklch(81.0% 0.188 124.0);
Tailwind
colors: {
  custom: {
    50: '#c6e175',
    500: '#a8d42d',
    950: '#000000',
  },
}
SCSS
$custom: #a8d42d;
$custom-light: #c6e175;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d42d",
  "rgb": {
    "r": 168,
    "g": 212,
    "b": 45
  },
  "hsl": {
    "h": 75.808,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81011,
    "c": 0.18787,
    "h": 124
  },
  "luminance": 0.55601
}

Semantic roles & 50–950 ramp

primary
#A8D42D
secondary
#412C79
accent
#3FE96C
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A8D42D

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

Preview Lab → · Contrast checker → · Palette generator →

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