#87BF2E#87BF2E

#87BF2E is a light, vivid yellow-green. Relative luminance 0.426; OKLCH L 73.9% C 0.178 H 128.9°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#87BF2E
RGBrgb(135, 191, 46)
HSLhsl(83, 61%, 46%)
HSVhsv(83, 76%, 75%)
CMYKcmyk(29.3%, 0%, 75.9%, 25.1%)
CIE-LABlab(71.29, -39.19, 62.50)
CIE-LCHlch(71.29, 73.77, 122.09°)
OKLaboklab(73.93% -0.1121 0.1387)
OKLCHoklch(73.93% 0.178 128.9)
XYZxyz(29.1156, 42.6090, 9.2746)
Luminance0.4261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87BF2E #662EBF
analogous
#BFAF2E #87BF2E #3FBF2E
triadic
#87BF2E #2E87BF #BF2E87
tetradic
#87BF2E #2EBFAF #662EBF #BF2E3F
square
#87BF2E #2EBFAF #662EBF #BF2E3F
split-complementary
#87BF2E #2E3FBF #AF2EBF
monochromatic
#415C16 #648E22 #87BF2E #A4D654 #BEE286

Accessibility & contrast

On white

2.21
#87BF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#87BF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87BF2E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87BF2E#FFFFFF#000000##000000
##87BF2E1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B109
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#8BB6A4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #87bf2e;
/* rgb */ color: rgb(135, 191, 46);
/* oklch */ color: oklch(73.9% 0.178 128.9);
Tailwind
colors: {
  custom: {
    50: '#aed272',
    500: '#87bf2e',
    950: '#000000',
  },
}
SCSS
$custom: #87bf2e;
$custom-light: #aed272;
$custom-dark: #000000;
JSON
{
  "hex": "#87bf2e",
  "rgb": {
    "r": 135,
    "g": 191,
    "b": 46
  },
  "hsl": {
    "h": 83.172,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73926,
    "c": 0.17832,
    "h": 128.9
  },
  "luminance": 0.4261
}

Semantic roles & 50–950 ramp

primary
#87BF2E
secondary
#9C7ECB
accent
#44E482
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111408
muted
#80827B

Preview Lab

Preview with #87BF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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