#A7D642#A7D642

#A7D642 is a light, vivid yellow-green. Relative luminance 0.567; OKLCH L 81.5% C 0.179 H 125.5°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#A7D642
RGBrgb(167, 214, 66)
HSLhsl(79, 64%, 55%)
HSVhsv(79, 69%, 84%)
CMYKcmyk(22%, 0%, 69.2%, 16.1%)
CIE-LABlab(80.01, -36.15, 64.74)
CIE-LCHlch(80.01, 74.15, 119.18°)
OKLaboklab(81.54% -0.1041 0.1457)
OKLCHoklch(81.54% 0.179 125.5)
XYZxyz(40.9665, 56.7014, 13.9394)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D642 #7142D6
analogous
#D6BB42 #A7D642 #5DD642
triadic
#A7D642 #42A7D6 #D642A7
tetradic
#A7D642 #42D6BB #7142D6 #D6425D
square
#A7D642 #42D6BB #7142D6 #D6425D
split-complementary
#A7D642 #425DD6 #BB42D6
monochromatic
#61821C #87B427 #A7D642 #BEE174 #D6ECA7

Accessibility & contrast

On white

1.70
#A7D642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#A7D642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D642
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D642#FFFFFF#000000##000000
##A7D6421.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82A
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#AECCB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a7d642;
/* rgb */ color: rgb(167, 214, 66);
/* oklch */ color: oklch(81.5% 0.179 125.5);
Tailwind
colors: {
  custom: {
    50: '#c5e27f',
    500: '#a7d642',
    950: '#000000',
  },
}
SCSS
$custom: #a7d642;
$custom-light: #c5e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d642",
  "rgb": {
    "r": 167,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 79.054,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81538,
    "c": 0.17908,
    "h": 125.5
  },
  "luminance": 0.56702
}

Semantic roles & 50–950 ramp

primary
#A7D642
secondary
#4F3488
accent
#40E775
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A7D642

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

Preview Lab → · Contrast checker → · Palette generator →

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