#A7D42D#A7D42D

#A7D42D is a light, vivid yellow-green. Relative luminance 0.555; OKLCH L 80.9% C 0.188 H 124.3°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#A7D42D
RGBrgb(167, 212, 45)
HSLhsl(76, 66%, 50%)
HSVhsv(76, 79%, 83%)
CMYKcmyk(21.2%, 0%, 78.8%, 16.9%)
CIE-LABlab(79.32, -36.33, 70.95)
CIE-LCHlch(79.32, 79.71, 117.11°)
OKLaboklab(80.94% -0.1062 0.1555)
OKLCHoklch(80.94% 0.188 124.3)
XYZxyz(39.9539, 55.4915, 11.0881)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D42D #5A2DD4
analogous
#D4AE2D #A7D42D #53D42D
triadic
#A7D42D #2DA7D4 #D42DA7
tetradic
#A7D42D #2DD4AE #5A2DD4 #D42D53
square
#A7D42D #2DD4AE #5A2DD4 #D42D53
split-complementary
#A7D42D #2D53D4 #AE2DD4
monochromatic
#587017 #80A321 #A7D42D #BCDE60 #D2E993

Accessibility & contrast

On white

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

On black

12.10
#A7D42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D42D
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D42D#FFFFFF#000000##000000
##A7D42D1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7d42d;
/* rgb */ color: rgb(167, 212, 45);
/* oklch */ color: oklch(80.9% 0.188 124.3);
Tailwind
colors: {
  custom: {
    50: '#c5e175',
    500: '#a7d42d',
    950: '#000000',
  },
}
SCSS
$custom: #a7d42d;
$custom-light: #c5e175;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d42d",
  "rgb": {
    "r": 167,
    "g": 212,
    "b": 45
  },
  "hsl": {
    "h": 76.168,
    "s": 66.008,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80944,
    "c": 0.18832,
    "h": 124.3
  },
  "luminance": 0.55492
}

Semantic roles & 50–950 ramp

primary
#A7D42D
secondary
#412C79
accent
#3FE96D
background
#FEFEFB
surface
#FAFCF1
border
#D3D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A7D42D

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

Preview Lab → · Contrast checker → · Palette generator →

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