#87A231#87A231

#87A231 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 67.0% C 0.140 H 122.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#87A231
RGBrgb(135, 162, 49)
HSLhsl(74, 54%, 41%)
HSVhsv(74, 70%, 64%)
CMYKcmyk(16.7%, 0%, 69.8%, 36.5%)
CIE-LABlab(62.69, -25.50, 52.98)
CIE-LCHlch(62.69, 58.80, 115.70°)
OKLaboklab(66.96% -0.0744 0.1192)
OKLCHoklch(66.96% 0.14 122)
XYZxyz(23.4667, 31.2133, 7.6936)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A231 #4C31A2
analogous
#A28531 #87A231 #4FA231
triadic
#87A231 #3187A2 #A23187
tetradic
#87A231 #31A285 #4C31A2 #A2314F
square
#87A231 #31A285 #4C31A2 #A2314F
split-complementary
#87A231 #314FA2 #8531A2
monochromatic
#394415 #607323 #87A231 #A9C848 #BFD677

Accessibility & contrast

On white

2.90
#87A231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#87A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A231
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A231#FFFFFF#000000##000000
##87A2311.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981F
Deuteranopia (green-blind)
#A8983A
Tritanopia (blue-blind)
#8E9A8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a231;
/* rgb */ color: rgb(135, 162, 49);
/* oklch */ color: oklch(67.0% 0.140 122.0);
Tailwind
colors: {
  custom: {
    50: '#adbd70',
    500: '#87a231',
    950: '#000000',
  },
}
SCSS
$custom: #87a231;
$custom-light: #adbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#87a231",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 74.336,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.14048,
    "h": 122
  },
  "luminance": 0.31213
}

Semantic roles & 50–950 ramp

primary
#87A231
secondary
#8371BE
accent
#4BDD6E
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A231

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

Preview Lab → · Contrast checker → · Palette generator →

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