#87A229#87A229

#87A229 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.9% C 0.146 H 121.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#87A229
RGBrgb(135, 162, 41)
HSLhsl(73, 60%, 40%)
HSVhsv(73, 75%, 64%)
CMYKcmyk(16.7%, 0%, 74.7%, 36.5%)
CIE-LABlab(62.64, -25.96, 55.91)
CIE-LCHlch(62.64, 61.64, 114.91°)
OKLaboklab(66.9% -0.0764 0.124)
OKLCHoklch(66.9% 0.146 121.6)
XYZxyz(23.3126, 31.1516, 6.8821)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A229 #4429A2
analogous
#A28029 #87A229 #4BA229
triadic
#87A229 #2987A2 #A22987
tetradic
#87A229 #29A280 #4429A2 #A2294B
square
#87A229 #29A280 #4429A2 #A2294B
split-complementary
#87A229 #294BA2 #8029A2
monochromatic
#364010 #5E711D #87A229 #ADCD3B #C1DA6C

Accessibility & contrast

On white

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

On black

7.23
#87A229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A229
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A229#FFFFFF#000000##000000
##87A2291.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9810
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#8E998B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #87a229;
/* rgb */ color: rgb(135, 162, 41);
/* oklch */ color: oklch(66.9% 0.146 121.6);
Tailwind
colors: {
  custom: {
    50: '#adbd6c',
    500: '#87a229',
    950: '#000000',
  },
}
SCSS
$custom: #87a229;
$custom-light: #adbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#87a229",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 73.388,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66904,
    "c": 0.14564,
    "h": 121.6
  },
  "luminance": 0.31152
}

Semantic roles & 50–950 ramp

primary
#87A229
secondary
#7B67C0
accent
#45E368
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #87A229

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

Preview Lab → · Contrast checker → · Palette generator →

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