Skip to content

#657f21

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

RGB
101, 127, 33
HSL
77°, 59%, 31%
CMYK
21, 0, 74, 50
Luminance
0.1806

At a glance

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

Hex
#657f21
Hue
77°
green
Saturation
59%
vivid
Lightness
31%
dark
Brightness
50%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1806
WCAG relative
Temperature
Warm
39/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
4.61:1
Closest name
Olive Drab
ΔE2000 5.4
Where it sits
Hue77° of 360°
Saturation59%
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#657f21
RGBrgb(101, 127, 33)
HSLhsl(77, 59%, 31%)
CMYKcmyk(21%, 0%, 74%, 50%)
LABlab(49.6 -23.5 45.3)
LCHlch(49.6 51.0 117.4)
OKLCHoklch(0.557 0.122 123.9)
Decimal6651681
Display P3color(display-p3 0.396 0.498 0.129)

Copy-ready code

/* CSS */
color: #657f21;
background-color: #657f21;
/* Tailwind (arbitrary) */
class="text-[#657f21] bg-[#657f21]"
/* SCSS */
$brand: #657f21;
/* SwiftUI */
Color(red: 0.396, green: 0.498, blue: 0.129)
/* Android */
Color.parseColor("#657f21")
/* Flutter */
Color(0xFF657F21)
/* Python / OpenCV (BGR) */
(33, 127, 101)

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

Accessibility — WCAG contrast

Aa
#657f21 on white: 4.55:1
AA ✓ pass · AA-large · AAA
Aa
#657f21 on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #867710
deuteranopia · #837629
tritanopia · #6A796D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #657f21 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
#C1DC79
#ACD14D
#9BC232
#81A22A
#657f21
#4C5E1C
#2F3B12
Base = 800Lightest = 50 · #F9FBF4Darkest = 950 · #2F3B12
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F3F7E9;
  --brand-200: #E6EFCD;
  --brand-300: #D6E8A6;
  --brand-400: #C1DC79;
  --brand-500: #ACD14D;
  --brand-600: #9BC232;
  --brand-700: #81A22A;
  --brand-800: #657f21;
  --brand-900: #4C5E1C;
  --brand-950: #2F3B12;
  --brand: #657f21;
  --brand-ink: #000000;
}

Colors that work with #657f21

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#E0EDC0
Hairlines and dividers
Muted text#859B4B
Captions on the surface
Accent#201E82
Second voice, not a rival
Dark variant#50651A
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 #657f21

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#3B217F
Analogous left#7F6A21
Analogous right#367F21
Split-complement 1#21367F
Split-complement 2#6A217F
Triadic 1#21657F
Triadic 2#7F2165
Tetradic#217F6A

RGB percentages

Red39.6%
Green49.8%
Blue12.9%

CMYK percentages

Cyan20.5%
Magenta0.0%
Yellow74.0%
Key (black)50.2%

Color previews

#657f21 text on a black background

contrast 4.61:1

Card sample

#657f21 text on a white background

contrast 4.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(101, 127, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 127, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #657f21;
background: linear-gradient(135deg, #657f21, #267F21);

Monochromatic scale

Palettes built from #657f21

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.

#657f21 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.

#657f21, answered

What color is #657f21?

#657f21 is a dark vivid green, closest to Olive Drab (ΔE2000 5.4). It sits at 77° on the hue wheel with 59% saturation and 31% lightness, which reads as warm.

What is the RGB value of #657f21?

rgb(101, 127, 33) — 101 red, 127 green and 33 blue out of 255, or 39.6% / 49.8% / 12.9% by channel.

Is #657f21 a light or a dark color?

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

Should I use black or white text on #657f21?

Black. It scores 4.61:1 against #657f21, versus 4.55:1 for white — AA at any size.

What is the complementary color of #657f21?

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

What colors go well with #657f21?

For interface work: #F9FAF4 as the surface, #E0EDC0 for borders, #859B4B for secondary text, #201E82 as an accent and #50651A for hover and pressed states. For a palette, the analogous pair #7F6A21 and #367F21 stays calm, while #3B217F is the loudest partner.

What is #657f21 in CMYK for printing?

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

Is #657f21 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 #7F7721; nudged cooler, #42811F.

Work with #657f21 in the Color Lab