#87A830#87A830

#87A830 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.4% C 0.149 H 123.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#87A830
RGBrgb(135, 168, 48)
HSLhsl(77, 56%, 42%)
HSVhsv(77, 71%, 66%)
CMYKcmyk(19.6%, 0%, 71.4%, 34.1%)
CIE-LABlab(64.46, -28.47, 55.15)
CIE-LCHlch(64.46, 62.07, 117.31°)
OKLaboklab(68.39% -0.0827 0.1236)
OKLCHoklch(68.39% 0.149 123.8)
XYZxyz(24.5281, 33.3694, 7.9445)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A830 #5130A8
analogous
#A88D30 #87A830 #4BA830
triadic
#87A830 #3087A8 #A83087
tetradic
#87A830 #30A88D #5130A8 #A8304B
square
#87A830 #30A88D #5130A8 #A8304B
split-complementary
#87A830 #304BA8 #8D30A8
monochromatic
#3B4915 #617822 #87A830 #A8CB4A #BFD97A

Accessibility & contrast

On white

2.74
#87A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#87A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A830
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A830#FFFFFF#000000##000000
##87A8301.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1C
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#8EA090
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #87a830;
/* rgb */ color: rgb(135, 168, 48);
/* oklch */ color: oklch(68.4% 0.149 123.8);
Tailwind
colors: {
  custom: {
    50: '#adc270',
    500: '#87a830',
    950: '#000000',
  },
}
SCSS
$custom: #87a830;
$custom-light: #adc270;
$custom-dark: #000000;
JSON
{
  "hex": "#87a830",
  "rgb": {
    "r": 135,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 76.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68391,
    "c": 0.14867,
    "h": 123.8
  },
  "luminance": 0.3337
}

Semantic roles & 50–950 ramp

primary
#87A830
secondary
#8873C1
accent
#49DF72
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A830

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

Preview Lab → · Contrast checker → · Palette generator →

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