Skip to content

#407213

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

RGB
64, 114, 19
HSL
92°, 71%, 26%
CMYK
44, 0, 83, 55
Luminance
0.1317

At a glance

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

Hex
#407213
Hue
92°
green
Saturation
71%
vivid
Lightness
26%
dark
Brightness
45%
HSV value
Perceived
37%
weighted brightness
Luminance
0.1317
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.78:1
Closest name
Dark Olive Green
ΔE2000 6.6
Where it sits
Hue92° of 360°
Saturation71%
Lightness26%
Temperature
Warm ← → Cool51% 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#407213
RGBrgb(64, 114, 19)
HSLhsl(92, 71%, 26%)
CMYKcmyk(44%, 0%, 83%, 55%)
LABlab(43.0 -33.0 43.3)
LCHlch(43.0 54.4 127.3)
OKLCHoklch(0.498 0.133 134.2)
Decimal4223507
Display P3color(display-p3 0.251 0.447 0.075)

Copy-ready code

/* CSS */
color: #407213;
background-color: #407213;
/* Tailwind (arbitrary) */
class="text-[#407213] bg-[#407213]"
/* SCSS */
$brand: #407213;
/* SwiftUI */
Color(red: 0.251, green: 0.447, blue: 0.075)
/* Android */
Color.parseColor("#407213")
/* Flutter */
Color(0xFF407213)
/* Python / OpenCV (BGR) */
(19, 114, 64)

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

Accessibility — WCAG contrast

Aa
#407213 on white: 5.78:1
AA ✓ pass · AA-large · AAA
Aa
#407213 on black: 3.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #776800
deuteranopia · #70641E
tritanopia · #3F6D61

Color scale — 50 to 950

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

#F7FCF3
#EFF8E7
#DDF3C9
#C5EF9F
#A8E76F
#8BDF3F
#76D223
#62AF1D
#4E8C17
#407213
#253F0D
Base = 900Lightest = 50 · #F7FCF3Darkest = 950 · #253F0D
:root {
  --brand-50: #F7FCF3;
  --brand-100: #EFF8E7;
  --brand-200: #DDF3C9;
  --brand-300: #C5EF9F;
  --brand-400: #A8E76F;
  --brand-500: #8BDF3F;
  --brand-600: #76D223;
  --brand-700: #62AF1D;
  --brand-800: #4E8C17;
  --brand-900: #407213;
  --brand-950: #253F0D;
  --brand: #407213;
  --brand-ink: #ffffff;
}

Colors that work with #407213

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#F7FAF4
Tinted page background
Border#D5EDC0
Hairlines and dividers
Muted text#719B4B
Captions on the surface
Accent#2C1075
Second voice, not a rival
Dark variant#3D6D12
Hover, pressed, headers
Light variant#F2FBE9
Selected rows, tints
Dark surface#1C2414
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 #407213

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#451372
Analogous left#707213
Analogous right#137216
Split-complement 1#161372
Split-complement 2#721370
Triadic 1#134072
Triadic 2#721340
Tetradic#137072

RGB percentages

Red25.1%
Green44.7%
Blue7.5%

CMYK percentages

Cyan43.9%
Magenta0.0%
Yellow83.3%
Key (black)55.3%

Color previews

#407213 text on a black background

contrast 3.63:1

Card sample

#407213 text on a white background

contrast 5.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 114, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 114, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #407213;
background: linear-gradient(135deg, #407213, #137225);

Monochromatic scale

Palettes built from #407213

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.

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

#407213, answered

What color is #407213?

#407213 is a dark vivid green, closest to Dark Olive Green (ΔE2000 6.6). It sits at 92° on the hue wheel with 71% saturation and 26% lightness, which reads as neutral.

What is the RGB value of #407213?

rgb(64, 114, 19) — 64 red, 114 green and 19 blue out of 255, or 25.1% / 44.7% / 7.5% by channel.

Is #407213 a light or a dark color?

It is a dark color. Relative luminance is 0.1317 and perceived brightness is 37%, so white text on it reaches 5.78:1.

Should I use black or white text on #407213?

White. It scores 5.78:1 against #407213, versus 3.63:1 for black — AA at any size.

What is the complementary color of #407213?

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

What colors go well with #407213?

For interface work: #F7FAF4 as the surface, #D5EDC0 for borders, #719B4B for secondary text, #2C1075 as an accent and #3D6D12 for hover and pressed states. For a palette, the analogous pair #707213 and #137216 stays calm, while #451372 is the loudest partner.

What is #407213 in CMYK for printing?

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

Is #407213 warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #637213; nudged cooler, #1C7312.

Work with #407213 in the Color Lab