#87A138#87A138

#87A138 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.8% C 0.134 H 122.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#87A138
RGBrgb(135, 161, 56)
HSLhsl(75, 48%, 43%)
HSVhsv(75, 65%, 63%)
CMYKcmyk(16.1%, 0%, 65.2%, 36.9%)
CIE-LABlab(62.45, -24.53, 49.86)
CIE-LCHlch(62.45, 55.56, 116.19°)
OKLaboklab(66.78% -0.071 0.1137)
OKLCHoklch(66.78% 0.134 122)
XYZxyz(23.4506, 30.9261, 8.4745)
Luminance0.3093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A138 #5238A1
analogous
#A18638 #87A138 #53A138
triadic
#87A138 #3887A1 #A13887
tetradic
#87A138 #38A186 #5238A1 #A13853
square
#87A138 #38A186 #5238A1 #A13853
split-complementary
#87A138 #3853A1 #8638A1
monochromatic
#3B4618 #617428 #87A138 #A7C353 #BFD380

Accessibility & contrast

On white

2.92
#87A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#87A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A138
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A138#FFFFFF#000000##000000
##87A1381.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA982A
Deuteranopia (green-blind)
#A79740
Tritanopia (blue-blind)
#8E998B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a138;
/* rgb */ color: rgb(135, 161, 56);
/* oklch */ color: oklch(66.8% 0.134 122.0);
Tailwind
colors: {
  custom: {
    50: '#adbc74',
    500: '#87a138',
    950: '#000000',
  },
}
SCSS
$custom: #87a138;
$custom-light: #adbc74;
$custom-dark: #000000;
JSON
{
  "hex": "#87a138",
  "rgb": {
    "r": 135,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 74.857,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66784,
    "c": 0.13401,
    "h": 122
  },
  "luminance": 0.30926
}

Semantic roles & 50–950 ramp

primary
#87A138
secondary
#8978BC
accent
#50D872
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #87A138

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

Preview Lab → · Contrast checker → · Palette generator →

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