Skip to content

#087d2c

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

RGB
8, 125, 44
HSL
139°, 88%, 26%
CMYK
94, 0, 65, 51
Luminance
0.1490

At a glance

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

Hex
#087d2c
Hue
139°
green
Saturation
88%
electric
Lightness
26%
dark
Brightness
49%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1490
WCAG relative
Temperature
Cool
70/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.28:1
Closest name
Green
ΔE2000 4.9
Where it sits
Hue139° of 360°
Saturation88%
Lightness26%
Temperature
Warm ← → Cool70% 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#087d2c
RGBrgb(8, 125, 44)
HSLhsl(139, 88%, 26%)
CMYKcmyk(94%, 0%, 65%, 51%)
LABlab(45.5 -47.0 35.2)
LCHlch(45.5 58.7 143.2)
OKLCHoklch(0.515 0.151 146.9)
Decimal556332
Display P3color(display-p3 0.031 0.490 0.173)

Copy-ready code

/* CSS */
color: #087d2c;
background-color: #087d2c;
/* Tailwind (arbitrary) */
class="text-[#087d2c] bg-[#087d2c]"
/* SCSS */
$brand: #087d2c;
/* SwiftUI */
Color(red: 0.031, green: 0.490, blue: 0.173)
/* Android */
Color.parseColor("#087d2c")
/* Flutter */
Color(0xFF087D2C)
/* Python / OpenCV (BGR) */
(44, 125, 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 #087d2c · 5.28:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.28:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.98:1
AA fail · AA large pass · AAA fail
Reading the other direction: #087d2c as text scores 5.28:1 on white and 3.98:1 on black.

Accessibility — WCAG contrast

Aa
#087d2c on white: 5.28:1
AA ✓ pass · AA-large · AAA
Aa
#087d2c on black: 3.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7F7123
deuteranopia · #736833
tritanopia · #007A6C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #087d2c 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.

#F2FDF5
#E5FAEC
#C4F8D4
#96F8B4
#61F58E
#2CF269
#0FE651
#0CC044
#0A9936
#087d2c
#07451A
Base = 900Lightest = 50 · #F2FDF5Darkest = 950 · #07451A
:root {
  --brand-50: #F2FDF5;
  --brand-100: #E5FAEC;
  --brand-200: #C4F8D4;
  --brand-300: #96F8B4;
  --brand-400: #61F58E;
  --brand-500: #2CF269;
  --brand-600: #0FE651;
  --brand-700: #0CC044;
  --brand-800: #0A9936;
  --brand-900: #087d2c;
  --brand-950: #07451A;
  --brand: #087d2c;
  --brand-ink: #ffffff;
}

Colors that work with #087d2c

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#C0EDCE
Hairlines and dividers
Muted text#4B9B63
Captions on the surface
Accent#800579
Second voice, not a rival
Dark variant#08782A
Hover, pressed, headers
Light variant#E7FDEE
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 #087d2c

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#7D0859
Analogous left#1E7D08
Analogous right#087D67
Split-complement 1#67087D
Split-complement 2#7D081E
Triadic 1#2C087D
Triadic 2#7D2C08
Tetradic#081E7D

RGB percentages

Red3.1%
Green49.0%
Blue17.3%

CMYK percentages

Cyan93.6%
Magenta0.0%
Yellow64.8%
Key (black)51.0%

Color previews

#087d2c text on a black background

contrast 3.98:1

Card sample

#087d2c text on a white background

contrast 5.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #087d2c

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.

#087d2c 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.

#087d2c, answered

What color is #087d2c?

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

What is the RGB value of #087d2c?

rgb(8, 125, 44) — 8 red, 125 green and 44 blue out of 255, or 3.1% / 49% / 17.3% by channel.

Is #087d2c a light or a dark color?

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

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

White. It scores 5.28:1 against #087d2c, versus 3.98:1 for black — AA at any size.

What is the complementary color of #087d2c?

#7D0859 sits directly opposite on the wheel. Softer options are the split-complements #67087D and #7D081E, which give the same contrast with far less vibration.

What colors go well with #087d2c?

For interface work: #F4FAF6 as the surface, #C0EDCE for borders, #4B9B63 for secondary text, #800579 as an accent and #08782A for hover and pressed states. For a palette, the analogous pair #1E7D08 and #087D67 stays calm, while #7D0859 is the loudest partner.

What is #087d2c in CMYK for printing?

cmyk(94%, 0%, 65%, 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 #087d2c warm or cool?

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

Work with #087d2c in the Color Lab