#A4D540#A4D540

#A4D540 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.1% C 0.181 H 126.1°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#A4D540
RGBrgb(164, 213, 64)
HSLhsl(80, 64%, 54%)
HSVhsv(80, 70%, 84%)
CMYKcmyk(23%, 0%, 70%, 16.5%)
CIE-LABlab(79.53, -36.97, 64.92)
CIE-LCHlch(79.53, 74.71, 119.66°)
OKLaboklab(81.1% -0.1063 0.1459)
OKLCHoklch(81.1% 0.181 126.1)
XYZxyz(40.0297, 55.8506, 13.5208)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4D540 #7140D5
analogous
#D5BC40 #A4D540 #5AD540
triadic
#A4D540 #40A4D5 #D540A4
tetradic
#A4D540 #40D5BC #7140D5 #D5405A
square
#A4D540 #40D5BC #7140D5 #D5405A
split-complementary
#A4D540 #405AD5 #BC40D5
monochromatic
#5E7F1C #84B127 #A4D540 #BCE072 #D4EBA4

Accessibility & contrast

On white

1.73
#A4D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#A4D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4D540
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4D540#FFFFFF#000000##000000
##A4D5401.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C727
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#ABCBB8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a4d540;
/* rgb */ color: rgb(164, 213, 64);
/* oklch */ color: oklch(81.1% 0.181 126.1);
Tailwind
colors: {
  custom: {
    50: '#c3e27e',
    500: '#a4d540',
    950: '#000000',
  },
}
SCSS
$custom: #a4d540;
$custom-light: #c3e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#a4d540",
  "rgb": {
    "r": 164,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 79.732,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81095,
    "c": 0.18052,
    "h": 126.1
  },
  "luminance": 0.55851
}

Semantic roles & 50–950 ramp

primary
#A4D540
secondary
#4E3386
accent
#41E777
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A4D540

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

Preview Lab → · Contrast checker → · Palette generator →

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