#A4D840#A4D840

#A4D840 is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 81.8% C 0.184 H 126.7°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#A4D840
RGBrgb(164, 216, 64)
HSLhsl(81, 66%, 55%)
HSVhsv(81, 70%, 85%)
CMYKcmyk(24.1%, 0%, 70.4%, 15.3%)
CIE-LABlab(80.39, -38.32, 65.79)
CIE-LCHlch(80.39, 76.14, 120.22°)
OKLaboklab(81.79% -0.11 0.1477)
OKLCHoklch(81.79% 0.184 126.7)
XYZxyz(40.7913, 57.3737, 13.7746)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4D840 #7440D8
analogous
#D8C040 #A4D840 #58D840
triadic
#A4D840 #40A4D8 #D840A4
tetradic
#A4D840 #40D8C0 #7440D8 #D84058
square
#A4D840 #40D8C0 #7440D8 #D84058
split-complementary
#A4D840 #4058D8 #C040D8
monochromatic
#5F831B #84B625 #A4D840 #BCE273 #D4EDA6

Accessibility & contrast

On white

1.68
#A4D840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#A4D840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4D840
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4D840#FFFFFF#000000##000000
##A4D8401.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA26
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#AACEBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a4d840;
/* rgb */ color: rgb(164, 216, 64);
/* oklch */ color: oklch(81.8% 0.184 126.7);
Tailwind
colors: {
  custom: {
    50: '#c3e47e',
    500: '#a4d840',
    950: '#000000',
  },
}
SCSS
$custom: #a4d840;
$custom-light: #c3e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4d840",
  "rgb": {
    "r": 164,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 80.526,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81793,
    "c": 0.18417,
    "h": 126.7
  },
  "luminance": 0.57374
}

Semantic roles & 50–950 ramp

primary
#A4D840
secondary
#50338A
accent
#3FE979
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A4D840

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

Preview Lab → · Contrast checker → · Palette generator →

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