#87A42D#87A42D

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

Color values

HEX#87A42D
RGBrgb(135, 164, 45)
HSLhsl(75, 57%, 41%)
HSVhsv(75, 73%, 64%)
CMYKcmyk(17.7%, 0%, 72.6%, 35.7%)
CIE-LABlab(63.25, -26.72, 55.07)
CIE-LCHlch(63.25, 61.21, 115.88°)
OKLaboklab(67.41% -0.0781 0.1229)
OKLCHoklch(67.41% 0.146 122.4)
XYZxyz(23.7411, 31.8912, 7.3870)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A42D #4A2DA4
analogous
#A4852D #87A42D #4BA42D
triadic
#87A42D #2D87A4 #A42D87
tetradic
#87A42D #2DA485 #4A2DA4 #A42D4B
square
#87A42D #2DA485 #4A2DA4 #A42D4B
split-complementary
#87A42D #2D4BA4 #852DA4
monochromatic
#384413 #5F7420 #87A42D #AACB43 #C0D973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87A42D#FFFFFF#000000##000000
##87A42D1.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)
#AE9A17
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#8E9C8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a42d;
/* rgb */ color: rgb(135, 164, 45);
/* oklch */ color: oklch(67.4% 0.146 122.4);
Tailwind
colors: {
  custom: {
    50: '#adbf6e',
    500: '#87a42d',
    950: '#000000',
  },
}
SCSS
$custom: #87a42d;
$custom-light: #adbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#87a42d",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 74.622,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6741,
    "c": 0.14564,
    "h": 122.4
  },
  "luminance": 0.31891
}

Semantic roles & 50–950 ramp

primary
#87A42D
secondary
#816DC0
accent
#48E06D
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #87A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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