Skip to content

#387828

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

RGB
56, 120, 40
HSL
108°, 50%, 31%
CMYK
53, 0, 67, 53
Luminance
0.1443

At a glance

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

Hex
#387828
Hue
108°
green
Saturation
50%
vivid
Lightness
31%
dark
Brightness
47%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1443
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.40:1
Closest name
Green
ΔE2000 5.5
Where it sits
Hue108° of 360°
Saturation50%
Lightness31%
Temperature
Warm ← → Cool58% 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#387828
RGBrgb(56, 120, 40)
HSLhsl(108, 50%, 31%)
CMYKcmyk(53%, 0%, 67%, 53%)
LABlab(44.8 -36.6 36.6)
LCHlch(44.8 51.8 135.0)
OKLCHoklch(0.512 0.132 139.8)
Decimal3700776
Display P3color(display-p3 0.220 0.471 0.157)

Copy-ready code

/* CSS */
color: #387828;
background-color: #387828;
/* Tailwind (arbitrary) */
class="text-[#387828] bg-[#387828]"
/* SCSS */
$brand: #387828;
/* SwiftUI */
Color(red: 0.220, green: 0.471, blue: 0.157)
/* Android */
Color.parseColor("#387828")
/* Flutter */
Color(0xFF387828)
/* Python / OpenCV (BGR) */
(40, 120, 56)

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

Accessibility — WCAG contrast

Aa
#387828 on white: 5.40:1
AA ✓ pass · AA-large · AAA
Aa
#387828 on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #7B6D1E
deuteranopia · #73682F
tritanopia · #327467

Color scale — 50 to 950

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

#F6FAF4
#ECF6EA
#D5ECCF
#B6E3AB
#92D581
#6DC757
#56B83D
#479933
#387828
#2C5921
#1C3815
Base = 800Lightest = 50 · #F6FAF4Darkest = 950 · #1C3815
:root {
  --brand-50: #F6FAF4;
  --brand-100: #ECF6EA;
  --brand-200: #D5ECCF;
  --brand-300: #B6E3AB;
  --brand-400: #92D581;
  --brand-500: #6DC757;
  --brand-600: #56B83D;
  --brand-700: #479933;
  --brand-800: #387828;
  --brand-900: #2C5921;
  --brand-950: #1C3815;
  --brand: #387828;
  --brand-ink: #ffffff;
}

Colors that work with #387828

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#F6FAF4
Tinted page background
Border#CAEBC2
Hairlines and dividers
Muted text#5B9B4B
Captions on the surface
Accent#54257B
Second voice, not a rival
Dark variant#2D6020
Hover, pressed, headers
Light variant#EEF9EC
Selected rows, tints
Dark surface#172414
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 #387828

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#682878
Analogous left#607828
Analogous right#287840
Split-complement 1#402878
Split-complement 2#782860
Triadic 1#283878
Triadic 2#782838
Tetradic#286078

RGB percentages

Red22.0%
Green47.1%
Blue15.7%

CMYK percentages

Cyan53.3%
Magenta0.0%
Yellow66.7%
Key (black)52.9%

Color previews

#387828 text on a black background

contrast 3.89:1

Card sample

#387828 text on a white background

contrast 5.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(56, 120, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(56, 120, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #387828;
background: linear-gradient(135deg, #387828, #28784D);

Monochromatic scale

Palettes built from #387828

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.

#387828 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.

#387828, answered

What color is #387828?

#387828 is a dark vivid green, closest to Green (ΔE2000 5.5). It sits at 108° on the hue wheel with 50% saturation and 31% lightness, which reads as neutral.

What is the RGB value of #387828?

rgb(56, 120, 40) — 56 red, 120 green and 40 blue out of 255, or 22% / 47.1% / 15.7% by channel.

Is #387828 a light or a dark color?

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

Should I use black or white text on #387828?

White. It scores 5.40:1 against #387828, versus 3.89:1 for black — AA at any size.

What is the complementary color of #387828?

#682878 sits directly opposite on the wheel. Softer options are the split-complements #402878 and #782860, which give the same contrast with far less vibration.

What colors go well with #387828?

For interface work: #F6FAF4 as the surface, #CAEBC2 for borders, #5B9B4B for secondary text, #54257B as an accent and #2D6020 for hover and pressed states. For a palette, the analogous pair #607828 and #287840 stays calm, while #682878 is the loudest partner.

What is #387828 in CMYK for printing?

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

Is #387828 warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #557828; nudged cooler, #267A34.

Work with #387828 in the Color Lab