#87A338#87A338

#87A338 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.3% C 0.137 H 122.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#87A338
RGBrgb(135, 163, 56)
HSLhsl(76, 49%, 43%)
HSVhsv(76, 66%, 64%)
CMYKcmyk(17.2%, 0%, 65.6%, 36.1%)
CIE-LABlab(63.04, -25.51, 50.49)
CIE-LCHlch(63.04, 56.57, 116.81°)
OKLaboklab(67.26% -0.0737 0.115)
OKLCHoklch(67.26% 0.137 122.7)
XYZxyz(23.8029, 31.6307, 8.5920)
Luminance0.3163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A338 #5438A3
analogous
#A38938 #87A338 #51A338
triadic
#87A338 #3887A3 #A33887
tetradic
#87A338 #38A389 #5438A3 #A33851
square
#87A338 #38A389 #5438A3 #A33851
split-complementary
#87A338 #3851A3 #8938A3
monochromatic
#3C4819 #617528 #87A338 #A7C454 #BED482

Accessibility & contrast

On white

2.87
#87A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#87A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A338
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A338#FFFFFF#000000##000000
##87A3381.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#A99840
Tritanopia (blue-blind)
#8E9B8D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #87a338;
/* rgb */ color: rgb(135, 163, 56);
/* oklch */ color: oklch(67.3% 0.137 122.7);
Tailwind
colors: {
  custom: {
    50: '#adbe74',
    500: '#87a338',
    950: '#000000',
  },
}
SCSS
$custom: #87a338;
$custom-light: #adbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#87a338",
  "rgb": {
    "r": 135,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 75.701,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67261,
    "c": 0.13659,
    "h": 122.7
  },
  "luminance": 0.31631
}

Semantic roles & 50–950 ramp

primary
#87A338
secondary
#8B79BD
accent
#4FD873
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #87A338

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

Preview Lab → · Contrast checker → · Palette generator →

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