#87B52E#87B52E

#87B52E is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.5% C 0.166 H 127.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#87B52E
RGBrgb(135, 181, 46)
HSLhsl(80, 59%, 45%)
HSVhsv(80, 75%, 71%)
CMYKcmyk(25.4%, 0%, 74.6%, 29%)
CIE-LABlab(68.31, -34.69, 59.65)
CIE-LCHlch(68.31, 69.00, 120.18°)
OKLaboklab(71.51% -0.0998 0.1327)
OKLCHoklch(71.51% 0.166 127)
XYZxyz(27.0088, 38.3954, 8.5723)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B52E #5C2EB5
analogous
#B59F2E #87B52E #44B52E
triadic
#87B52E #2E87B5 #B52E87
tetradic
#87B52E #2EB59F #5C2EB5 #B52E44
square
#87B52E #2EB59F #5C2EB5 #B52E44
split-complementary
#87B52E #2E44B5 #9F2EB5
monochromatic
#3E5315 #638422 #87B52E #A5D24E #BEDE7F

Accessibility & contrast

On white

2.42
#87B52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#87B52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B52E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B52E#FFFFFF#000000##000000
##87B52E1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA811
Deuteranopia (green-blind)
#B8A63B
Tritanopia (blue-blind)
#8CAC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87b52e;
/* rgb */ color: rgb(135, 181, 46);
/* oklch */ color: oklch(71.5% 0.166 127.0);
Tailwind
colors: {
  custom: {
    50: '#aecb71',
    500: '#87b52e',
    950: '#000000',
  },
}
SCSS
$custom: #87b52e;
$custom-light: #aecb71;
$custom-dark: #000000;
JSON
{
  "hex": "#87b52e",
  "rgb": {
    "r": 135,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 80.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71507,
    "c": 0.16606,
    "h": 127
  },
  "luminance": 0.38396
}

Semantic roles & 50–950 ramp

primary
#87B52E
secondary
#9378C7
accent
#45E37B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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