#87B939#87B939

#87B939 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.6% C 0.164 H 128.5°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#87B939
RGBrgb(135, 185, 57)
HSLhsl(83, 53%, 47%)
HSVhsv(83, 69%, 73%)
CMYKcmyk(27%, 0%, 69.2%, 27.5%)
CIE-LABlab(69.57, -35.84, 56.89)
CIE-LCHlch(69.57, 67.23, 122.21°)
OKLaboklab(72.55% -0.1021 0.1286)
OKLCHoklch(72.55% 0.164 128.5)
XYZxyz(28.0791, 40.1436, 10.1392)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B939 #6B39B9
analogous
#B9AB39 #87B939 #47B939
triadic
#87B939 #3987B9 #B93987
tetradic
#87B939 #39B9AB #6B39B9 #B93947
square
#87B939 #39B9AB #6B39B9 #B93947
split-complementary
#87B939 #3947B9 #AB39B9
monochromatic
#435B1C #658A2B #87B939 #A4CE61 #BFDD90

Accessibility & contrast

On white

2.33
#87B939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#87B939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B939
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B939#FFFFFF#000000##000000
##87B9391.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#BBA944
Tritanopia (blue-blind)
#8BB19F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #87b939;
/* rgb */ color: rgb(135, 185, 57);
/* oklch */ color: oklch(72.6% 0.164 128.5);
Tailwind
colors: {
  custom: {
    50: '#aece77',
    500: '#87b939',
    950: '#000000',
  },
}
SCSS
$custom: #87b939;
$custom-light: #aece77;
$custom-dark: #000000;
JSON
{
  "hex": "#87b939",
  "rgb": {
    "r": 135,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 83.438,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72553,
    "c": 0.16417,
    "h": 128.5
  },
  "luminance": 0.40144
}

Semantic roles & 50–950 ramp

primary
#87B939
secondary
#A086C8
accent
#4BDC84
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B939

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

Preview Lab → · Contrast checker → · Palette generator →

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