#87AF5E#87AF5E

#87AF5E is a light, moderate yellow-green. Relative luminance 0.366; OKLCH L 70.6% C 0.118 H 130.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#87AF5E
RGBrgb(135, 175, 94)
HSLhsl(90, 34%, 53%)
HSVhsv(90, 46%, 69%)
CMYKcmyk(22.9%, 0%, 46.3%, 31.4%)
CIE-LABlab(66.99, -27.65, 37.08)
CIE-LCHlch(66.99, 46.25, 126.71°)
OKLaboklab(70.58% -0.0764 0.0896)
OKLCHoklch(70.58% 0.118 130.4)
XYZxyz(27.3417, 36.6184, 16.2151)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF5E #865EAF
analogous
#AFAF5E #87AF5E #5EAF5E
triadic
#87AF5E #5E87AF #AF5E87
tetradic
#87AF5E #5EAFAF #865EAF #AF5E5E
square
#87AF5E #5EAFAF #865EAF #AF5E5E
split-complementary
#87AF5E #5E5EAF #AF5EAF
monochromatic
#4A6231 #688B45 #87AF5E #A5C387 #C4D8B0

Accessibility & contrast

On white

2.52
#87AF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#87AF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF5E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF5E#FFFFFF#000000##000000
##87AF5E1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A557
Deuteranopia (green-blind)
#B0A263
Tritanopia (blue-blind)
#89A99C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #87af5e;
/* rgb */ color: rgb(135, 175, 94);
/* oklch */ color: oklch(70.6% 0.118 130.4);
Tailwind
colors: {
  custom: {
    50: '#abc78d',
    500: '#87af5e',
    950: '#000000',
  },
}
SCSS
$custom: #87af5e;
$custom-light: #abc78d;
$custom-dark: #000000;
JSON
{
  "hex": "#87af5e",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 94
  },
  "hsl": {
    "h": 89.63,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.70584,
    "c": 0.11779,
    "h": 130.4
  },
  "luminance": 0.36619
}

Semantic roles & 50–950 ramp

primary
#87AF5E
secondary
#B4A3C6
accent
#5ECA93
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #87AF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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