#A8D240#A8D240

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

Color values

HEX#A8D240
RGBrgb(168, 210, 64)
HSLhsl(77, 62%, 54%)
HSVhsv(77, 70%, 82%)
CMYKcmyk(20%, 0%, 69.5%, 17.6%)
CIE-LABlab(78.92, -34.06, 64.39)
CIE-LCHlch(78.92, 72.85, 117.88°)
OKLaboklab(80.67% -0.0986 0.1447)
OKLCHoklch(80.67% 0.175 124.3)
XYZxyz(40.1208, 54.7878, 13.3109)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D240 #6A40D2
analogous
#D2B340 #A8D240 #5FD240
triadic
#A8D240 #40A8D2 #D240A8
tetradic
#A8D240 #40D2B3 #6A40D2 #D2405F
square
#A8D240 #40D2B3 #6A40D2 #D2405F
split-complementary
#A8D240 #405FD2 #B340D2
monochromatic
#607B1D #86AC29 #A8D240 #BFDE72 #D5E9A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8D240#FFFFFF#000000##000000
##A8D2401.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)
#DEC528
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#B0C8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a8d240;
/* rgb */ color: rgb(168, 210, 64);
/* oklch */ color: oklch(80.7% 0.175 124.3);
Tailwind
colors: {
  custom: {
    50: '#c5e07d',
    500: '#a8d240',
    950: '#000000',
  },
}
SCSS
$custom: #a8d240;
$custom-light: #c5e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d240",
  "rgb": {
    "r": 168,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 77.26,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80666,
    "c": 0.17507,
    "h": 124.3
  },
  "luminance": 0.54788
}

Semantic roles & 50–950 ramp

primary
#A8D240
secondary
#4A3483
accent
#43E571
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8D240

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

Preview Lab → · Contrast checker → · Palette generator →

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