Skip to content

#577f0c

a dark, electric green · neutral · closest name: Olive Drab

RGB
87, 127, 12
HSL
81°, 83%, 27%
CMYK
32, 0, 91, 50
Luminance
0.1723

At a glance

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

Hex
#577f0c
Hue
81°
green
Saturation
83%
electric
Lightness
27%
dark
Brightness
50%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1723
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Green
Tone
Electric
Best ink
White
4.72:1
Closest name
Olive Drab
ΔE2000 6.1
Where it sits
Hue81° of 360°
Saturation83%
Lightness27%
Temperature
Warm ← → Cool42% 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#577f0c
RGBrgb(87, 127, 12)
HSLhsl(81, 83%, 27%)
CMYKcmyk(32%, 0%, 91%, 50%)
LABlab(48.5 -30.3 50.5)
LCHlch(48.5 58.9 121.0)
OKLCHoklch(0.546 0.140 128.7)
Decimal5734156
Display P3color(display-p3 0.341 0.498 0.047)

Copy-ready code

/* CSS */
color: #577f0c;
background-color: #577f0c;
/* Tailwind (arbitrary) */
class="text-[#577f0c] bg-[#577f0c]"
/* SCSS */
$brand: #577f0c;
/* SwiftUI */
Color(red: 0.341, green: 0.498, blue: 0.047)
/* Android */
Color.parseColor("#577f0c")
/* Flutter */
Color(0xFF577F0C)
/* Python / OpenCV (BGR) */
(12, 127, 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 #577f0c · 4.72:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.72:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.45:1
AA fail · AA large pass · AAA fail
Reading the other direction: #577f0c as text scores 4.72:1 on white and 4.45:1 on black.

Accessibility — WCAG contrast

Aa
#577f0c on white: 4.72:1
AA ✓ pass · AA-large · AAA
Aa
#577f0c on black: 4.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #867500
deuteranopia · #80721C
tritanopia · #5A796B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #577f0c 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
#F3FAE6
#E5F6C6
#D5F599
#C0F065
#ABEC32
#99E015
#80BA12
#66950E
#577f0c
#2F4309
Base = 900Lightest = 50 · #F9FCF2Darkest = 950 · #2F4309
:root {
  --brand-50: #F9FCF2;
  --brand-100: #F3FAE6;
  --brand-200: #E5F6C6;
  --brand-300: #D5F599;
  --brand-400: #C0F065;
  --brand-500: #ABEC32;
  --brand-600: #99E015;
  --brand-700: #80BA12;
  --brand-800: #66950E;
  --brand-900: #577f0c;
  --brand-950: #2F4309;
  --brand: #577f0c;
  --brand-ink: #ffffff;
}

Colors that work with #577f0c

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#F8FAF4
Tinted page background
Border#DDEDC0
Hairlines and dividers
Muted text#7F9B4B
Captions on the surface
Accent#150982
Second voice, not a rival
Dark variant#50740B
Hover, pressed, headers
Light variant#F5FDE8
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 #577f0c

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#340C7F
Analogous left#7F6E0C
Analogous right#1E7F0C
Split-complement 1#0C1E7F
Split-complement 2#6E0C7F
Triadic 1#0C577F
Triadic 2#7F0C57
Tetradic#0C7F6E

RGB percentages

Red34.1%
Green49.8%
Blue4.7%

CMYK percentages

Cyan31.5%
Magenta0.0%
Yellow90.6%
Key (black)50.2%

Color previews

#577f0c text on a black background

contrast 4.45:1

Card sample

#577f0c text on a white background

contrast 4.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #577f0c;
Background color
Panel with #577f0c background
background-color: #577f0c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #577f0c;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #577f0c

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.

#577f0c 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.

#577f0c, answered

What color is #577f0c?

#577f0c is a dark electric green, closest to Olive Drab (ΔE2000 6.1). It sits at 81° on the hue wheel with 83% saturation and 27% lightness, which reads as neutral.

What is the RGB value of #577f0c?

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

Is #577f0c a light or a dark color?

It is a dark color. Relative luminance is 0.1723 and perceived brightness is 43%, so white text on it reaches 4.72:1.

Should I use black or white text on #577f0c?

White. It scores 4.72:1 against #577f0c, versus 4.45:1 for black — AA at any size.

What is the complementary color of #577f0c?

#340C7F sits directly opposite on the wheel. Softer options are the split-complements #0C1E7F and #6E0C7F, which give the same contrast with far less vibration.

What colors go well with #577f0c?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #7F9B4B for secondary text, #150982 as an accent and #50740B for hover and pressed states. For a palette, the analogous pair #7F6E0C and #1E7F0C stays calm, while #340C7F is the loudest partner.

What is #577f0c in CMYK for printing?

cmyk(32%, 0%, 91%, 50%). 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 #577f0c warm or cool?

Neutral — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7F7D0C; nudged cooler, #2C810B.

Work with #577f0c in the Color Lab