Skip to content

#647d21

a dark, vivid green · warm · closest name: Olive Drab

RGB
100, 125, 33
HSL
76°, 58%, 31%
CMYK
20, 0, 74, 51
Luminance
0.1749

At a glance

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

Hex
#647d21
Hue
76°
green
Saturation
58%
vivid
Lightness
31%
dark
Brightness
49%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1749
WCAG relative
Temperature
Warm
39/100 cool
Color family
Green
Tone
Vivid
Best ink
White
4.67:1
Closest name
Olive Drab
ΔE2000 6.2
Where it sits
Hue76° of 360°
Saturation58%
Lightness31%
Temperature
Warm ← → Cool39% 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#647d21
RGBrgb(100, 125, 33)
HSLhsl(76, 58%, 31%)
CMYKcmyk(20%, 0%, 74%, 51%)
LABlab(48.9 -22.9 44.6)
LCHlch(48.9 50.1 117.2)
OKLCHoklch(0.551 0.120 123.7)
Decimal6585633
Display P3color(display-p3 0.392 0.490 0.129)

Copy-ready code

/* CSS */
color: #647d21;
background-color: #647d21;
/* Tailwind (arbitrary) */
class="text-[#647d21] bg-[#647d21]"
/* SCSS */
$brand: #647d21;
/* SwiftUI */
Color(red: 0.392, green: 0.490, blue: 0.129)
/* Android */
Color.parseColor("#647d21")
/* Flutter */
Color(0xFF647D21)
/* Python / OpenCV (BGR) */
(33, 125, 100)

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

Accessibility — WCAG contrast

Aa
#647d21 on white: 4.67:1
AA ✓ pass · AA-large · AAA
Aa
#647d21 on black: 4.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #847511
deuteranopia · #817429
tritanopia · #69776B

Color scale — 50 to 950

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

#F9FBF4
#F3F7E9
#E6EFCD
#D6E8A6
#C1DC7A
#ADD04D
#9BC233
#81A12B
#647d21
#4C5E1C
#303B12
Base = 800Lightest = 50 · #F9FBF4Darkest = 950 · #303B12
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F3F7E9;
  --brand-200: #E6EFCD;
  --brand-300: #D6E8A6;
  --brand-400: #C1DC7A;
  --brand-500: #ADD04D;
  --brand-600: #9BC233;
  --brand-700: #81A12B;
  --brand-800: #647d21;
  --brand-900: #4C5E1C;
  --brand-950: #303B12;
  --brand: #647d21;
  --brand-ink: #ffffff;
}

Colors that work with #647d21

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#E0EDC0
Hairlines and dividers
Muted text#859B4B
Captions on the surface
Accent#201E80
Second voice, not a rival
Dark variant#51651B
Hover, pressed, headers
Light variant#F6FAEB
Selected rows, tints
Dark surface#202414
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 #647d21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • 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#3A217D
Analogous left#7D6821
Analogous right#367D21
Split-complement 1#21367D
Split-complement 2#68217D
Triadic 1#21647D
Triadic 2#7D2164
Tetradic#217D68

RGB percentages

Red39.2%
Green49.0%
Blue12.9%

CMYK percentages

Cyan20.0%
Magenta0.0%
Yellow73.6%
Key (black)51.0%

Color previews

#647d21 text on a black background

contrast 4.50:1

Card sample

#647d21 text on a white background

contrast 4.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(100, 125, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 125, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #647d21;
background: linear-gradient(135deg, #647d21, #277D21);

Monochromatic scale

Palettes built from #647d21

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.

#647d21 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.

#647d21, answered

What color is #647d21?

#647d21 is a dark vivid green, closest to Olive Drab (ΔE2000 6.2). It sits at 76° on the hue wheel with 58% saturation and 31% lightness, which reads as warm.

What is the RGB value of #647d21?

rgb(100, 125, 33) — 100 red, 125 green and 33 blue out of 255, or 39.2% / 49% / 12.9% by channel.

Is #647d21 a light or a dark color?

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

Should I use black or white text on #647d21?

White. It scores 4.67:1 against #647d21, versus 4.50:1 for black — AA at any size.

What is the complementary color of #647d21?

#3A217D sits directly opposite on the wheel. Softer options are the split-complements #21367D and #68217D, which give the same contrast with far less vibration.

What colors go well with #647d21?

For interface work: #F9FAF4 as the surface, #E0EDC0 for borders, #859B4B for secondary text, #201E80 as an accent and #51651B for hover and pressed states. For a palette, the analogous pair #7D6821 and #367D21 stays calm, while #3A217D is the loudest partner.

What is #647d21 in CMYK for printing?

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

Is #647d21 warm or cool?

Warm — it scores 39 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7D7421; nudged cooler, #427F1F.

Work with #647d21 in the Color Lab