#A7D340#A7D340

#A7D340 is a light, vivid yellow-green. Relative luminance 0.552; OKLCH L 80.8% C 0.177 H 124.8°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#A7D340
RGBrgb(167, 211, 64)
HSLhsl(78, 63%, 54%)
HSVhsv(78, 70%, 83%)
CMYKcmyk(20.9%, 0%, 69.7%, 17.3%)
CIE-LABlab(79.14, -34.91, 64.60)
CIE-LCHlch(79.14, 73.43, 118.39°)
OKLaboklab(80.83% -0.1009 0.1451)
OKLCHoklch(80.83% 0.177 124.8)
XYZxyz(40.1563, 55.1738, 13.3835)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D340 #6C40D3
analogous
#D3B640 #A7D340 #5ED340
triadic
#A7D340 #40A7D3 #D340A7
tetradic
#A7D340 #40D3B6 #6C40D3 #D3405E
square
#A7D340 #40D3B6 #6C40D3 #D3405E
split-complementary
#A7D340 #405ED3 #B640D3
monochromatic
#5F7C1D #86AE28 #A7D340 #BEDE72 #D5EAA3

Accessibility & contrast

On white

1.74
#A7D340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#A7D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D340
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D340#FFFFFF#000000##000000
##A7D3401.001.7412.0312.03
#FFFFFF1.741.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC628
Deuteranopia (green-blind)
#D9C34C
Tritanopia (blue-blind)
#AFC9B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a7d340;
/* rgb */ color: rgb(167, 211, 64);
/* oklch */ color: oklch(80.8% 0.177 124.8);
Tailwind
colors: {
  custom: {
    50: '#c5e07d',
    500: '#a7d340',
    950: '#000000',
  },
}
SCSS
$custom: #a7d340;
$custom-light: #c5e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d340",
  "rgb": {
    "r": 167,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 77.959,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8083,
    "c": 0.17673,
    "h": 124.8
  },
  "luminance": 0.55174
}

Semantic roles & 50–950 ramp

primary
#A7D340
secondary
#4C3384
accent
#42E673
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D340

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

Preview Lab → · Contrast checker → · Palette generator →

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