#87A751#87A751

#87A751 is a light, moderate yellow-green. Relative luminance 0.334; OKLCH L 68.5% C 0.119 H 126.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#87A751
RGBrgb(135, 167, 81)
HSLhsl(82, 35%, 49%)
HSVhsv(82, 51%, 65%)
CMYKcmyk(19.2%, 0%, 51.5%, 34.5%)
CIE-LABlab(64.47, -25.23, 40.53)
CIE-LCHlch(64.47, 47.74, 121.91°)
OKLaboklab(68.5% -0.0706 0.0964)
OKLCHoklch(68.5% 0.12 126.2)
XYZxyz(25.2955, 33.3821, 12.8937)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A751 #7151A7
analogous
#A79C51 #87A751 #5CA751
triadic
#87A751 #5187A7 #A75187
tetradic
#87A751 #51A79C #7151A7 #A7515C
square
#87A751 #51A79C #7151A7 #A7515C
split-complementary
#87A751 #515CA7 #9C51A7
monochromatic
#445529 #667E3D #87A751 #A4BD78 #BFD1A1

Accessibility & contrast

On white

2.74
#87A751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#87A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A751
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A751#FFFFFF#000000##000000
##87A7511.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E49
Deuteranopia (green-blind)
#AA9C56
Tritanopia (blue-blind)
#8BA093
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #87a751;
/* rgb */ color: rgb(135, 167, 81);
/* oklch */ color: oklch(68.5% 0.119 126.2);
Tailwind
colors: {
  custom: {
    50: '#acc184',
    500: '#87a751',
    950: '#000000',
  },
}
SCSS
$custom: #87a751;
$custom-light: #acc184;
$custom-dark: #000000;
JSON
{
  "hex": "#87a751",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 82.326,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68497,
    "c": 0.1195,
    "h": 126.2
  },
  "luminance": 0.33382
}

Semantic roles & 50–950 ramp

primary
#87A751
secondary
#A595BF
accent
#5DCB86
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #87A751

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

Preview Lab → · Contrast checker → · Palette generator →

#87A751 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva