#87B438#87B438

#87B438 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.3% C 0.158 H 127.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#87B438
RGBrgb(135, 180, 56)
HSLhsl(82, 53%, 46%)
HSVhsv(82, 69%, 71%)
CMYKcmyk(25%, 0%, 68.9%, 29.4%)
CIE-LABlab(68.08, -33.61, 55.74)
CIE-LCHlch(68.08, 65.09, 121.09°)
OKLaboklab(71.34% -0.0961 0.126)
OKLCHoklch(71.34% 0.158 127.3)
XYZxyz(27.0268, 38.0784, 9.6666)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B438 #6538B4
analogous
#B4A338 #87B438 #49B438
triadic
#87B438 #3887B4 #B43887
tetradic
#87B438 #38B4A3 #6538B4 #B43849
square
#87B438 #38B4A3 #6538B4 #B43849
split-complementary
#87B438 #3849B4 #A338B4
monochromatic
#41571B #648529 #87B438 #A4CD5D #BEDB8B

Accessibility & contrast

On white

2.44
#87B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#87B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B438
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B438#FFFFFF#000000##000000
##87B4381.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#B7A542
Tritanopia (blue-blind)
#8CAC9B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87b438;
/* rgb */ color: rgb(135, 180, 56);
/* oklch */ color: oklch(71.3% 0.158 127.3);
Tailwind
colors: {
  custom: {
    50: '#adca76',
    500: '#87b438',
    950: '#000000',
  },
}
SCSS
$custom: #87b438;
$custom-light: #adca76;
$custom-dark: #000000;
JSON
{
  "hex": "#87b438",
  "rgb": {
    "r": 135,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 81.774,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71339,
    "c": 0.15848,
    "h": 127.3
  },
  "luminance": 0.38079
}

Semantic roles & 50–950 ramp

primary
#87B438
secondary
#9B82C5
accent
#4CDC80
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #87B438

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

Preview Lab → · Contrast checker → · Palette generator →

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