#87A730#87A730

#87A730 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.2% C 0.147 H 123.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#87A730
RGBrgb(135, 167, 48)
HSLhsl(76, 55%, 42%)
HSVhsv(76, 71%, 65%)
CMYKcmyk(19.2%, 0%, 71.3%, 34.5%)
CIE-LABlab(64.16, -27.99, 54.85)
CIE-LCHlch(64.16, 61.58, 117.04°)
OKLaboklab(68.15% -0.0813 0.123)
OKLCHoklch(68.15% 0.147 123.5)
XYZxyz(24.3441, 33.0016, 7.8832)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A730 #5030A7
analogous
#A78B30 #87A730 #4CA730
triadic
#87A730 #3087A7 #A73087
tetradic
#87A730 #30A78B #5030A7 #A7304C
square
#87A730 #30A78B #5030A7 #A7304C
split-complementary
#87A730 #304CA7 #8B30A7
monochromatic
#3A4815 #617722 #87A730 #A8CB49 #BFD879

Accessibility & contrast

On white

2.76
#87A730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#87A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A730
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A730#FFFFFF#000000##000000
##87A7301.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C1C
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#8E9F90
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a730;
/* rgb */ color: rgb(135, 167, 48);
/* oklch */ color: oklch(68.2% 0.147 123.5);
Tailwind
colors: {
  custom: {
    50: '#adc170',
    500: '#87a730',
    950: '#000000',
  },
}
SCSS
$custom: #87a730;
$custom-light: #adc170;
$custom-dark: #000000;
JSON
{
  "hex": "#87a730",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 76.134,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68151,
    "c": 0.14742,
    "h": 123.5
  },
  "luminance": 0.33002
}

Semantic roles & 50–950 ramp

primary
#87A730
secondary
#8772C1
accent
#49DF71
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A730

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

Preview Lab → · Contrast checker → · Palette generator →

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