#A7D540#A7D540

#A7D540 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.3% C 0.179 H 125.2°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#A7D540
RGBrgb(167, 213, 64)
HSLhsl(79, 64%, 54%)
HSVhsv(79, 70%, 84%)
CMYKcmyk(21.6%, 0%, 70%, 16.5%)
CIE-LABlab(79.71, -35.82, 65.17)
CIE-LCHlch(79.71, 74.37, 118.80°)
OKLaboklab(81.29% -0.1034 0.1463)
OKLCHoklch(81.29% 0.179 125.2)
XYZxyz(40.6563, 56.1737, 13.5502)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D540 #6E40D5
analogous
#D5B840 #A7D540 #5DD540
triadic
#A7D540 #40A7D5 #D540A7
tetradic
#A7D540 #40D5B8 #6E40D5 #D5405D
square
#A7D540 #40D5B8 #6E40D5 #D5405D
split-complementary
#A7D540 #405DD5 #B840D5
monochromatic
#607F1C #86B127 #A7D540 #BEE072 #D5EBA4

Accessibility & contrast

On white

1.72
#A7D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#A7D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D540
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D540#FFFFFF#000000##000000
##A7D5401.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C727
Deuteranopia (green-blind)
#DAC54D
Tritanopia (blue-blind)
#AECBB8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a7d540;
/* rgb */ color: rgb(167, 213, 64);
/* oklch */ color: oklch(81.3% 0.179 125.2);
Tailwind
colors: {
  custom: {
    50: '#c5e27e',
    500: '#a7d540',
    950: '#000000',
  },
}
SCSS
$custom: #a7d540;
$custom-light: #c5e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d540",
  "rgb": {
    "r": 167,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 78.523,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81292,
    "c": 0.17915,
    "h": 125.2
  },
  "luminance": 0.56174
}

Semantic roles & 50–950 ramp

primary
#A7D540
secondary
#4D3386
accent
#41E774
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D540

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

Preview Lab → · Contrast checker → · Palette generator →

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