#A8D340#A8D340

#A8D340 is a light, vivid yellow-green. Relative luminance 0.553; OKLCH L 80.9% C 0.176 H 124.5°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#A8D340
RGBrgb(168, 211, 64)
HSLhsl(78, 63%, 54%)
HSVhsv(78, 70%, 83%)
CMYKcmyk(20.4%, 0%, 69.7%, 17.3%)
CIE-LABlab(79.20, -34.52, 64.68)
CIE-LCHlch(79.20, 73.31, 118.09°)
OKLaboklab(80.9% -0.0998 0.1453)
OKLCHoklch(80.9% 0.176 124.5)
XYZxyz(40.3685, 55.2831, 13.3935)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D340 #6B40D3
analogous
#D3B540 #A8D340 #5FD340
triadic
#A8D340 #40A8D3 #D340A8
tetradic
#A8D340 #40D3B5 #6B40D3 #D3405F
square
#A8D340 #40D3B5 #6B40D3 #D3405F
split-complementary
#A8D340 #405FD3 #B540D3
monochromatic
#607C1D #87AE28 #A8D340 #BFDE72 #D5EAA3

Accessibility & contrast

On white

1.74
#A8D340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#A8D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D340
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D340#FFFFFF#000000##000000
##A8D3401.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC628
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#B0C9B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a8d340;
/* rgb */ color: rgb(168, 211, 64);
/* oklch */ color: oklch(80.9% 0.176 124.5);
Tailwind
colors: {
  custom: {
    50: '#c5e07d',
    500: '#a8d340',
    950: '#000000',
  },
}
SCSS
$custom: #a8d340;
$custom-light: #c5e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d340",
  "rgb": {
    "r": 168,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 77.551,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80897,
    "c": 0.17628,
    "h": 124.5
  },
  "luminance": 0.55284
}

Semantic roles & 50–950 ramp

primary
#A8D340
secondary
#4B3384
accent
#42E672
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8D340

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

Preview Lab → · Contrast checker → · Palette generator →

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