Skip to content

#566c21

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

RGB
86, 108, 33
HSL
78°, 53%, 28%
CMYK
20, 0, 69, 58
Luminance
0.1281

At a glance

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

Hex
#566c21
Hue
78°
green
Saturation
53%
vivid
Lightness
28%
dark
Brightness
42%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1281
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Vivid
Best ink
White
5.89:1
Closest name
Dark Olive Green
ΔE2000 2.9
Where it sits
Hue78° of 360°
Saturation53%
Lightness28%
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#566c21
RGBrgb(86, 108, 33)
HSLhsl(78, 53%, 28%)
CMYKcmyk(20%, 0%, 69%, 58%)
LABlab(42.5 -20.2 37.8)
LCHlch(42.5 42.9 118.2)
OKLCHoklch(0.497 0.104 124.2)
Decimal5663777
Display P3color(display-p3 0.337 0.424 0.129)

Copy-ready code

/* CSS */
color: #566c21;
background-color: #566c21;
/* Tailwind (arbitrary) */
class="text-[#566c21] bg-[#566c21]"
/* SCSS */
$brand: #566c21;
/* SwiftUI */
Color(red: 0.337, green: 0.424, blue: 0.129)
/* Android */
Color.parseColor("#566c21")
/* Flutter */
Color(0xFF566C21)
/* Python / OpenCV (BGR) */
(33, 108, 86)

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

Accessibility — WCAG contrast

Aa
#566c21 on white: 5.89:1
AA ✓ pass · AA-large · AAA
Aa
#566c21 on black: 3.56:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #726517
deuteranopia · #6F6427
tritanopia · #5A675D

Color scale — 50 to 950

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

#F9FBF4
#F2F6E9
#E4EDCE
#D3E5A9
#BDD87E
#A7CA53
#95BC39
#7C9C30
#647D26
#566c21
#2E3914
Base = 900Lightest = 50 · #F9FBF4Darkest = 950 · #2E3914
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F2F6E9;
  --brand-200: #E4EDCE;
  --brand-300: #D3E5A9;
  --brand-400: #BDD87E;
  --brand-500: #A7CA53;
  --brand-600: #95BC39;
  --brand-700: #7C9C30;
  --brand-800: #647D26;
  --brand-900: #566c21;
  --brand-950: #2E3914;
  --brand: #566c21;
  --brand-ink: #ffffff;
}

Colors that work with #566c21

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#DFECC0
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#221E6F
Second voice, not a rival
Dark variant#4E621E
Hover, pressed, headers
Light variant#F5F9EB
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 #566c21

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#37216C
Analogous left#6C5C21
Analogous right#306C21
Split-complement 1#21306C
Split-complement 2#5C216C
Triadic 1#21566C
Triadic 2#6C2156
Tetradic#216C5C

RGB percentages

Red33.7%
Green42.4%
Blue12.9%

CMYK percentages

Cyan20.4%
Magenta0.0%
Yellow69.4%
Key (black)57.6%

Color previews

#566c21 text on a black background

contrast 3.56:1

Card sample

#566c21 text on a white background

contrast 5.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(86, 108, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 108, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #566c21;
background: linear-gradient(135deg, #566c21, #246C21);

Monochromatic scale

Palettes built from #566c21

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.

#566c21 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.

#566c21, answered

What color is #566c21?

#566c21 is a dark vivid green, closest to Dark Olive Green (ΔE2000 2.9). It sits at 78° on the hue wheel with 53% saturation and 28% lightness, which reads as warm.

What is the RGB value of #566c21?

rgb(86, 108, 33) — 86 red, 108 green and 33 blue out of 255, or 33.7% / 42.4% / 12.9% by channel.

Is #566c21 a light or a dark color?

It is a dark color. Relative luminance is 0.1281 and perceived brightness is 38%, so white text on it reaches 5.89:1.

Should I use black or white text on #566c21?

White. It scores 5.89:1 against #566c21, versus 3.56:1 for black — AA at any size.

What is the complementary color of #566c21?

#37216C sits directly opposite on the wheel. Softer options are the split-complements #21306C and #5C216C, which give the same contrast with far less vibration.

What colors go well with #566c21?

For interface work: #F9FAF4 as the surface, #DFECC0 for borders, #839B4B for secondary text, #221E6F as an accent and #4E621E for hover and pressed states. For a palette, the analogous pair #6C5C21 and #306C21 stays calm, while #37216C is the loudest partner.

What is #566c21 in CMYK for printing?

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

Is #566c21 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 #6C6621; nudged cooler, #3A6D20.

Work with #566c21 in the Color Lab