#A8D640#A8D640

#A8D640 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.6% C 0.180 H 125.2°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#A8D640
RGBrgb(168, 214, 64)
HSLhsl(78, 65%, 55%)
HSVhsv(78, 70%, 84%)
CMYKcmyk(21.5%, 0%, 70.1%, 16.1%)
CIE-LABlab(80.06, -35.89, 65.54)
CIE-LCHlch(80.06, 74.72, 118.71°)
OKLaboklab(81.59% -0.1036 0.1471)
OKLCHoklch(81.59% 0.18 125.2)
XYZxyz(41.1207, 56.7876, 13.6442)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D640 #6E40D6
analogous
#D6B940 #A8D640 #5DD640
triadic
#A8D640 #40A8D6 #D640A8
tetradic
#A8D640 #40D6B9 #6E40D6 #D6405D
square
#A8D640 #40D6B9 #6E40D6 #D6405D
split-complementary
#A8D640 #405DD6 #B940D6
monochromatic
#61801B #88B226 #A8D640 #BFE172 #D6ECA5

Accessibility & contrast

On white

1.70
#A8D640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#A8D640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D640
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D640#FFFFFF#000000##000000
##A8D6401.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C827
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#AFCCB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a8d640;
/* rgb */ color: rgb(168, 214, 64);
/* oklch */ color: oklch(81.6% 0.180 125.2);
Tailwind
colors: {
  custom: {
    50: '#c6e27e',
    500: '#a8d640',
    950: '#000000',
  },
}
SCSS
$custom: #a8d640;
$custom-light: #c6e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d640",
  "rgb": {
    "r": 168,
    "g": 214,
    "b": 64
  },
  "hsl": {
    "h": 78.4,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81589,
    "c": 0.1799,
    "h": 125.2
  },
  "luminance": 0.56788
}

Semantic roles & 50–950 ramp

primary
#A8D640
secondary
#4D3387
accent
#40E874
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A8D640

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

Preview Lab → · Contrast checker → · Palette generator →

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