#87A238#87A238

#87A238 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 67.0% C 0.135 H 122.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#87A238
RGBrgb(135, 162, 56)
HSLhsl(75, 49%, 43%)
HSVhsv(75, 65%, 64%)
CMYKcmyk(16.7%, 0%, 65.4%, 36.5%)
CIE-LABlab(62.74, -25.02, 50.17)
CIE-LCHlch(62.74, 56.06, 116.50°)
OKLaboklab(67.02% -0.0724 0.1143)
OKLCHoklch(67.02% 0.135 122.3)
XYZxyz(23.6261, 31.2770, 8.5330)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A238 #5338A2
analogous
#A28838 #87A238 #52A238
triadic
#87A238 #3887A2 #A23887
tetradic
#87A238 #38A288 #5338A2 #A23852
square
#87A238 #38A288 #5338A2 #A23852
split-complementary
#87A238 #3852A2 #8838A2
monochromatic
#3B4719 #617528 #87A238 #A7C453 #BED381

Accessibility & contrast

On white

2.89
#87A238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#87A238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A238
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A238#FFFFFF#000000##000000
##87A2381.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#A89840
Tritanopia (blue-blind)
#8E9A8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a238;
/* rgb */ color: rgb(135, 162, 56);
/* oklch */ color: oklch(67.0% 0.135 122.3);
Tailwind
colors: {
  custom: {
    50: '#adbd74',
    500: '#87a238',
    950: '#000000',
  },
}
SCSS
$custom: #87a238;
$custom-light: #adbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#87a238",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 75.283,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67023,
    "c": 0.1353,
    "h": 122.3
  },
  "luminance": 0.31277
}

Semantic roles & 50–950 ramp

primary
#87A238
secondary
#8A79BD
accent
#50D872
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #87A238

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

Preview Lab → · Contrast checker → · Palette generator →

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