#87B949#87B949

#87B949 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.7% C 0.152 H 129.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#87B949
RGBrgb(135, 185, 73)
HSLhsl(87, 44%, 51%)
HSVhsv(87, 61%, 73%)
CMYKcmyk(27%, 0%, 60.5%, 27.5%)
CIE-LABlab(69.70, -34.58, 50.35)
CIE-LCHlch(69.70, 61.08, 124.48°)
OKLaboklab(72.7% -0.0973 0.1168)
OKLCHoklch(72.7% 0.152 129.8)
XYZxyz(28.5430, 40.3291, 12.5825)
Luminance0.4033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B949 #7B49B9
analogous
#B9B349 #87B949 #4FB949
triadic
#87B949 #4987B9 #B94987
tetradic
#87B949 #49B9B3 #7B49B9 #B9494F
square
#87B949 #49B9B3 #7B49B9 #B9494F
split-complementary
#87B949 #494FB9 #B349B9
monochromatic
#476226 #678E37 #87B949 #A4CA75 #C1DBA1

Accessibility & contrast

On white

2.32
#87B949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#87B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B949
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B949#FFFFFF#000000##000000
##87B9491.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3C
Deuteranopia (green-blind)
#BAA951
Tritanopia (blue-blind)
#8AB1A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #87b949;
/* rgb */ color: rgb(135, 185, 73);
/* oklch */ color: oklch(72.7% 0.152 129.8);
Tailwind
colors: {
  custom: {
    50: '#adce80',
    500: '#87b949',
    950: '#000000',
  },
}
SCSS
$custom: #87b949;
$custom-light: #adce80;
$custom-dark: #000000;
JSON
{
  "hex": "#87b949",
  "rgb": {
    "r": 135,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 86.786,
    "s": 44.444,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72702,
    "c": 0.15201,
    "h": 129.8
  },
  "luminance": 0.4033
}

Semantic roles & 50–950 ramp

primary
#87B949
secondary
#AC96C8
accent
#54D48D
background
#FAFCF8
surface
#F5F9EF
border
#CFD2CA
text
#10130A
muted
#7F827C

Preview Lab

Preview with #87B949

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

Preview Lab → · Contrast checker → · Palette generator →

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