#87B938#87B938

#87B938 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.5% C 0.165 H 128.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#87B938
RGBrgb(135, 185, 56)
HSLhsl(83, 54%, 47%)
HSVhsv(83, 70%, 73%)
CMYKcmyk(27%, 0%, 69.7%, 27.5%)
CIE-LABlab(69.56, -35.91, 57.26)
CIE-LCHlch(69.56, 67.59, 122.09°)
OKLaboklab(72.55% -0.1023 0.1292)
OKLCHoklch(72.55% 0.165 128.4)
XYZxyz(28.0544, 40.1337, 10.0091)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B938 #6A38B9
analogous
#B9AB38 #87B938 #46B938
triadic
#87B938 #3887B9 #B93887
tetradic
#87B938 #38B9AB #6A38B9 #B93846
square
#87B938 #38B9AB #6A38B9 #B93846
split-complementary
#87B938 #3846B9 #AB38B9
monochromatic
#425B1C #658A2A #87B938 #A4CF5F #BFDD8E

Accessibility & contrast

On white

2.33
#87B938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#87B938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B938
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B938#FFFFFF#000000##000000
##87B9381.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC24
Deuteranopia (green-blind)
#BBA943
Tritanopia (blue-blind)
#8BB19F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #87b938;
/* rgb */ color: rgb(135, 185, 56);
/* oklch */ color: oklch(72.5% 0.165 128.4);
Tailwind
colors: {
  custom: {
    50: '#aece76',
    500: '#87b938',
    950: '#000000',
  },
}
SCSS
$custom: #87b938;
$custom-light: #aece76;
$custom-dark: #000000;
JSON
{
  "hex": "#87b938",
  "rgb": {
    "r": 135,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 83.256,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72545,
    "c": 0.16484,
    "h": 128.4
  },
  "luminance": 0.40134
}

Semantic roles & 50–950 ramp

primary
#87B938
secondary
#9F85C8
accent
#4BDD83
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B938

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

Preview Lab → · Contrast checker → · Palette generator →

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