#A7D342#A7D342

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

Color values

HEX#A7D342
RGBrgb(167, 211, 66)
HSLhsl(78, 62%, 54%)
HSVhsv(78, 69%, 83%)
CMYKcmyk(20.9%, 0%, 68.7%, 17.3%)
CIE-LABlab(79.15, -34.79, 63.87)
CIE-LCHlch(79.15, 72.73, 118.58°)
OKLaboklab(80.85% -0.1003 0.1439)
OKLCHoklch(80.85% 0.175 124.9)
XYZxyz(40.2143, 55.1969, 13.6886)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D342 #6E42D3
analogous
#D3B742 #A7D342 #5FD342
triadic
#A7D342 #42A7D3 #D342A7
tetradic
#A7D342 #42D3B7 #6E42D3 #D3425F
square
#A7D342 #42D3B7 #6E42D3 #D3425F
split-complementary
#A7D342 #425FD3 #B742D3
monochromatic
#607D1D #86AF29 #A7D342 #BEDF74 #D5EAA5

Accessibility & contrast

On white

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

On black

12.04
#A7D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D342
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D342#FFFFFF#000000##000000
##A7D3421.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC62B
Deuteranopia (green-blind)
#D8C44E
Tritanopia (blue-blind)
#AEC9B6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a7d342;
/* rgb */ color: rgb(167, 211, 66);
/* oklch */ color: oklch(80.8% 0.175 124.9);
Tailwind
colors: {
  custom: {
    50: '#c5e07f',
    500: '#a7d342',
    950: '#000000',
  },
}
SCSS
$custom: #a7d342;
$custom-light: #c5e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d342",
  "rgb": {
    "r": 167,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 78.207,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80845,
    "c": 0.17542,
    "h": 124.9
  },
  "luminance": 0.55197
}

Semantic roles & 50–950 ramp

primary
#A7D342
secondary
#4D3485
accent
#42E574
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A7D342

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

Preview Lab → · Contrast checker → · Palette generator →

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