#87A023#87A023

#87A023 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.4% C 0.147 H 120.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#87A023
RGBrgb(135, 160, 35)
HSLhsl(72, 64%, 38%)
HSVhsv(72, 78%, 63%)
CMYKcmyk(15.6%, 0%, 78.1%, 37.3%)
CIE-LABlab(62.01, -25.28, 57.33)
CIE-LCHlch(62.01, 62.65, 113.79°)
OKLaboklab(66.39% -0.075 0.126)
OKLCHoklch(66.39% 0.147 120.8)
XYZxyz(22.8663, 30.4139, 6.2556)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A023 #3C23A0
analogous
#A07A23 #87A023 #48A023
triadic
#87A023 #2387A0 #A02387
tetradic
#87A023 #23A07A #3C23A0 #A02348
square
#87A023 #23A07A #3C23A0 #A02348
split-complementary
#87A023 #2348A0 #7A23A0
monochromatic
#323C0D #5D6E18 #87A023 #B1D12F #C4DC61

Accessibility & contrast

On white

2.96
#87A023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#87A023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A023
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A023#FFFFFF#000000##000000
##87A0231.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#8F9789
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #87a023;
/* rgb */ color: rgb(135, 160, 35);
/* oklch */ color: oklch(66.4% 0.147 120.8);
Tailwind
colors: {
  custom: {
    50: '#adbc69',
    500: '#87a023',
    950: '#000000',
  },
}
SCSS
$custom: #87a023;
$custom-light: #adbc69;
$custom-dark: #000000;
JSON
{
  "hex": "#87a023",
  "rgb": {
    "r": 135,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 72,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66389,
    "c": 0.1466,
    "h": 120.8
  },
  "luminance": 0.30414
}

Semantic roles & 50–950 ramp

primary
#87A023
secondary
#715DC1
accent
#41E762
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A023

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

Preview Lab → · Contrast checker → · Palette generator →

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