Skip to content

#648021

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

RGB
100, 128, 33
HSL
78°, 59%, 32%
CMYK
22, 0, 74, 50
Luminance
0.1826

At a glance

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

Hex
#648021
Hue
78°
green
Saturation
59%
vivid
Lightness
32%
dark
Brightness
50%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1826
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
4.65:1
Closest name
Olive Drab
ΔE2000 5.1
Where it sits
Hue78° of 360°
Saturation59%
Lightness32%
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#648021
RGBrgb(100, 128, 33)
HSLhsl(78, 59%, 32%)
CMYKcmyk(22%, 0%, 74%, 50%)
LABlab(49.8 -24.4 45.5)
LCHlch(49.8 51.7 118.2)
OKLCHoklch(0.559 0.124 124.8)
Decimal6586401
Display P3color(display-p3 0.392 0.502 0.129)

Copy-ready code

/* CSS */
color: #648021;
background-color: #648021;
/* Tailwind (arbitrary) */
class="text-[#648021] bg-[#648021]"
/* SCSS */
$brand: #648021;
/* SwiftUI */
Color(red: 0.392, green: 0.502, blue: 0.129)
/* Android */
Color.parseColor("#648021")
/* Flutter */
Color(0xFF648021)
/* Python / OpenCV (BGR) */
(33, 128, 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#000000 on #648021 · 4.65:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.51:1
AA pass · AA large pass · AAA fail
Aa
Black text · 4.65:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #648021 as text scores 4.51:1 on white and 4.65:1 on black.

Accessibility — WCAG contrast

Aa
#648021 on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#648021 on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #877710
deuteranopia · #847629
tritanopia · #697A6E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #648021 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
#E5EFCD
#D4E8A6
#BFDC79
#AAD14D
#98C332
#7FA22A
#648021
#4B5E1C
#2F3B11
Base = 800Lightest = 50 · #F9FBF4Darkest = 950 · #2F3B11
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F3F7E9;
  --brand-200: #E5EFCD;
  --brand-300: #D4E8A6;
  --brand-400: #BFDC79;
  --brand-500: #AAD14D;
  --brand-600: #98C332;
  --brand-700: #7FA22A;
  --brand-800: #648021;
  --brand-900: #4B5E1C;
  --brand-950: #2F3B11;
  --brand: #648021;
  --brand-ink: #000000;
}

Colors that work with #648021

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9FAF4
Tinted page background
Border#DFEDC0
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#221E83
Second voice, not a rival
Dark variant#4F651A
Hover, pressed, headers
Light variant#F5FAEB
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 #648021

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#3D2180
Analogous left#806D21
Analogous right#358021
Split-complement 1#213580
Split-complement 2#6D2180
Triadic 1#216480
Triadic 2#802164
Tetradic#21806D

RGB percentages

Red39.2%
Green50.2%
Blue12.9%

CMYK percentages

Cyan21.9%
Magenta0.0%
Yellow74.2%
Key (black)49.8%

Color previews

#648021 text on a black background

contrast 4.65:1

Card sample

#648021 text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #648021

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.

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

#648021, answered

What color is #648021?

#648021 is a dark vivid green, closest to Olive Drab (ΔE2000 5.1). It sits at 78° on the hue wheel with 59% saturation and 32% lightness, which reads as warm.

What is the RGB value of #648021?

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

Is #648021 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1826 and perceived brightness is 44%, so black text on it reaches 4.65:1.

Should I use black or white text on #648021?

Black. It scores 4.65:1 against #648021, versus 4.51:1 for white — AA at any size.

What is the complementary color of #648021?

#3D2180 sits directly opposite on the wheel. Softer options are the split-complements #213580 and #6D2180, which give the same contrast with far less vibration.

What colors go well with #648021?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #221E83 as an accent and #4F651A for hover and pressed states. For a palette, the analogous pair #806D21 and #358021 stays calm, while #3D2180 is the loudest partner.

What is #648021 in CMYK for printing?

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

Is #648021 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 #807921; nudged cooler, #41821F.

Work with #648021 in the Color Lab