#A8D940#A8D940

#A8D940 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.3% C 0.184 H 125.8°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#A8D940
RGBrgb(168, 217, 64)
HSLhsl(79, 67%, 55%)
HSVhsv(79, 71%, 85%)
CMYKcmyk(22.6%, 0%, 70.5%, 14.9%)
CIE-LABlab(80.92, -37.25, 66.39)
CIE-LCHlch(80.92, 76.13, 119.29°)
OKLaboklab(82.28% -0.1073 0.1489)
OKLCHoklch(82.28% 0.184 125.8)
XYZxyz(41.8869, 58.3201, 13.8996)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D940 #7140D9
analogous
#D9BE40 #A8D940 #5BD940
triadic
#A8D940 #40A8D9 #D940A8
tetradic
#A8D940 #40D9BE #7140D9 #D9405B
square
#A8D940 #40D9BE #7140D9 #D9405B
split-complementary
#A8D940 #405BD9 #BE40D9
monochromatic
#62841A #88B724 #A8D940 #BFE373 #D7EDA6

Accessibility & contrast

On white

1.66
#A8D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#A8D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D940
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D940#FFFFFF#000000##000000
##A8D9401.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB26
Deuteranopia (green-blind)
#DEC84D
Tritanopia (blue-blind)
#AFCFBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a8d940;
/* rgb */ color: rgb(168, 217, 64);
/* oklch */ color: oklch(82.3% 0.184 125.8);
Tailwind
colors: {
  custom: {
    50: '#c6e57e',
    500: '#a8d940',
    950: '#000000',
  },
}
SCSS
$custom: #a8d940;
$custom-light: #c6e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d940",
  "rgb": {
    "r": 168,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 79.216,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82282,
    "c": 0.18353,
    "h": 125.8
  },
  "luminance": 0.58321
}

Semantic roles & 50–950 ramp

primary
#A8D940
secondary
#4F328B
accent
#3EEA75
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A8D940

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

Preview Lab → · Contrast checker → · Palette generator →

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