#87A42E#87A42E

#87A42E is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.4% C 0.145 H 122.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#87A42E
RGBrgb(135, 164, 46)
HSLhsl(75, 56%, 41%)
HSVhsv(75, 72%, 64%)
CMYKcmyk(17.7%, 0%, 72%, 35.7%)
CIE-LABlab(63.26, -26.66, 54.71)
CIE-LCHlch(63.26, 60.86, 115.98°)
OKLaboklab(67.42% -0.0778 0.1223)
OKLCHoklch(67.42% 0.145 122.5)
XYZxyz(23.7606, 31.8990, 7.4896)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A42E #4B2EA4
analogous
#A4862E #87A42E #4CA42E
triadic
#87A42E #2E87A4 #A42E87
tetradic
#87A42E #2EA486 #4B2EA4 #A42E4C
square
#87A42E #2EA486 #4B2EA4 #A42E4C
split-complementary
#87A42E #2E4CA4 #862EA4
monochromatic
#384413 #607421 #87A42E #AACB45 #C0D874

Accessibility & contrast

On white

2.85
#87A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#87A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A42E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A42E#FFFFFF#000000##000000
##87A42E1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A19
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#8E9C8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a42e;
/* rgb */ color: rgb(135, 164, 46);
/* oklch */ color: oklch(67.4% 0.145 122.5);
Tailwind
colors: {
  custom: {
    50: '#adbf6f',
    500: '#87a42e',
    950: '#000000',
  },
}
SCSS
$custom: #87a42e;
$custom-light: #adbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a42e",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 74.746,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67418,
    "c": 0.14499,
    "h": 122.5
  },
  "luminance": 0.31899
}

Semantic roles & 50–950 ramp

primary
#87A42E
secondary
#826EC0
accent
#48DF6D
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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