Skip to content

#57780c

a dark, electric green · warm · closest name: Dark Olive Green

RGB
87, 120, 12
HSL
78°, 82%, 26%
CMYK
28, 0, 90, 53
Luminance
0.1549

At a glance

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

Hex
#57780c
Hue
78°
green
Saturation
82%
electric
Lightness
26%
dark
Brightness
47%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1549
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Electric
Best ink
White
5.13:1
Closest name
Dark Olive Green
ΔE2000 7.5
Where it sits
Hue78° of 360°
Saturation82%
Lightness26%
Temperature
Warm ← → Cool40% 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#57780c
RGBrgb(87, 120, 12)
HSLhsl(78, 82%, 26%)
CMYKcmyk(28%, 0%, 90%, 53%)
LABlab(46.3 -27.0 48.6)
LCHlch(46.3 55.5 119.0)
OKLCHoklch(0.528 0.131 126.7)
Decimal5732364
Display P3color(display-p3 0.341 0.471 0.047)

Copy-ready code

/* CSS */
color: #57780c;
background-color: #57780c;
/* Tailwind (arbitrary) */
class="text-[#57780c] bg-[#57780c]"
/* SCSS */
$brand: #57780c;
/* SwiftUI */
Color(red: 0.341, green: 0.471, blue: 0.047)
/* Android */
Color.parseColor("#57780c")
/* Flutter */
Color(0xFF57780C)
/* Python / OpenCV (BGR) */
(12, 120, 87)

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

Accessibility — WCAG contrast

Aa
#57780c on white: 5.13:1
AA ✓ pass · AA-large · AAA
Aa
#57780c on black: 4.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7F6F00
deuteranopia · #7A6D1A
tritanopia · #5B7265

Color scale — 50 to 950

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

#F9FCF2
#F4F9E6
#E7F6C6
#D9F599
#C6F066
#B3EB33
#A1DF16
#87B913
#6C940F
#57780c
#314309
Base = 900Lightest = 50 · #F9FCF2Darkest = 950 · #314309
:root {
  --brand-50: #F9FCF2;
  --brand-100: #F4F9E6;
  --brand-200: #E7F6C6;
  --brand-300: #D9F599;
  --brand-400: #C6F066;
  --brand-500: #B3EB33;
  --brand-600: #A1DF16;
  --brand-700: #87B913;
  --brand-800: #6C940F;
  --brand-900: #57780c;
  --brand-950: #314309;
  --brand: #57780c;
  --brand-ink: #ffffff;
}

Colors that work with #57780c

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#F9FAF4
Tinted page background
Border#DFEDC0
Hairlines and dividers
Muted text#829B4B
Captions on the surface
Accent#10097B
Second voice, not a rival
Dark variant#54740C
Hover, pressed, headers
Light variant#F6FDE8
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 #57780c

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#2D0C78
Analogous left#78630C
Analogous right#21780C
Split-complement 1#0C2178
Split-complement 2#630C78
Triadic 1#0C5778
Triadic 2#780C57
Tetradic#0C7863

RGB percentages

Red34.1%
Green47.1%
Blue4.7%

CMYK percentages

Cyan27.5%
Magenta0.0%
Yellow90.0%
Key (black)52.9%

Color previews

#57780c text on a black background

contrast 4.10:1

Card sample

#57780c text on a white background

contrast 5.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #57780c;
Background color
Panel with #57780c background
background-color: #57780c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #57780c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(87, 120, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(87, 120, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #57780c;
background: linear-gradient(135deg, #57780c, #0F780C);

Monochromatic scale

Palettes built from #57780c

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.

#57780c 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.

#57780c, answered

What color is #57780c?

#57780c is a dark electric green, closest to Dark Olive Green (ΔE2000 7.5). It sits at 78° on the hue wheel with 82% saturation and 26% lightness, which reads as warm.

What is the RGB value of #57780c?

rgb(87, 120, 12) — 87 red, 120 green and 12 blue out of 255, or 34.1% / 47.1% / 4.7% by channel.

Is #57780c a light or a dark color?

It is a dark color. Relative luminance is 0.1549 and perceived brightness is 41%, so white text on it reaches 5.13:1.

Should I use black or white text on #57780c?

White. It scores 5.13:1 against #57780c, versus 4.10:1 for black — AA at any size.

What is the complementary color of #57780c?

#2D0C78 sits directly opposite on the wheel. Softer options are the split-complements #0C2178 and #630C78, which give the same contrast with far less vibration.

What colors go well with #57780c?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #829B4B for secondary text, #10097B as an accent and #54740C for hover and pressed states. For a palette, the analogous pair #78630C and #21780C stays calm, while #2D0C78 is the loudest partner.

What is #57780c in CMYK for printing?

cmyk(28%, 0%, 90%, 53%). 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 #57780c warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #78710C; nudged cooler, #2F790B.

Work with #57780c in the Color Lab