#87A239#87A239

#87A239 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 67.0% C 0.135 H 122.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#87A239
RGBrgb(135, 162, 57)
HSLhsl(75, 48%, 43%)
HSVhsv(75, 65%, 64%)
CMYKcmyk(16.7%, 0%, 64.8%, 36.5%)
CIE-LABlab(62.75, -24.95, 49.75)
CIE-LCHlch(62.75, 55.66, 116.63°)
OKLaboklab(67.03% -0.0721 0.1136)
OKLCHoklch(67.03% 0.135 122.4)
XYZxyz(23.6508, 31.2869, 8.6631)
Luminance0.3129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A239 #5439A2
analogous
#A28939 #87A239 #52A239
triadic
#87A239 #3987A2 #A23987
tetradic
#87A239 #39A289 #5439A2 #A23952
square
#87A239 #39A289 #5439A2 #A23952
split-complementary
#87A239 #3952A2 #8939A2
monochromatic
#3C4719 #617529 #87A239 #A7C355 #BED382

Accessibility & contrast

On white

2.89
#87A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#87A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A239
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A239#FFFFFF#000000##000000
##87A2391.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982C
Deuteranopia (green-blind)
#A89841
Tritanopia (blue-blind)
#8E9A8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a239;
/* rgb */ color: rgb(135, 162, 57);
/* oklch */ color: oklch(67.0% 0.135 122.4);
Tailwind
colors: {
  custom: {
    50: '#adbd75',
    500: '#87a239',
    950: '#000000',
  },
}
SCSS
$custom: #87a239;
$custom-light: #adbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#87a239",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 75.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67032,
    "c": 0.13451,
    "h": 122.4
  },
  "luminance": 0.31287
}

Semantic roles & 50–950 ramp

primary
#87A239
secondary
#8B7ABD
accent
#50D873
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A239

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

Preview Lab → · Contrast checker → · Palette generator →

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