#A8D040#A8D040

#A8D040 is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.2% C 0.173 H 123.8°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#A8D040
RGBrgb(168, 208, 64)
HSLhsl(77, 61%, 53%)
HSVhsv(77, 69%, 82%)
CMYKcmyk(19.2%, 0%, 69.2%, 18.4%)
CIE-LABlab(78.35, -33.14, 63.82)
CIE-LCHlch(78.35, 71.91, 117.44°)
OKLaboklab(80.21% -0.096 0.1435)
OKLCHoklch(80.21% 0.173 123.8)
XYZxyz(39.6301, 53.8065, 13.1473)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D040 #6840D0
analogous
#D0B040 #A8D040 #60D040
triadic
#A8D040 #40A8D0 #D040A8
tetradic
#A8D040 #40D0B0 #6840D0 #D04060
square
#A8D040 #40D0B0 #6840D0 #D04060
split-complementary
#A8D040 #4060D0 #B040D0
monochromatic
#5F781E #86A92A #A8D040 #BEDC71 #D5E8A2

Accessibility & contrast

On white

1.79
#A8D040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#A8D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D040
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D040#FFFFFF#000000##000000
##A8D0401.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC329
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#B0C6B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a8d040;
/* rgb */ color: rgb(168, 208, 64);
/* oklch */ color: oklch(80.2% 0.173 123.8);
Tailwind
colors: {
  custom: {
    50: '#c5de7d',
    500: '#a8d040',
    950: '#000000',
  },
}
SCSS
$custom: #a8d040;
$custom-light: #c5de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d040",
  "rgb": {
    "r": 168,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 76.667,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80205,
    "c": 0.17265,
    "h": 123.8
  },
  "luminance": 0.53807
}

Semantic roles & 50–950 ramp

primary
#A8D040
secondary
#493480
accent
#44E470
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8D040

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

Preview Lab → · Contrast checker → · Palette generator →

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