#87B45F#87B45F

#87B45F is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.8% C 0.124 H 131.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#87B45F
RGBrgb(135, 180, 95)
HSLhsl(92, 36%, 54%)
HSVhsv(92, 47%, 71%)
CMYKcmyk(25%, 0%, 47.2%, 29.4%)
CIE-LABlab(68.47, -29.93, 38.41)
CIE-LCHlch(68.47, 48.69, 127.93°)
OKLaboklab(71.79% -0.0827 0.0927)
OKLCHoklch(71.79% 0.124 131.7)
XYZxyz(28.3781, 38.6189, 16.7833)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B45F #8C5FB4
analogous
#B2B45F #87B45F #5FB462
triadic
#87B45F #5F87B4 #B45F87
tetradic
#87B45F #5FB2B4 #8C5FB4 #B4625F
square
#87B45F #5FB2B4 #8C5FB4 #B4625F
split-complementary
#87B45F #625FB4 #B45FB2
monochromatic
#4B6831 #699244 #87B45F #A6C889 #C6DBB2

Accessibility & contrast

On white

2.41
#87B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#87B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B45F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B45F#FFFFFF#000000##000000
##87B45F1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA958
Deuteranopia (green-blind)
#B4A664
Tritanopia (blue-blind)
#89AEA0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87b45f;
/* rgb */ color: rgb(135, 180, 95);
/* oklch */ color: oklch(71.8% 0.124 131.7);
Tailwind
colors: {
  custom: {
    50: '#acca8e',
    500: '#87b45f',
    950: '#000000',
  },
}
SCSS
$custom: #87b45f;
$custom-light: #acca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#87b45f",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 91.765,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71787,
    "c": 0.12422,
    "h": 131.7
  },
  "luminance": 0.3862
}

Semantic roles & 50–950 ramp

primary
#87B45F
secondary
#B8A5CA
accent
#5CCC97
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #87B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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