#87B258#87B258

#87B258 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.2% C 0.128 H 130.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#87B258
RGBrgb(135, 178, 88)
HSLhsl(89, 37%, 52%)
HSVhsv(89, 51%, 70%)
CMYKcmyk(24.2%, 0%, 50.6%, 30.2%)
CIE-LABlab(67.80, -29.80, 41.07)
CIE-LCHlch(67.80, 50.74, 125.96°)
OKLaboklab(71.21% -0.0828 0.0981)
OKLCHoklch(71.21% 0.128 130.2)
XYZxyz(27.6732, 37.6957, 15.0486)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B258 #8358B2
analogous
#B2B058 #87B258 #5AB258
triadic
#87B258 #5887B2 #B25887
tetradic
#87B258 #58B2B0 #8358B2 #B2585A
square
#87B258 #58B2B0 #8358B2 #B2585A
split-complementary
#87B258 #585AB2 #B058B2
monochromatic
#49622D #688C41 #87B258 #A5C582 #C3D9AC

Accessibility & contrast

On white

2.46
#87B258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#87B258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B258
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B258#FFFFFF#000000##000000
##87B2581.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A750
Deuteranopia (green-blind)
#B3A45E
Tritanopia (blue-blind)
#8AAB9D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b258;
/* rgb */ color: rgb(135, 178, 88);
/* oklch */ color: oklch(71.2% 0.128 130.2);
Tailwind
colors: {
  custom: {
    50: '#acc989',
    500: '#87b258',
    950: '#000000',
  },
}
SCSS
$custom: #87b258;
$custom-light: #acc989;
$custom-dark: #000000;
JSON
{
  "hex": "#87b258",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 88.667,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7121,
    "c": 0.1284,
    "h": 130.2
  },
  "luminance": 0.37696
}

Semantic roles & 50–950 ramp

primary
#87B258
secondary
#B29FC7
accent
#5BCD91
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #87B258

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

Preview Lab → · Contrast checker → · Palette generator →

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