#87B230#87B230

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

Color values

HEX#87B230
RGBrgb(135, 178, 48)
HSLhsl(80, 58%, 44%)
HSVhsv(80, 73%, 70%)
CMYKcmyk(24.2%, 0%, 73%, 30.2%)
CIE-LABlab(67.43, -33.19, 58.09)
CIE-LCHlch(67.43, 66.90, 119.75°)
OKLaboklab(70.8% -0.0956 0.1297)
OKLCHoklch(70.8% 0.161 126.4)
XYZxyz(26.4457, 37.2047, 8.5837)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B230 #5B30B2
analogous
#B29C30 #87B230 #46B230
triadic
#87B230 #3087B2 #B23087
tetradic
#87B230 #30B29C #5B30B2 #B23046
square
#87B230 #30B29C #5B30B2 #B23046
split-complementary
#87B230 #3046B2 #9C30B2
monochromatic
#3E5216 #628223 #87B230 #A5D050 #BEDD80

Accessibility & contrast

On white

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

On black

8.44
#87B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B230
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B230#FFFFFF#000000##000000
##87B2301.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA617
Deuteranopia (green-blind)
#B6A33C
Tritanopia (blue-blind)
#8DAA99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b230;
/* rgb */ color: rgb(135, 178, 48);
/* oklch */ color: oklch(70.8% 0.161 126.4);
Tailwind
colors: {
  custom: {
    50: '#aec971',
    500: '#87b230',
    950: '#000000',
  },
}
SCSS
$custom: #87b230;
$custom-light: #aec971;
$custom-dark: #000000;
JSON
{
  "hex": "#87b230",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 79.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70796,
    "c": 0.16116,
    "h": 126.4
  },
  "luminance": 0.37205
}

Semantic roles & 50–950 ramp

primary
#87B230
secondary
#9278C6
accent
#47E17A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B230

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

Preview Lab → · Contrast checker → · Palette generator →

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