#87B13B#87B13B

#87B13B is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.6% C 0.152 H 126.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#87B13B
RGBrgb(135, 177, 59)
HSLhsl(81, 50%, 46%)
HSVhsv(81, 67%, 69%)
CMYKcmyk(23.7%, 0%, 66.7%, 30.6%)
CIE-LABlab(67.21, -32.01, 53.64)
CIE-LCHlch(67.21, 62.46, 120.83°)
OKLaboklab(70.64% -0.0914 0.122)
OKLCHoklch(70.64% 0.152 126.8)
XYZxyz(26.5033, 36.9105, 9.8649)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B13B #653BB1
analogous
#B1A03B #87B13B #4CB13B
triadic
#87B13B #3B87B1 #B13B87
tetradic
#87B13B #3BB1A0 #653BB1 #B13B4C
square
#87B13B #3BB1A0 #653BB1 #B13B4C
split-complementary
#87B13B #3B4CB1 #A03BB1
monochromatic
#41551C #64832C #87B13B #A4CA5F #BED98D

Accessibility & contrast

On white

2.51
#87B13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#87B13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B13B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B13B#FFFFFF#000000##000000
##87B13B1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52B
Deuteranopia (green-blind)
#B4A344
Tritanopia (blue-blind)
#8CA999
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b13b;
/* rgb */ color: rgb(135, 177, 59);
/* oklch */ color: oklch(70.6% 0.152 126.8);
Tailwind
colors: {
  custom: {
    50: '#adc877',
    500: '#87b13b',
    950: '#000000',
  },
}
SCSS
$custom: #87b13b;
$custom-light: #adc877;
$custom-dark: #000000;
JSON
{
  "hex": "#87b13b",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 81.356,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70642,
    "c": 0.15246,
    "h": 126.8
  },
  "luminance": 0.36911
}

Semantic roles & 50–950 ramp

primary
#87B13B
secondary
#9B84C4
accent
#4EDA80
background
#FAFCF7
surface
#F5F8ED
border
#CFD1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B13B

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

Preview Lab → · Contrast checker → · Palette generator →

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