#87A627#87A627

#87A627 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.8% C 0.152 H 122.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#87A627
RGBrgb(135, 166, 39)
HSLhsl(75, 62%, 40%)
HSVhsv(75, 77%, 65%)
CMYKcmyk(18.7%, 0%, 76.5%, 34.9%)
CIE-LABlab(63.81, -28.01, 57.71)
CIE-LCHlch(63.81, 64.15, 115.89°)
OKLaboklab(67.85% -0.0821 0.1275)
OKLCHoklch(67.85% 0.152 122.8)
XYZxyz(23.9944, 32.5697, 6.9416)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A627 #4627A6
analogous
#A68627 #87A627 #47A627
triadic
#87A627 #2787A6 #A62787
tetradic
#87A627 #27A686 #4627A6 #A62747
square
#87A627 #27A686 #4627A6 #A62747
split-complementary
#87A627 #2747A6 #8627A6
monochromatic
#364310 #5F741B #87A627 #ACD13A #C1DC6B

Accessibility & contrast

On white

2.79
#87A627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#87A627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A627
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A627#FFFFFF#000000##000000
##87A6271.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B07
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#8E9D8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #87a627;
/* rgb */ color: rgb(135, 166, 39);
/* oklch */ color: oklch(67.8% 0.152 122.8);
Tailwind
colors: {
  custom: {
    50: '#aec06b',
    500: '#87a627',
    950: '#000000',
  },
}
SCSS
$custom: #87a627;
$custom-light: #aec06b;
$custom-dark: #000000;
JSON
{
  "hex": "#87a627",
  "rgb": {
    "r": 135,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 74.646,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.15164,
    "h": 122.8
  },
  "luminance": 0.3257
}

Semantic roles & 50–950 ramp

primary
#87A627
secondary
#7D66C3
accent
#43E56A
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A627

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

Preview Lab → · Contrast checker → · Palette generator →

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