Skip to content

#87b621

a dark, vivid green · warm · closest name: Yellow Green

RGB
135, 182, 33
HSL
79°, 69%, 42%
CMYK
26, 0, 82, 29
Luminance
0.3872

At a glance

Every number on this page in one read: what #87b621 is made of, how bright it looks, and which way it leans.

Hex
#87b621
Hue
79°
green
Saturation
69%
vivid
Lightness
42%
dark
Brightness
71%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3872
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.74:1
Closest name
Yellow Green
ΔE2000 6.1
Where it sits
Hue79° of 360°
Saturation69%
Lightness42%
Temperature
Warm ← → Cool41% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#87b621
RGBrgb(135, 182, 33)
HSLhsl(79, 69%, 42%)
CMYKcmyk(26%, 0%, 82%, 29%)
LABlab(68.5 -35.8 63.8)
LCHlch(68.5 73.2 119.3)
OKLCHoklch(0.717 0.174 126.6)
Decimal8893985
Display P3color(display-p3 0.529 0.714 0.129)

Copy-ready code

/* CSS */
color: #87b621;
background-color: #87b621;
/* Tailwind (arbitrary) */
class="text-[#87b621] bg-[#87b621]"
/* SCSS */
$brand: #87b621;
/* SwiftUI */
Color(red: 0.529, green: 0.714, blue: 0.129)
/* Android */
Color.parseColor("#87b621")
/* Flutter */
Color(0xFF87B621)
/* Python / OpenCV (BGR) */
(33, 182, 135)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #87b621 · 8.74:1
Use #000000AAA at every size.
Aa
White text · 2.40:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.74:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #87b621 as text scores 2.40:1 on white and 8.74:1 on black.

Accessibility — WCAG contrast

Aa
#87b621 on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#87b621 on black: 8.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C0A900
deuteranopia · #BAA632
tritanopia · #8DAD9B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #87b621 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FBF3
#F3F8E7
#E5F2CA
#D5EEA0
#C0E571
#ACDD41
#9ACF26
#87b621
#678A19
#4C6416
#2F3F0E
Base = 700Lightest = 50 · #F9FBF3Darkest = 950 · #2F3F0E
:root {
  --brand-50: #F9FBF3;
  --brand-100: #F3F8E7;
  --brand-200: #E5F2CA;
  --brand-300: #D5EEA0;
  --brand-400: #C0E571;
  --brand-500: #ACDD41;
  --brand-600: #9ACF26;
  --brand-700: #87b621;
  --brand-800: #678A19;
  --brand-900: #4C6416;
  --brand-950: #2F3F0E;
  --brand: #87b621;
  --brand-ink: #000000;
}

Colors that work with #87b621

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#DFEDC0
Hairlines and dividers
Muted text#829B4B
Captions on the surface
Accent#271DBA
Second voice, not a rival
Dark variant#506C14
Hover, pressed, headers
Light variant#F6FBE9
Selected rows, tints
Dark surface#1F2414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #87b621

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#5021B6
Analogous left#B69B21
Analogous right#3DB621
Split-complement 1#213DB6
Split-complement 2#9B21B6
Triadic 1#2187B6
Triadic 2#B62187
Tetradic#21B69B

RGB percentages

Red52.9%
Green71.4%
Blue12.9%

CMYK percentages

Cyan25.8%
Magenta0.0%
Yellow81.9%
Key (black)28.6%

Color previews

#87b621 text on a black background

contrast 8.74:1

Card sample

#87b621 text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #87b621;
Background color
Panel with #87b621 background
background-color: #87b621;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #87b621;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(135, 182, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(135, 182, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #87b621;
background: linear-gradient(135deg, #87b621, #24B621);

Monochromatic scale

Palettes built from #87b621

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#87b621 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#87b621, answered

What color is #87b621?

#87b621 is a dark vivid green, closest to Yellow Green (ΔE2000 6.1). It sits at 79° on the hue wheel with 69% saturation and 42% lightness, which reads as warm.

What is the RGB value of #87b621?

rgb(135, 182, 33) — 135 red, 182 green and 33 blue out of 255, or 52.9% / 71.4% / 12.9% by channel.

Is #87b621 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3872 and perceived brightness is 62%, so black text on it reaches 8.74:1.

Should I use black or white text on #87b621?

Black. It scores 8.74:1 against #87b621, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #87b621?

#5021B6 sits directly opposite on the wheel. Softer options are the split-complements #213DB6 and #9B21B6, which give the same contrast with far less vibration.

What colors go well with #87b621?

For interface work: #F8FAF4 as the surface, #DFEDC0 for borders, #829B4B for secondary text, #271DBA as an accent and #506C14 for hover and pressed states. For a palette, the analogous pair #B69B21 and #3DB621 stays calm, while #5021B6 is the loudest partner.

What is #87b621 in CMYK for printing?

cmyk(26%, 0%, 82%, 29%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #87b621 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B6AE21; nudged cooler, #50B81F.

Work with #87b621 in the Color Lab