#87A81E#87A81E

#87A81E is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.3% C 0.158 H 123.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#87A81E
RGBrgb(135, 168, 30)
HSLhsl(74, 70%, 39%)
HSVhsv(74, 82%, 66%)
CMYKcmyk(19.6%, 0%, 82.1%, 34.1%)
CIE-LABlab(64.36, -29.36, 60.92)
CIE-LCHlch(64.36, 67.62, 115.73°)
OKLaboklab(68.28% -0.0865 0.1328)
OKLCHoklch(68.28% 0.158 123.1)
XYZxyz(24.2290, 33.2498, 6.3694)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A81E #3F1EA8
analogous
#A8841E #87A81E #42A81E
triadic
#87A81E #1E87A8 #A81E87
tetradic
#87A81E #1EA884 #3F1EA8 #A81E42
square
#87A81E #1EA884 #3F1EA8 #A81E42
split-complementary
#87A81E #1E42A8 #841EA8
monochromatic
#34400B #5D7415 #87A81E #AFD92A #C3E25E

Accessibility & contrast

On white

2.75
#87A81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#87A81E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A81E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A81E#FFFFFF#000000##000000
##87A81E1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#8E9F8F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #87a81e;
/* rgb */ color: rgb(135, 168, 30);
/* oklch */ color: oklch(68.3% 0.158 123.1);
Tailwind
colors: {
  custom: {
    50: '#aec268',
    500: '#87a81e',
    950: '#000000',
  },
}
SCSS
$custom: #87a81e;
$custom-light: #aec268;
$custom-dark: #000000;
JSON
{
  "hex": "#87a81e",
  "rgb": {
    "r": 135,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 74.348,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68282,
    "c": 0.15845,
    "h": 123.1
  },
  "luminance": 0.3325
}

Semantic roles & 50–950 ramp

primary
#87A81E
secondary
#755BC7
accent
#3BED66
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #87A81E

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

Preview Lab → · Contrast checker → · Palette generator →

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