#87B338#87B338

#87B338 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.1% C 0.157 H 127.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#87B338
RGBrgb(135, 179, 56)
HSLhsl(81, 52%, 46%)
HSVhsv(81, 69%, 70%)
CMYKcmyk(24.6%, 0%, 68.7%, 29.8%)
CIE-LABlab(67.78, -33.15, 55.44)
CIE-LCHlch(67.78, 64.59, 120.88°)
OKLaboklab(71.1% -0.0948 0.1254)
OKLCHoklch(71.1% 0.157 127.1)
XYZxyz(26.8256, 37.6761, 9.5995)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B338 #6438B3
analogous
#B3A138 #87B338 #4AB338
triadic
#87B338 #3887B3 #B33887
tetradic
#87B338 #38B3A1 #6438B3 #B3384A
square
#87B338 #38B3A1 #6438B3 #B3384A
split-complementary
#87B338 #384AB3 #A138B3
monochromatic
#41561B #648429 #87B338 #A4CC5C #BEDB8B

Accessibility & contrast

On white

2.46
#87B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#87B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B338
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B338#FFFFFF#000000##000000
##87B3381.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#B6A442
Tritanopia (blue-blind)
#8CAB9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b338;
/* rgb */ color: rgb(135, 179, 56);
/* oklch */ color: oklch(71.1% 0.157 127.1);
Tailwind
colors: {
  custom: {
    50: '#adca76',
    500: '#87b338',
    950: '#000000',
  },
}
SCSS
$custom: #87b338;
$custom-light: #adca76;
$custom-dark: #000000;
JSON
{
  "hex": "#87b338",
  "rgb": {
    "r": 135,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 81.463,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71098,
    "c": 0.15719,
    "h": 127.1
  },
  "luminance": 0.37677
}

Semantic roles & 50–950 ramp

primary
#87B338
secondary
#9A82C5
accent
#4CDC7F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B338

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

Preview Lab → · Contrast checker → · Palette generator →

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