#87B22F#87B22F

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

Color values

HEX#87B22F
RGBrgb(135, 178, 47)
HSLhsl(80, 58%, 44%)
HSVhsv(80, 74%, 70%)
CMYKcmyk(24.2%, 0%, 73.6%, 30.2%)
CIE-LABlab(67.42, -33.25, 58.44)
CIE-LCHlch(67.42, 67.24, 119.64°)
OKLaboklab(70.79% -0.0958 0.1303)
OKLCHoklch(70.79% 0.162 126.3)
XYZxyz(26.4253, 37.1965, 8.4762)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B22F #5A2FB2
analogous
#B29C2F #87B22F #45B22F
triadic
#87B22F #2F87B2 #B22F87
tetradic
#87B22F #2FB29C #5A2FB2 #B22F45
square
#87B22F #2FB29C #5A2FB2 #B22F45
split-complementary
#87B22F #2F45B2 #9C2FB2
monochromatic
#3E5115 #628222 #87B22F #A5D04E #BEDD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87B22F#FFFFFF#000000##000000
##87B22F1.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)
#BBA615
Deuteranopia (green-blind)
#B6A33B
Tritanopia (blue-blind)
#8DAA99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87b22f;
/* rgb */ color: rgb(135, 178, 47);
/* oklch */ color: oklch(70.8% 0.162 126.3);
Tailwind
colors: {
  custom: {
    50: '#aec971',
    500: '#87b22f',
    950: '#000000',
  },
}
SCSS
$custom: #87b22f;
$custom-light: #aec971;
$custom-dark: #000000;
JSON
{
  "hex": "#87b22f",
  "rgb": {
    "r": 135,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 79.695,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70789,
    "c": 0.16176,
    "h": 126.3
  },
  "luminance": 0.37197
}

Semantic roles & 50–950 ramp

primary
#87B22F
secondary
#9177C6
accent
#46E179
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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