#A4D940#A4D940

#A4D940 is a very light, vivid yellow-green. Relative luminance 0.579; OKLCH L 82.0% C 0.185 H 126.9°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#A4D940
RGBrgb(164, 217, 64)
HSLhsl(81, 67%, 55%)
HSVhsv(81, 71%, 85%)
CMYKcmyk(24.4%, 0%, 70.5%, 14.9%)
CIE-LABlab(80.68, -38.77, 66.07)
CIE-LCHlch(80.68, 76.61, 120.40°)
OKLaboklab(82.03% -0.1113 0.1483)
OKLCHoklch(82.03% 0.185 126.9)
XYZxyz(41.0482, 57.8876, 13.8603)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4D940 #7540D9
analogous
#D9C140 #A4D940 #58D940
triadic
#A4D940 #40A4D9 #D940A4
tetradic
#A4D940 #40D9C1 #7540D9 #D94058
square
#A4D940 #40D9C1 #7540D9 #D94058
split-complementary
#A4D940 #4058D9 #C140D9
monochromatic
#60841A #84B724 #A4D940 #BCE373 #D5EDA6

Accessibility & contrast

On white

1.67
#A4D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#A4D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4D940
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4D940#FFFFFF#000000##000000
##A4D9401.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA26
Deuteranopia (green-blind)
#DDC74D
Tritanopia (blue-blind)
#AACFBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a4d940;
/* rgb */ color: rgb(164, 217, 64);
/* oklch */ color: oklch(82.0% 0.185 126.9);
Tailwind
colors: {
  custom: {
    50: '#c3e57e',
    500: '#a4d940',
    950: '#000000',
  },
}
SCSS
$custom: #a4d940;
$custom-light: #c3e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4d940",
  "rgb": {
    "r": 164,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 80.784,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82025,
    "c": 0.18539,
    "h": 126.9
  },
  "luminance": 0.57888
}

Semantic roles & 50–950 ramp

primary
#A4D940
secondary
#51328B
accent
#3EEA7A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A4D940

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

Preview Lab → · Contrast checker → · Palette generator →

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