#A7D940#A7D940

#A7D940 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.2% C 0.184 H 126.1°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#A7D940
RGBrgb(167, 217, 64)
HSLhsl(80, 67%, 55%)
HSVhsv(80, 71%, 85%)
CMYKcmyk(23%, 0%, 70.5%, 14.9%)
CIE-LABlab(80.86, -37.63, 66.31)
CIE-LCHlch(80.86, 76.25, 119.57°)
OKLaboklab(82.22% -0.1083 0.1487)
OKLCHoklch(82.22% 0.184 126.1)
XYZxyz(41.6748, 58.2107, 13.8897)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D940 #7240D9
analogous
#D9BF40 #A7D940 #5AD940
triadic
#A7D940 #40A7D9 #D940A7
tetradic
#A7D940 #40D9BF #7240D9 #D9405A
square
#A7D940 #40D9BF #7240D9 #D9405A
split-complementary
#A7D940 #405AD9 #BF40D9
monochromatic
#62841A #87B724 #A7D940 #BFE373 #D6EDA6

Accessibility & contrast

On white

1.66
#A7D940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#A7D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D940
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D940#FFFFFF#000000##000000
##A7D9401.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB26
Deuteranopia (green-blind)
#DEC84D
Tritanopia (blue-blind)
#AECFBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a7d940;
/* rgb */ color: rgb(167, 217, 64);
/* oklch */ color: oklch(82.2% 0.184 126.1);
Tailwind
colors: {
  custom: {
    50: '#c5e57e',
    500: '#a7d940',
    950: '#000000',
  },
}
SCSS
$custom: #a7d940;
$custom-light: #c5e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d940",
  "rgb": {
    "r": 167,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 79.608,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82218,
    "c": 0.18399,
    "h": 126.1
  },
  "luminance": 0.58211
}

Semantic roles & 50–950 ramp

primary
#A7D940
secondary
#4F328B
accent
#3EEA76
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A7D940

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

Preview Lab → · Contrast checker → · Palette generator →

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