Skip to content

#087c2f

a dark, electric green · cool · closest name: Green

RGB
8, 124, 47
HSL
140°, 88%, 26%
CMYK
94, 0, 62, 51
Luminance
0.1467

At a glance

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

Hex
#087c2f
Hue
140°
green
Saturation
88%
electric
Lightness
26%
dark
Brightness
49%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1467
WCAG relative
Temperature
Cool
71/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.34:1
Closest name
Green
ΔE2000 5.6
Where it sits
Hue140° of 360°
Saturation88%
Lightness26%
Temperature
Warm ← → Cool71% cool

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

Every format

HEX#087c2f
RGBrgb(8, 124, 47)
HSLhsl(140, 88%, 26%)
CMYKcmyk(94%, 0%, 62%, 51%)
LABlab(45.2 -46.2 33.4)
LCHlch(45.2 57.0 144.2)
OKLCHoklch(0.512 0.147 147.6)
Decimal556079
Display P3color(display-p3 0.031 0.486 0.184)

Copy-ready code

/* CSS */
color: #087c2f;
background-color: #087c2f;
/* Tailwind (arbitrary) */
class="text-[#087c2f] bg-[#087c2f]"
/* SCSS */
$brand: #087c2f;
/* SwiftUI */
Color(red: 0.031, green: 0.486, blue: 0.184)
/* Android */
Color.parseColor("#087c2f")
/* Flutter */
Color(0xFF087C2F)
/* Python / OpenCV (BGR) */
(47, 124, 8)

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

Accessibility — WCAG contrast

Aa
#087c2f on white: 5.34:1
AA ✓ pass · AA-large · AAA
Aa
#087c2f on black: 3.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7D7027
deuteranopia · #726835
tritanopia · #00796B

Color scale — 50 to 950

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

#F2FDF6
#E5FAEC
#C4F8D5
#96F8B7
#61F593
#2CF16F
#0FE657
#0CC049
#0A993A
#087c2f
#07451C
Base = 900Lightest = 50 · #F2FDF6Darkest = 950 · #07451C
:root {
  --brand-50: #F2FDF6;
  --brand-100: #E5FAEC;
  --brand-200: #C4F8D5;
  --brand-300: #96F8B7;
  --brand-400: #61F593;
  --brand-500: #2CF16F;
  --brand-600: #0FE657;
  --brand-700: #0CC049;
  --brand-800: #0A993A;
  --brand-900: #087c2f;
  --brand-950: #07451C;
  --brand: #087c2f;
  --brand-ink: #ffffff;
}

Colors that work with #087c2f

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#F4FAF6
Tinted page background
Border#C0EDCF
Hairlines and dividers
Muted text#4B9B66
Captions on the surface
Accent#7F0574
Second voice, not a rival
Dark variant#08782D
Hover, pressed, headers
Light variant#E7FDEF
Selected rows, tints
Dark surface#142419
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 #087c2f

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#7C0855
Analogous left#1B7C08
Analogous right#087C69
Split-complement 1#69087C
Split-complement 2#7C081B
Triadic 1#2F087C
Triadic 2#7C2F08
Tetradic#081B7C

RGB percentages

Red3.1%
Green48.6%
Blue18.4%

CMYK percentages

Cyan93.5%
Magenta0.0%
Yellow62.1%
Key (black)51.4%

Color previews

#087c2f text on a black background

contrast 3.93:1

Card sample

#087c2f text on a white background

contrast 5.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #087c2f;
Background color
Panel with #087c2f background
background-color: #087c2f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #087c2f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 124, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 124, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #087c2f;
background: linear-gradient(135deg, #087c2f, #087C7C);

Monochromatic scale

Palettes built from #087c2f

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.

#087c2f 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#087c2f, answered

What color is #087c2f?

#087c2f is a dark electric green, closest to Green (ΔE2000 5.6). It sits at 140° on the hue wheel with 88% saturation and 26% lightness, which reads as cool.

What is the RGB value of #087c2f?

rgb(8, 124, 47) — 8 red, 124 green and 47 blue out of 255, or 3.1% / 48.6% / 18.4% by channel.

Is #087c2f a light or a dark color?

It is a dark color. Relative luminance is 0.1467 and perceived brightness is 38%, so white text on it reaches 5.34:1.

Should I use black or white text on #087c2f?

White. It scores 5.34:1 against #087c2f, versus 3.93:1 for black — AA at any size.

What is the complementary color of #087c2f?

#7C0855 sits directly opposite on the wheel. Softer options are the split-complements #69087C and #7C081B, which give the same contrast with far less vibration.

What colors go well with #087c2f?

For interface work: #F4FAF6 as the surface, #C0EDCF for borders, #4B9B66 for secondary text, #7F0574 as an accent and #08782D for hover and pressed states. For a palette, the analogous pair #1B7C08 and #087C69 stays calm, while #7C0855 is the loudest partner.

What is #087c2f in CMYK for printing?

cmyk(94%, 0%, 62%, 51%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #087c2f warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0B7C08; nudged cooler, #077D5A.

Work with #087c2f in the Color Lab