#A7C87F#A7C87F

#A7C87F is a light, moderate yellow-green. Relative luminance 0.511; OKLCH L 79.1% C 0.104 H 128.4°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#A7C87F
RGBrgb(167, 200, 127)
HSLhsl(87, 40%, 64%)
HSVhsv(87, 37%, 78%)
CMYKcmyk(16.5%, 0%, 36.5%, 21.6%)
CIE-LABlab(76.71, -23.62, 32.97)
CIE-LCHlch(76.71, 40.56, 125.62°)
OKLaboklab(79.1% -0.0645 0.0815)
OKLCHoklch(79.1% 0.104 128.4)
XYZxyz(40.4209, 51.0559, 27.7998)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C87F #A07FC8
analogous
#C8C57F #A7C87F #83C87F
triadic
#A7C87F #7FA7C8 #C87FA7
tetradic
#A7C87F #7FC8C5 #A07FC8 #C87F83
square
#A7C87F #7FC8C5 #A07FC8 #C87F83
split-complementary
#A7C87F #7F83C8 #C57FC8
monochromatic
#6A8F3D #8AB654 #A7C87F #C4DAAA #E2EDD5

Accessibility & contrast

On white

1.87
#A7C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#A7C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C87F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C87F#FFFFFF#000000##000000
##A7C87F1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF7A
Deuteranopia (green-blind)
#CABD83
Tritanopia (blue-blind)
#AAC2B6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a7c87f;
/* rgb */ color: rgb(167, 200, 127);
/* oklch */ color: oklch(79.1% 0.104 128.4);
Tailwind
colors: {
  custom: {
    50: '#c2d8a5',
    500: '#a7c87f',
    950: '#000000',
  },
}
SCSS
$custom: #a7c87f;
$custom-light: #c2d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c87f",
  "rgb": {
    "r": 167,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 87.123,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79095,
    "c": 0.10399,
    "h": 128.4
  },
  "luminance": 0.51056
}

Semantic roles & 50–950 ramp

primary
#A7C87F
secondary
#725596
accent
#33B36D
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#12140F
muted
#828380

Preview Lab

Preview with #A7C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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