#87A331#87A331

#87A331 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.2% C 0.142 H 122.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#87A331
RGBrgb(135, 163, 49)
HSLhsl(75, 54%, 42%)
HSVhsv(75, 70%, 64%)
CMYKcmyk(17.2%, 0%, 69.9%, 36.1%)
CIE-LABlab(62.98, -25.99, 53.28)
CIE-LCHlch(62.98, 59.28, 116.00°)
OKLaboklab(67.2% -0.0757 0.1198)
OKLCHoklch(67.2% 0.142 122.3)
XYZxyz(23.6435, 31.5670, 7.7526)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A331 #4D31A3
analogous
#A38631 #87A331 #4EA331
triadic
#87A331 #3187A3 #A33187
tetradic
#87A331 #31A386 #4D31A3 #A3314E
square
#87A331 #31A386 #4D31A3 #A3314E
split-complementary
#87A331 #314EA3 #8631A3
monochromatic
#394515 #607423 #87A331 #A9C849 #BFD678

Accessibility & contrast

On white

2.87
#87A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#87A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A331
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A331#FFFFFF#000000##000000
##87A3311.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991F
Deuteranopia (green-blind)
#A9983A
Tritanopia (blue-blind)
#8E9B8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a331;
/* rgb */ color: rgb(135, 163, 49);
/* oklch */ color: oklch(67.2% 0.142 122.3);
Tailwind
colors: {
  custom: {
    50: '#adbe70',
    500: '#87a331',
    950: '#000000',
  },
}
SCSS
$custom: #87a331;
$custom-light: #adbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#87a331",
  "rgb": {
    "r": 135,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 74.737,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67201,
    "c": 0.14173,
    "h": 122.3
  },
  "luminance": 0.31567
}

Semantic roles & 50–950 ramp

primary
#87A331
secondary
#8471BF
accent
#4BDD6F
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A331

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

Preview Lab → · Contrast checker → · Palette generator →

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