#87A230#87A230

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

Color values

HEX#87A230
RGBrgb(135, 162, 48)
HSLhsl(74, 54%, 41%)
HSVhsv(74, 70%, 64%)
CMYKcmyk(16.7%, 0%, 70.4%, 36.5%)
CIE-LABlab(62.68, -25.56, 53.37)
CIE-LCHlch(62.68, 59.17, 115.59°)
OKLaboklab(66.96% -0.0746 0.1198)
OKLCHoklch(66.96% 0.141 121.9)
XYZxyz(23.4458, 31.2049, 7.5837)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A230 #4B30A2
analogous
#A28430 #87A230 #4EA230
triadic
#87A230 #3087A2 #A23087
tetradic
#87A230 #30A284 #4B30A2 #A2304E
square
#87A230 #30A284 #4B30A2 #A2304E
split-complementary
#87A230 #304EA2 #8430A2
monochromatic
#384414 #607322 #87A230 #AAC847 #C0D676

Accessibility & contrast

On white

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

On black

7.24
#87A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A230
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A230#FFFFFF#000000##000000
##87A2301.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981E
Deuteranopia (green-blind)
#A89839
Tritanopia (blue-blind)
#8E9A8B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #87a230;
/* rgb */ color: rgb(135, 162, 48);
/* oklch */ color: oklch(67.0% 0.141 121.9);
Tailwind
colors: {
  custom: {
    50: '#adbd6f',
    500: '#87a230',
    950: '#000000',
  },
}
SCSS
$custom: #87a230;
$custom-light: #adbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#87a230",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 74.211,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66955,
    "c": 0.14117,
    "h": 121.9
  },
  "luminance": 0.31205
}

Semantic roles & 50–950 ramp

primary
#87A230
secondary
#826FBE
accent
#4ADE6D
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #87A230

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

Preview Lab → · Contrast checker → · Palette generator →

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