Skip to content

#6b7c21

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

RGB
107, 124, 33
HSL
71°, 58%, 31%
CMYK
14, 0, 73, 51
Luminance
0.1765

At a glance

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

Hex
#6b7c21
Hue
71°
green
Saturation
58%
vivid
Lightness
31%
dark
Brightness
49%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1765
WCAG relative
Temperature
Warm
34/100 cool
Color family
Green
Tone
Vivid
Best ink
White
4.64:1
Closest name
Olive Drab
ΔE2000 6.8
Where it sits
Hue71° of 360°
Saturation58%
Lightness31%
Temperature
Warm ← → Cool34% 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#6b7c21
RGBrgb(107, 124, 33)
HSLhsl(71, 58%, 31%)
CMYKcmyk(14%, 0%, 73%, 51%)
LABlab(49.1 -19.3 45.0)
LCHlch(49.1 49.0 113.2)
OKLCHoklch(0.554 0.116 119.6)
Decimal7044129
Display P3color(display-p3 0.420 0.486 0.129)

Copy-ready code

/* CSS */
color: #6b7c21;
background-color: #6b7c21;
/* Tailwind (arbitrary) */
class="text-[#6b7c21] bg-[#6b7c21]"
/* SCSS */
$brand: #6b7c21;
/* SwiftUI */
Color(red: 0.420, green: 0.486, blue: 0.129)
/* Android */
Color.parseColor("#6b7c21")
/* Flutter */
Color(0xFF6B7C21)
/* Python / OpenCV (BGR) */
(33, 124, 107)

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

Accessibility — WCAG contrast

Aa
#6b7c21 on white: 4.64:1
AA ✓ pass · AA-large · AAA
Aa
#6b7c21 on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #847511
deuteranopia · #827528
tritanopia · #71756A

Color scale — 50 to 950

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

#FAFBF4
#F4F7E9
#E8EFCD
#DBE7A6
#C9DC7A
#B8D04E
#A7C133
#8BA12B
#6b7c21
#525E1D
#333B12
Base = 800Lightest = 50 · #FAFBF4Darkest = 950 · #333B12
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F4F7E9;
  --brand-200: #E8EFCD;
  --brand-300: #DBE7A6;
  --brand-400: #C9DC7A;
  --brand-500: #B8D04E;
  --brand-600: #A7C133;
  --brand-700: #8BA12B;
  --brand-800: #6b7c21;
  --brand-900: #525E1D;
  --brand-950: #333B12;
  --brand: #6b7c21;
  --brand-ink: #ffffff;
}

Colors that work with #6b7c21

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#E4EDC0
Hairlines and dividers
Muted text#8C9B4B
Captions on the surface
Accent#1E247F
Second voice, not a rival
Dark variant#57651B
Hover, pressed, headers
Light variant#F7FAEB
Selected rows, tints
Dark surface#212414
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 #6b7c21

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#32217C
Analogous left#7C6021
Analogous right#3E7C21
Split-complement 1#213E7C
Split-complement 2#60217C
Triadic 1#216B7C
Triadic 2#7C216B
Tetradic#217C60

RGB percentages

Red42.0%
Green48.6%
Blue12.9%

CMYK percentages

Cyan13.7%
Magenta0.0%
Yellow73.4%
Key (black)51.4%

Color previews

#6b7c21 text on a black background

contrast 4.53:1

Card sample

#6b7c21 text on a white background

contrast 4.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(107, 124, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(107, 124, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6b7c21;
background: linear-gradient(135deg, #6b7c21, #2E7C21);

Monochromatic scale

Palettes built from #6b7c21

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.

#6b7c21 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.

#6b7c21, answered

What color is #6b7c21?

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

What is the RGB value of #6b7c21?

rgb(107, 124, 33) — 107 red, 124 green and 33 blue out of 255, or 42% / 48.6% / 12.9% by channel.

Is #6b7c21 a light or a dark color?

It is a dark color. Relative luminance is 0.1765 and perceived brightness is 44%, so white text on it reaches 4.64:1.

Should I use black or white text on #6b7c21?

White. It scores 4.64:1 against #6b7c21, versus 4.53:1 for black — AA at any size.

What is the complementary color of #6b7c21?

#32217C sits directly opposite on the wheel. Softer options are the split-complements #213E7C and #60217C, which give the same contrast with far less vibration.

What colors go well with #6b7c21?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8C9B4B for secondary text, #1E247F as an accent and #57651B for hover and pressed states. For a palette, the analogous pair #7C6021 and #3E7C21 stays calm, while #32217C is the loudest partner.

What is #6b7c21 in CMYK for printing?

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

Is #6b7c21 warm or cool?

Warm — it scores 34 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7C6C21; nudged cooler, #4A7E1F.

Work with #6b7c21 in the Color Lab