#87A82A#87A82A

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

Color values

HEX#87A82A
RGBrgb(135, 168, 42)
HSLhsl(76, 60%, 41%)
HSVhsv(76, 75%, 66%)
CMYKcmyk(19.6%, 0%, 75%, 34.1%)
CIE-LABlab(64.42, -28.82, 57.28)
CIE-LCHlch(64.42, 64.12, 116.71°)
OKLaboklab(68.35% -0.0841 0.1271)
OKLCHoklch(68.35% 0.152 123.5)
XYZxyz(24.4125, 33.3232, 7.3359)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A82A #4B2AA8
analogous
#A88A2A #87A82A #48A82A
triadic
#87A82A #2A87A8 #A82A87
tetradic
#87A82A #2AA88A #4B2AA8 #A82A48
square
#87A82A #2AA88A #4B2AA8 #A82A48
split-complementary
#87A82A #2A48A8 #8A2AA8
monochromatic
#384612 #60771E #87A82A #AACF40 #C0DB71

Accessibility & contrast

On white

2.74
#87A82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#87A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A82A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A82A#FFFFFF#000000##000000
##87A82A1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0E
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#8E9F90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #87a82a;
/* rgb */ color: rgb(135, 168, 42);
/* oklch */ color: oklch(68.3% 0.152 123.5);
Tailwind
colors: {
  custom: {
    50: '#adc26d',
    500: '#87a82a',
    950: '#000000',
  },
}
SCSS
$custom: #87a82a;
$custom-light: #adc26d;
$custom-dark: #000000;
JSON
{
  "hex": "#87a82a",
  "rgb": {
    "r": 135,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 75.714,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68349,
    "c": 0.15238,
    "h": 123.5
  },
  "luminance": 0.33323
}

Semantic roles & 50–950 ramp

primary
#87A82A
secondary
#826BC3
accent
#45E36E
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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