#87A23E#87A23E

#87A23E is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 67.1% C 0.130 H 122.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#87A23E
RGBrgb(135, 162, 62)
HSLhsl(76, 45%, 44%)
HSVhsv(76, 62%, 64%)
CMYKcmyk(16.7%, 0%, 61.7%, 36.5%)
CIE-LABlab(62.79, -24.56, 47.61)
CIE-LCHlch(62.79, 53.57, 117.29°)
OKLaboklab(67.08% -0.0705 0.1097)
OKLCHoklch(67.08% 0.13 122.7)
XYZxyz(23.7817, 31.3393, 9.3527)
Luminance0.3134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A23E #593EA2
analogous
#A28B3E #87A23E #55A23E
triadic
#87A23E #3E87A2 #A23E87
tetradic
#87A23E #3EA28B #593EA2 #A23E55
square
#87A23E #3EA28B #593EA2 #A23E55
split-complementary
#87A23E #3E55A2 #8B3EA2
monochromatic
#3D491C #62762D #87A23E #A6C15C #BED289

Accessibility & contrast

On white

2.89
#87A23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#87A23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A23E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A23E#FFFFFF#000000##000000
##87A23E1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9932
Deuteranopia (green-blind)
#A79845
Tritanopia (blue-blind)
#8D9A8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a23e;
/* rgb */ color: rgb(135, 162, 62);
/* oklch */ color: oklch(67.1% 0.130 122.7);
Tailwind
colors: {
  custom: {
    50: '#acbd78',
    500: '#87a23e',
    950: '#000000',
  },
}
SCSS
$custom: #87a23e;
$custom-light: #acbd78;
$custom-dark: #000000;
JSON
{
  "hex": "#87a23e",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 76.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67082,
    "c": 0.13039,
    "h": 122.7
  },
  "luminance": 0.31339
}

Semantic roles & 50–950 ramp

primary
#87A23E
secondary
#9080BC
accent
#53D476
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #87A23E

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

Preview Lab → · Contrast checker → · Palette generator →

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