#87B02F#87B02F

#87B02F is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.3% C 0.159 H 125.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#87B02F
RGBrgb(135, 176, 47)
HSLhsl(79, 58%, 44%)
HSVhsv(79, 73%, 69%)
CMYKcmyk(23.3%, 0%, 73.3%, 31%)
CIE-LABlab(66.83, -32.32, 57.86)
CIE-LCHlch(66.83, 66.27, 119.19°)
OKLaboklab(70.31% -0.0933 0.1291)
OKLCHoklch(70.31% 0.159 125.9)
XYZxyz(26.0302, 36.4064, 8.3445)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B02F #582FB0
analogous
#B0982F #87B02F #46B02F
triadic
#87B02F #2F87B0 #B02F87
tetradic
#87B02F #2FB098 #582FB0 #B02F46
square
#87B02F #2FB098 #582FB0 #B02F46
split-complementary
#87B02F #2F46B0 #982FB0
monochromatic
#3D4F15 #628022 #87B02F #A6CF4D #BEDC7D

Accessibility & contrast

On white

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

On black

8.28
#87B02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B02F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B02F#FFFFFF#000000##000000
##87B02F1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87b02f;
/* rgb */ color: rgb(135, 176, 47);
/* oklch */ color: oklch(70.3% 0.159 125.9);
Tailwind
colors: {
  custom: {
    50: '#aec771',
    500: '#87b02f',
    950: '#000000',
  },
}
SCSS
$custom: #87b02f;
$custom-light: #aec771;
$custom-dark: #000000;
JSON
{
  "hex": "#87b02f",
  "rgb": {
    "r": 135,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 79.07,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70307,
    "c": 0.15928,
    "h": 125.9
  },
  "luminance": 0.36407
}

Semantic roles & 50–950 ramp

primary
#87B02F
secondary
#8F76C5
accent
#47E178
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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