#87B238#87B238

#87B238 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 70.9% C 0.156 H 126.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#87B238
RGBrgb(135, 178, 56)
HSLhsl(81, 52%, 46%)
HSVhsv(81, 69%, 70%)
CMYKcmyk(24.2%, 0%, 68.5%, 30.2%)
CIE-LABlab(67.48, -32.69, 55.13)
CIE-LCHlch(67.48, 64.09, 120.66°)
OKLaboklab(70.86% -0.0935 0.1247)
OKLCHoklch(70.86% 0.156 126.9)
XYZxyz(26.6259, 37.2767, 9.5330)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B238 #6338B2
analogous
#B2A038 #87B238 #4AB238
triadic
#87B238 #3887B2 #B23887
tetradic
#87B238 #38B2A0 #6338B2 #B2384A
square
#87B238 #38B2A0 #6338B2 #B2384A
split-complementary
#87B238 #384AB2 #A038B2
monochromatic
#40551B #648329 #87B238 #A4CC5C #BEDA8A

Accessibility & contrast

On white

2.48
#87B238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#87B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B238
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B238#FFFFFF#000000##000000
##87B2381.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B5A442
Tritanopia (blue-blind)
#8CAA9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b238;
/* rgb */ color: rgb(135, 178, 56);
/* oklch */ color: oklch(70.9% 0.156 126.9);
Tailwind
colors: {
  custom: {
    50: '#adc975',
    500: '#87b238',
    950: '#000000',
  },
}
SCSS
$custom: #87b238;
$custom-light: #adc975;
$custom-dark: #000000;
JSON
{
  "hex": "#87b238",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 81.148,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70857,
    "c": 0.15591,
    "h": 126.9
  },
  "luminance": 0.37277
}

Semantic roles & 50–950 ramp

primary
#87B238
secondary
#9981C5
accent
#4CDC7F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B238

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

Preview Lab → · Contrast checker → · Palette generator →

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