#A7D951#A7D951

#A7D951 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.4% C 0.172 H 127.0°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#A7D951
RGBrgb(167, 217, 81)
HSLhsl(82, 64%, 58%)
HSVhsv(82, 63%, 85%)
CMYKcmyk(23%, 0%, 62.7%, 14.9%)
CIE-LABlab(80.98, -36.47, 59.86)
CIE-LCHlch(80.98, 70.09, 121.35°)
OKLaboklab(82.36% -0.1037 0.1375)
OKLCHoklch(82.36% 0.172 127)
XYZxyz(42.2344, 58.4346, 16.8369)
Luminance0.5844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D951 #8351D9
analogous
#D9C751 #A7D951 #63D951
triadic
#A7D951 #51A7D9 #D951A7
tetradic
#A7D951 #51D9C7 #8351D9 #D95163
square
#A7D951 #51D9C7 #8351D9 #D95163
split-complementary
#A7D951 #5163D9 #C751D9
monochromatic
#67901F #8BC22A #A7D951 #C0E483 #DAEFB5

Accessibility & contrast

On white

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

On black

12.69
#A7D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D951
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D951#FFFFFF#000000##000000
##A7D9511.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB40
Deuteranopia (green-blind)
#DDC85B
Tritanopia (blue-blind)
#ADD0BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a7d951;
/* rgb */ color: rgb(167, 217, 81);
/* oklch */ color: oklch(82.4% 0.172 127.0);
Tailwind
colors: {
  custom: {
    50: '#c4e588',
    500: '#a7d951',
    950: '#000000',
  },
}
SCSS
$custom: #a7d951;
$custom-light: #c4e588;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d951",
  "rgb": {
    "r": 167,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 82.059,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82358,
    "c": 0.17218,
    "h": 127
  },
  "luminance": 0.58435
}

Semantic roles & 50–950 ramp

primary
#A7D951
secondary
#5B3995
accent
#41E77E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A7D951

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

Preview Lab → · Contrast checker → · Palette generator →

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