#87B751#87B751

#87B751 is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.3% C 0.142 H 130.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#87B751
RGBrgb(135, 183, 81)
HSLhsl(88, 41%, 52%)
HSVhsv(88, 56%, 72%)
CMYKcmyk(26.2%, 0%, 55.7%, 28.2%)
CIE-LABlab(69.19, -32.90, 46.10)
CIE-LCHlch(69.19, 56.63, 125.51°)
OKLaboklab(72.31% -0.0919 0.1085)
OKLCHoklch(72.31% 0.142 130.3)
XYZxyz(28.4101, 39.6112, 13.9319)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B751 #8151B7
analogous
#B7B451 #87B751 #54B751
triadic
#87B751 #5187B7 #B75187
tetradic
#87B751 #51B7B4 #8151B7 #B75154
square
#87B751 #51B7B4 #8151B7 #B75154
split-complementary
#87B751 #5154B7 #B451B7
monochromatic
#496429 #688F3B #87B751 #A5C97C #C3DBA8

Accessibility & contrast

On white

2.35
#87B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#87B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B751
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B751#FFFFFF#000000##000000
##87B7511.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB47
Deuteranopia (green-blind)
#B8A858
Tritanopia (blue-blind)
#8AB0A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #87b751;
/* rgb */ color: rgb(135, 183, 81);
/* oklch */ color: oklch(72.3% 0.142 130.3);
Tailwind
colors: {
  custom: {
    50: '#accd85',
    500: '#87b751',
    950: '#000000',
  },
}
SCSS
$custom: #87b751;
$custom-light: #accd85;
$custom-dark: #000000;
JSON
{
  "hex": "#87b751",
  "rgb": {
    "r": 135,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 88.235,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72313,
    "c": 0.14224,
    "h": 130.3
  },
  "luminance": 0.39612
}

Semantic roles & 50–950 ramp

primary
#87B751
secondary
#B19CC8
accent
#57D190
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #87B751

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

Preview Lab → · Contrast checker → · Palette generator →

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