#87AF2E#87AF2E

#87AF2E is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 70.1% C 0.159 H 125.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#87AF2E
RGBrgb(135, 175, 46)
HSLhsl(79, 58%, 43%)
HSVhsv(79, 74%, 69%)
CMYKcmyk(22.9%, 0%, 73.7%, 31.4%)
CIE-LABlab(66.53, -31.91, 57.91)
CIE-LCHlch(66.53, 66.12, 118.86°)
OKLaboklab(70.06% -0.0923 0.1291)
OKLCHoklch(70.06% 0.159 125.6)
XYZxyz(25.8150, 36.0077, 8.1744)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AF2E #562EAF
analogous
#AF962E #87AF2E #46AF2E
triadic
#87AF2E #2E87AF #AF2E87
tetradic
#87AF2E #2EAF96 #562EAF #AF2E46
square
#87AF2E #2EAF96 #562EAF #AF2E46
split-complementary
#87AF2E #2E46AF #962EAF
monochromatic
#3C4E15 #627F21 #87AF2E #A6D04B #BEDC7B

Accessibility & contrast

On white

2.56
#87AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#87AF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AF2E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AF2E#FFFFFF#000000##000000
##87AF2E1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A314
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#8DA796
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87af2e;
/* rgb */ color: rgb(135, 175, 46);
/* oklch */ color: oklch(70.1% 0.159 125.6);
Tailwind
colors: {
  custom: {
    50: '#aec770',
    500: '#87af2e',
    950: '#000000',
  },
}
SCSS
$custom: #87af2e;
$custom-light: #aec770;
$custom-dark: #000000;
JSON
{
  "hex": "#87af2e",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 78.605,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70059,
    "c": 0.15864,
    "h": 125.6
  },
  "luminance": 0.36008
}

Semantic roles & 50–950 ramp

primary
#87AF2E
secondary
#8D74C5
accent
#46E276
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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