Skip to content

#487a21

a dark, vivid green · neutral · closest name: Green

RGB
72, 122, 33
HSL
94°, 57%, 30%
CMYK
41, 0, 73, 52
Luminance
0.1541

At a glance

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

Hex
#487a21
Hue
94°
green
Saturation
57%
vivid
Lightness
30%
dark
Brightness
48%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1541
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.15:1
Closest name
Green
ΔE2000 6.2
Where it sits
Hue94° of 360°
Saturation57%
Lightness30%
Temperature
Warm ← → Cool52% cool

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

Every format

HEX#487a21
RGBrgb(72, 122, 33)
HSLhsl(94, 57%, 30%)
CMYKcmyk(41%, 0%, 73%, 52%)
LABlab(46.2 -32.7 41.3)
LCHlch(46.2 52.7 128.4)
OKLCHoklch(0.525 0.131 134.4)
Decimal4749857
Display P3color(display-p3 0.282 0.478 0.129)

Copy-ready code

/* CSS */
color: #487a21;
background-color: #487a21;
/* Tailwind (arbitrary) */
class="text-[#487a21] bg-[#487a21]"
/* SCSS */
$brand: #487a21;
/* SwiftUI */
Color(red: 0.282, green: 0.478, blue: 0.129)
/* Android */
Color.parseColor("#487a21")
/* Flutter */
Color(0xFF487A21)
/* Python / OpenCV (BGR) */
(33, 122, 72)

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#ffffff on #487a21 · 5.15:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.15:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.08:1
AA fail · AA large pass · AAA fail
Reading the other direction: #487a21 as text scores 5.15:1 on white and 4.08:1 on black.

Accessibility — WCAG contrast

Aa
#487a21 on white: 5.15:1
AA ✓ pass · AA-large · AAA
Aa
#487a21 on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7F7013
deuteranopia · #786C29
tritanopia · #477568

Color scale — 50 to 950

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

#F7FBF4
#EFF7E9
#DCEFCD
#C3E7A7
#A5DB7B
#87CF4E
#72C134
#5FA12B
#487a21
#395E1D
#243A12
Base = 800Lightest = 50 · #F7FBF4Darkest = 950 · #243A12
:root {
  --brand-50: #F7FBF4;
  --brand-100: #EFF7E9;
  --brand-200: #DCEFCD;
  --brand-300: #C3E7A7;
  --brand-400: #A5DB7B;
  --brand-500: #87CF4E;
  --brand-600: #72C134;
  --brand-700: #5FA12B;
  --brand-800: #487a21;
  --brand-900: #395E1D;
  --brand-950: #243A12;
  --brand: #487a21;
  --brand-ink: #ffffff;
}

Colors that work with #487a21

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

Text on it#ffffff
White wins here
Surface#F7FAF4
Tinted page background
Border#D3EDC0
Hairlines and dividers
Muted text#6E9B4B
Captions on the surface
Accent#3C1E7D
Second voice, not a rival
Dark variant#3B641B
Hover, pressed, headers
Light variant#F1FAEB
Selected rows, tints
Dark surface#1B2414
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 #487a21

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

Works well for
  • Body text and links on white
  • 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
  • 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#53217A
Analogous left#757A21
Analogous right#217A27
Split-complement 1#27217A
Split-complement 2#7A2175
Triadic 1#21487A
Triadic 2#7A2148
Tetradic#21757A

RGB percentages

Red28.2%
Green47.8%
Blue12.9%

CMYK percentages

Cyan41.0%
Magenta0.0%
Yellow73.0%
Key (black)52.2%

Color previews

#487a21 text on a black background

contrast 4.08:1

Card sample

#487a21 text on a white background

contrast 5.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #487a21;
Background color
Panel with #487a21 background
background-color: #487a21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #487a21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(72, 122, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 122, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #487a21;
background: linear-gradient(135deg, #487a21, #217A35);

Monochromatic scale

Palettes built from #487a21

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.

#487a21 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.

#487a21, answered

What color is #487a21?

#487a21 is a dark vivid green, closest to Green (ΔE2000 6.2). It sits at 94° on the hue wheel with 57% saturation and 30% lightness, which reads as neutral.

What is the RGB value of #487a21?

rgb(72, 122, 33) — 72 red, 122 green and 33 blue out of 255, or 28.2% / 47.8% / 12.9% by channel.

Is #487a21 a light or a dark color?

It is a dark color. Relative luminance is 0.1541 and perceived brightness is 40%, so white text on it reaches 5.15:1.

Should I use black or white text on #487a21?

White. It scores 5.15:1 against #487a21, versus 4.08:1 for black — AA at any size.

What is the complementary color of #487a21?

#53217A sits directly opposite on the wheel. Softer options are the split-complements #27217A and #7A2175, which give the same contrast with far less vibration.

What colors go well with #487a21?

For interface work: #F7FAF4 as the surface, #D3EDC0 for borders, #6E9B4B for secondary text, #3C1E7D as an accent and #3B641B for hover and pressed states. For a palette, the analogous pair #757A21 and #217A27 stays calm, while #53217A is the loudest partner.

What is #487a21 in CMYK for printing?

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

Is #487a21 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #697A21; nudged cooler, #267C1F.

Work with #487a21 in the Color Lab