#87B931#87B931

#87B931 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.5% C 0.169 H 128.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#87B931
RGBrgb(135, 185, 49)
HSLhsl(82, 58%, 46%)
HSVhsv(82, 74%, 73%)
CMYKcmyk(27%, 0%, 73.5%, 27.5%)
CIE-LABlab(69.52, -36.34, 59.78)
CIE-LCHlch(69.52, 69.96, 121.30°)
OKLaboklab(72.49% -0.1041 0.1334)
OKLCHoklch(72.49% 0.169 128)
XYZxyz(27.8950, 40.0699, 9.1697)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B931 #6331B9
analogous
#B9A731 #87B931 #43B931
triadic
#87B931 #3187B9 #B93187
tetradic
#87B931 #31B9A7 #6331B9 #B93143
square
#87B931 #31B9A7 #6331B9 #B93143
split-complementary
#87B931 #3143B9 #A731B9
monochromatic
#405817 #648924 #87B931 #A4D255 #BEDF86

Accessibility & contrast

On white

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

On black

9.01
#87B931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B931
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B931#FFFFFF#000000##000000
##87B9311.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#BBA93E
Tritanopia (blue-blind)
#8CB19F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #87b931;
/* rgb */ color: rgb(135, 185, 49);
/* oklch */ color: oklch(72.5% 0.169 128.0);
Tailwind
colors: {
  custom: {
    50: '#aece73',
    500: '#87b931',
    950: '#000000',
  },
}
SCSS
$custom: #87b931;
$custom-light: #aece73;
$custom-dark: #000000;
JSON
{
  "hex": "#87b931",
  "rgb": {
    "r": 135,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 82.059,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72493,
    "c": 0.16925,
    "h": 128
  },
  "luminance": 0.40071
}

Semantic roles & 50–950 ramp

primary
#87B931
secondary
#997DC8
accent
#46E17F
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B931

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

Preview Lab → · Contrast checker → · Palette generator →

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