#87B431#87B431

#87B431 is a light, vivid yellow-green. Relative luminance 0.380; OKLCH L 71.3% C 0.163 H 126.9°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#87B431
RGBrgb(135, 180, 49)
HSLhsl(81, 57%, 45%)
HSVhsv(81, 73%, 71%)
CMYKcmyk(25%, 0%, 72.8%, 29.4%)
CIE-LABlab(68.03, -34.06, 58.32)
CIE-LCHlch(68.03, 67.54, 120.28°)
OKLaboklab(71.29% -0.0979 0.1304)
OKLCHoklch(71.29% 0.163 126.9)
XYZxyz(26.8674, 38.0147, 8.8272)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B431 #5E31B4
analogous
#B4A031 #87B431 #45B431
triadic
#87B431 #3187B4 #B43187
tetradic
#87B431 #31B4A0 #5E31B4 #B43145
square
#87B431 #31B4A0 #5E31B4 #B43145
split-complementary
#87B431 #3145B4 #A031B4
monochromatic
#3F5417 #638424 #87B431 #A5D052 #BEDD82

Accessibility & contrast

On white

2.44
#87B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#87B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B431
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B431#FFFFFF#000000##000000
##87B4311.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA818
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#8CAC9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87b431;
/* rgb */ color: rgb(135, 180, 49);
/* oklch */ color: oklch(71.3% 0.163 126.9);
Tailwind
colors: {
  custom: {
    50: '#aeca72',
    500: '#87b431',
    950: '#000000',
  },
}
SCSS
$custom: #87b431;
$custom-light: #aeca72;
$custom-dark: #000000;
JSON
{
  "hex": "#87b431",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 80.611,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71286,
    "c": 0.16303,
    "h": 126.9
  },
  "luminance": 0.38015
}

Semantic roles & 50–950 ramp

primary
#87B431
secondary
#957BC6
accent
#47E07C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B431

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

Preview Lab → · Contrast checker → · Palette generator →

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