#87A235#87A235

#87A235 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 67.0% C 0.138 H 122.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#87A235
RGBrgb(135, 162, 53)
HSLhsl(75, 51%, 42%)
HSVhsv(75, 67%, 64%)
CMYKcmyk(16.7%, 0%, 67.3%, 36.5%)
CIE-LABlab(62.72, -25.23, 51.40)
CIE-LCHlch(62.72, 57.26, 116.15°)
OKLaboklab(67% -0.0733 0.1165)
OKLCHoklch(67% 0.138 122.2)
XYZxyz(23.5549, 31.2485, 8.1581)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A235 #5035A2
analogous
#A28635 #87A235 #51A235
triadic
#87A235 #3587A2 #A23587
tetradic
#87A235 #35A286 #5035A2 #A23551
square
#87A235 #35A286 #5035A2 #A23551
split-complementary
#87A235 #3551A2 #8635A2
monochromatic
#3A4617 #617426 #87A235 #A8C54F #BFD47D

Accessibility & contrast

On white

2.90
#87A235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#87A235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A235
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A235#FFFFFF#000000##000000
##87A2351.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a235;
/* rgb */ color: rgb(135, 162, 53);
/* oklch */ color: oklch(67.0% 0.138 122.2);
Tailwind
colors: {
  custom: {
    50: '#adbd72',
    500: '#87a235',
    950: '#000000',
  },
}
SCSS
$custom: #87a235;
$custom-light: #adbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#87a235",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 74.862,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66996,
    "c": 0.13759,
    "h": 122.2
  },
  "luminance": 0.31249
}

Semantic roles & 50–950 ramp

primary
#87A235
secondary
#8775BD
accent
#4EDA70
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A235

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

Preview Lab → · Contrast checker → · Palette generator →

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