#87B223#87B223

#87B223 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.7% C 0.168 H 125.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#87B223
RGBrgb(135, 178, 35)
HSLhsl(78, 67%, 42%)
HSVhsv(78, 80%, 70%)
CMYKcmyk(24.2%, 0%, 80.3%, 30.2%)
CIE-LABlab(67.36, -33.85, 62.21)
CIE-LCHlch(67.36, 70.82, 118.55°)
OKLaboklab(70.72% -0.0984 0.1363)
OKLCHoklch(70.72% 0.168 125.8)
XYZxyz(26.2156, 37.1126, 7.3721)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B223 #4E23B2
analogous
#B29623 #87B223 #40B223
triadic
#87B223 #2387B2 #B22387
tetradic
#87B223 #23B296 #4E23B2 #B22340
square
#87B223 #23B296 #4E23B2 #B22340
split-complementary
#87B223 #2340B2 #9623B2
monochromatic
#394C0F #607F19 #87B223 #A9D83A #BFE26D

Accessibility & contrast

On white

2.49
#87B223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#87B223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B223
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B223#FFFFFF#000000##000000
##87B2231.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#8DA998
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b223;
/* rgb */ color: rgb(135, 178, 35);
/* oklch */ color: oklch(70.7% 0.168 125.8);
Tailwind
colors: {
  custom: {
    50: '#aec96b',
    500: '#87b223',
    950: '#000000',
  },
}
SCSS
$custom: #87b223;
$custom-light: #aec96b;
$custom-dark: #000000;
JSON
{
  "hex": "#87b223",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 78.042,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70718,
    "c": 0.1681,
    "h": 125.8
  },
  "luminance": 0.37113
}

Semantic roles & 50–950 ramp

primary
#87B223
secondary
#8568C9
accent
#3EEA72
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B223

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

Preview Lab → · Contrast checker → · Palette generator →

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