#87C238#87C238

#87C238 is a light, vivid yellow-green. Relative luminance 0.440; OKLCH L 74.7% C 0.176 H 130.0°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#87C238
RGBrgb(135, 194, 56)
HSLhsl(86, 55%, 49%)
HSVhsv(86, 71%, 76%)
CMYKcmyk(30.4%, 0%, 71.1%, 23.9%)
CIE-LABlab(72.24, -39.93, 59.97)
CIE-LCHlch(72.24, 72.05, 123.66°)
OKLaboklab(74.72% -0.1133 0.1349)
OKLCHoklch(74.72% 0.176 130)
XYZxyz(29.9971, 44.0191, 10.6567)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87C238 #7338C2
analogous
#C2B838 #87C238 #42C238
triadic
#87C238 #3887C2 #C23887
tetradic
#87C238 #38C2B8 #7338C2 #C23842
square
#87C238 #38C2B8 #7338C2 #C23842
split-complementary
#87C238 #3842C2 #B838C2
monochromatic
#45631D #66932A #87C238 #A4D265 #C0E094

Accessibility & contrast

On white

2.14
#87C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#87C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87C238
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87C238#FFFFFF#000000##000000
##87C2381.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB420
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#8ABAA7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #87c238;
/* rgb */ color: rgb(135, 194, 56);
/* oklch */ color: oklch(74.7% 0.176 130.0);
Tailwind
colors: {
  custom: {
    50: '#aed477',
    500: '#87c238',
    950: '#000000',
  },
}
SCSS
$custom: #87c238;
$custom-light: #aed477;
$custom-dark: #000000;
JSON
{
  "hex": "#87c238",
  "rgb": {
    "r": 135,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 85.652,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7472,
    "c": 0.17619,
    "h": 130
  },
  "luminance": 0.4402
}

Semantic roles & 50–950 ramp

primary
#87C238
secondary
#A68ACB
accent
#49DF89
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#111409
muted
#80837B

Preview Lab

Preview with #87C238

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

Preview Lab → · Contrast checker → · Palette generator →

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