#87B023#87B023

#87B023 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.2% C 0.166 H 125.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#87B023
RGBrgb(135, 176, 35)
HSLhsl(77, 67%, 41%)
HSVhsv(77, 80%, 69%)
CMYKcmyk(23.3%, 0%, 80.1%, 31%)
CIE-LABlab(66.77, -32.92, 61.67)
CIE-LCHlch(66.77, 69.91, 118.09°)
OKLaboklab(70.24% -0.0958 0.1352)
OKLCHoklch(70.24% 0.166 125.3)
XYZxyz(25.8206, 36.3226, 7.2404)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B023 #4C23B0
analogous
#B09323 #87B023 #41B023
triadic
#87B023 #2387B0 #B02387
tetradic
#87B023 #23B093 #4C23B0 #B02341
square
#87B023 #23B093 #4C23B0 #B02341
split-complementary
#87B023 #2341B0 #9323B0
monochromatic
#394A0F #607D19 #87B023 #A9D839 #BFE26C

Accessibility & contrast

On white

2.54
#87B023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#87B023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B023
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B023#FFFFFF#000000##000000
##87B0231.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#8DA796
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87b023;
/* rgb */ color: rgb(135, 176, 35);
/* oklch */ color: oklch(70.2% 0.166 125.3);
Tailwind
colors: {
  custom: {
    50: '#aec76b',
    500: '#87b023',
    950: '#000000',
  },
}
SCSS
$custom: #87b023;
$custom-light: #aec76b;
$custom-dark: #000000;
JSON
{
  "hex": "#87b023",
  "rgb": {
    "r": 135,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 77.447,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70235,
    "c": 0.16571,
    "h": 125.3
  },
  "luminance": 0.36323
}

Semantic roles & 50–950 ramp

primary
#87B023
secondary
#8367C8
accent
#3EEA70
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B023

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

Preview Lab → · Contrast checker → · Palette generator →

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