#87B236#87B236

#87B236 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 70.8% C 0.157 H 126.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#87B236
RGBrgb(135, 178, 54)
HSLhsl(81, 53%, 45%)
HSVhsv(81, 70%, 70%)
CMYKcmyk(24.2%, 0%, 69.7%, 30.2%)
CIE-LABlab(67.47, -32.82, 55.90)
CIE-LCHlch(67.47, 64.82, 120.42°)
OKLaboklab(70.84% -0.0941 0.1261)
OKLCHoklch(70.84% 0.157 126.7)
XYZxyz(26.5780, 37.2576, 9.2805)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B236 #6136B2
analogous
#B29F36 #87B236 #49B236
triadic
#87B236 #3687B2 #B23687
tetradic
#87B236 #36B29F #6136B2 #B23649
square
#87B236 #36B29F #6136B2 #B23649
split-complementary
#87B236 #3649B2 #9F36B2
monochromatic
#40541A #638328 #87B236 #A4CD59 #BEDB88

Accessibility & contrast

On white

2.48
#87B236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#87B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B236
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B236#FFFFFF#000000##000000
##87B2361.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA623
Deuteranopia (green-blind)
#B5A440
Tritanopia (blue-blind)
#8CAA99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b236;
/* rgb */ color: rgb(135, 178, 54);
/* oklch */ color: oklch(70.8% 0.157 126.7);
Tailwind
colors: {
  custom: {
    50: '#adc974',
    500: '#87b236',
    950: '#000000',
  },
}
SCSS
$custom: #87b236;
$custom-light: #adc974;
$custom-dark: #000000;
JSON
{
  "hex": "#87b236",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 80.806,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.15729,
    "h": 126.7
  },
  "luminance": 0.37258
}

Semantic roles & 50–950 ramp

primary
#87B236
secondary
#977FC5
accent
#4BDD7E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B236

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

Preview Lab → · Contrast checker → · Palette generator →

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