#87B123#87B123

#87B123 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.5% C 0.167 H 125.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#87B123
RGBrgb(135, 177, 35)
HSLhsl(78, 67%, 42%)
HSVhsv(78, 80%, 69%)
CMYKcmyk(23.7%, 0%, 80.2%, 30.6%)
CIE-LABlab(67.06, -33.38, 61.94)
CIE-LCHlch(67.06, 70.37, 118.32°)
OKLaboklab(70.48% -0.0971 0.1358)
OKLCHoklch(70.48% 0.167 125.6)
XYZxyz(26.0174, 36.7161, 7.3060)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B123 #4D23B1
analogous
#B19423 #87B123 #40B123
triadic
#87B123 #2387B1 #B12387
tetradic
#87B123 #23B194 #4D23B1 #B12340
square
#87B123 #23B194 #4D23B1 #B12340
split-complementary
#87B123 #2340B1 #9423B1
monochromatic
#394B0F #607E19 #87B123 #A9D839 #BFE26C

Accessibility & contrast

On white

2.52
#87B123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#87B123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B123
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B123#FFFFFF#000000##000000
##87B1231.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B5A332
Tritanopia (blue-blind)
#8DA897
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #87b123;
/* rgb */ color: rgb(135, 177, 35);
/* oklch */ color: oklch(70.5% 0.167 125.6);
Tailwind
colors: {
  custom: {
    50: '#aec86b',
    500: '#87b123',
    950: '#000000',
  },
}
SCSS
$custom: #87b123;
$custom-light: #aec86b;
$custom-dark: #000000;
JSON
{
  "hex": "#87b123",
  "rgb": {
    "r": 135,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 77.746,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70477,
    "c": 0.1669,
    "h": 125.6
  },
  "luminance": 0.36717
}

Semantic roles & 50–950 ramp

primary
#87B123
secondary
#8468C8
accent
#3EEA71
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #87B123

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

Preview Lab → · Contrast checker → · Palette generator →

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