#87AF4E#87AF4E

#87AF4E is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.4% C 0.134 H 128.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#87AF4E
RGBrgb(135, 175, 78)
HSLhsl(85, 38%, 50%)
HSVhsv(85, 55%, 69%)
CMYKcmyk(22.9%, 0%, 55.4%, 31.4%)
CIE-LABlab(66.79, -29.42, 44.73)
CIE-LCHlch(66.79, 53.54, 123.34°)
OKLaboklab(70.36% -0.0826 0.1053)
OKLCHoklch(70.36% 0.134 128.1)
XYZxyz(26.6967, 36.3604, 12.8180)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF4E #764EAF
analogous
#AFA74E #87AF4E #57AF4E
triadic
#87AF4E #4E87AF #AF4E87
tetradic
#87AF4E #4EAFA7 #764EAF #AF4E57
square
#87AF4E #4EAFA7 #764EAF #AF4E57
split-complementary
#87AF4E #4E57AF #A74EAF
monochromatic
#465A28 #66853B #87AF4E #A4C378 #C0D6A2

Accessibility & contrast

On white

2.54
#87AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#87AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF4E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF4E#FFFFFF#000000##000000
##87AF4E1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A444
Deuteranopia (green-blind)
#B1A254
Tritanopia (blue-blind)
#8BA899
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af4e;
/* rgb */ color: rgb(135, 175, 78);
/* oklch */ color: oklch(70.4% 0.134 128.1);
Tailwind
colors: {
  custom: {
    50: '#acc782',
    500: '#87af4e',
    950: '#000000',
  },
}
SCSS
$custom: #87af4e;
$custom-light: #acc782;
$custom-dark: #000000;
JSON
{
  "hex": "#87af4e",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 84.742,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70363,
    "c": 0.1338,
    "h": 128.1
  },
  "luminance": 0.36361
}

Semantic roles & 50–950 ramp

primary
#87AF4E
secondary
#A996C3
accent
#5ACE8A
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #87AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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