#87B330#87B330

#87B330 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.0% C 0.162 H 126.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#87B330
RGBrgb(135, 179, 48)
HSLhsl(80, 58%, 45%)
HSVhsv(80, 73%, 70%)
CMYKcmyk(24.6%, 0%, 73.2%, 29.8%)
CIE-LABlab(67.73, -33.66, 58.38)
CIE-LCHlch(67.73, 67.39, 119.96°)
OKLaboklab(71.04% -0.0969 0.1304)
OKLCHoklch(71.04% 0.162 126.6)
XYZxyz(26.6454, 37.6040, 8.6502)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87B330 #5C30B3
analogous
#B39E30 #87B330 #45B330
triadic
#87B330 #3087B3 #B33087
tetradic
#87B330 #30B39E #5C30B3 #B33045
square
#87B330 #30B39E #5C30B3 #B33045
split-complementary
#87B330 #3045B3 #9E30B3
monochromatic
#3E5216 #638323 #87B330 #A5D050 #BEDD80

Accessibility & contrast

On white

2.46
#87B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#87B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87B330
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87B330#FFFFFF#000000##000000
##87B3301.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA717
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#8DAB9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87b330;
/* rgb */ color: rgb(135, 179, 48);
/* oklch */ color: oklch(71.0% 0.162 126.6);
Tailwind
colors: {
  custom: {
    50: '#aeca71',
    500: '#87b330',
    950: '#000000',
  },
}
SCSS
$custom: #87b330;
$custom-light: #aeca71;
$custom-dark: #000000;
JSON
{
  "hex": "#87b330",
  "rgb": {
    "r": 135,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 80.153,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71037,
    "c": 0.1624,
    "h": 126.6
  },
  "luminance": 0.37604
}

Semantic roles & 50–950 ramp

primary
#87B330
secondary
#9379C6
accent
#47E17B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #87B330

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

Preview Lab → · Contrast checker → · Palette generator →

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