#87B233#87B233

#87B233 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.8% C 0.159 H 126.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#87B233
RGBrgb(135, 178, 51)
HSLhsl(80, 55%, 45%)
HSVhsv(80, 71%, 70%)
CMYKcmyk(24.2%, 0%, 71.3%, 30.2%)
CIE-LABlab(67.45, -33.01, 57.01)
CIE-LCHlch(67.45, 65.88, 120.07°)
OKLaboklab(70.82% -0.0949 0.128)
OKLCHoklch(70.82% 0.159 126.6)
XYZxyz(26.5097, 37.2303, 8.9208)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B233 #5E33B2
analogous
#B29E33 #87B233 #47B233
triadic
#87B233 #3387B2 #B23387
tetradic
#87B233 #33B29E #5E33B2 #B23347
square
#87B233 #33B29E #5E33B2 #B23347
split-complementary
#87B233 #3347B2 #9E33B2
monochromatic
#3F5318 #638225 #87B233 #A5CE54 #BEDC84

Accessibility & contrast

On white

2.49
#87B233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#87B233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B233
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B233#FFFFFF#000000##000000
##87B2331.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61D
Deuteranopia (green-blind)
#B5A43E
Tritanopia (blue-blind)
#8CAA99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b233;
/* rgb */ color: rgb(135, 178, 51);
/* oklch */ color: oklch(70.8% 0.159 126.6);
Tailwind
colors: {
  custom: {
    50: '#aec973',
    500: '#87b233',
    950: '#000000',
  },
}
SCSS
$custom: #87b233;
$custom-light: #aec973;
$custom-dark: #000000;
JSON
{
  "hex": "#87b233",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 80.315,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70818,
    "c": 0.15928,
    "h": 126.6
  },
  "luminance": 0.37231
}

Semantic roles & 50–950 ramp

primary
#87B233
secondary
#957CC5
accent
#49DF7C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B233

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

Preview Lab → · Contrast checker → · Palette generator →

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