Skip to content

#263e21

a deep, soft green · neutral · closest name: Dark Slate Gray

RGB
38, 62, 33
HSL
110°, 31%, 19%
CMYK
39, 0, 47, 76
Luminance
0.0397

At a glance

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

Hex
#263e21
Hue
110°
green
Saturation
31%
soft
Lightness
19%
deep
Brightness
24%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0397
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Green
Tone
Soft
Best ink
White
11.71:1
Closest name
Dark Slate Gray
ΔE2000 14.5
Where it sits
Hue110° of 360°
Saturation31%
Lightness19%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#263e21
RGBrgb(38, 62, 33)
HSLhsl(110, 31%, 19%)
CMYKcmyk(39%, 0%, 47%, 76%)
LABlab(23.6 -16.2 14.9)
LCHlch(23.6 22.0 137.3)
OKLCHoklch(0.335 0.058 140.2)
Decimal2506273
Display P3color(display-p3 0.149 0.243 0.129)

Copy-ready code

/* CSS */
color: #263e21;
background-color: #263e21;
/* Tailwind (arbitrary) */
class="text-[#263e21] bg-[#263e21]"
/* SCSS */
$brand: #263e21;
/* SwiftUI */
Color(red: 0.149, green: 0.243, blue: 0.129)
/* Android */
Color.parseColor("#263e21")
/* Flutter */
Color(0xFF263E21)
/* Python / OpenCV (BGR) */
(33, 62, 38)

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 #263e21 · 11.71:1
Use #ffffffAAA at every size.
Aa
White text · 11.71:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.79:1
AA fail · AA large fail · AAA fail
Reading the other direction: #263e21 as text scores 11.71:1 on white and 1.79:1 on black.

Accessibility — WCAG contrast

Aa
#263e21 on white: 11.71:1
AA ✓ pass · AA-large · AAA
Aa
#263e21 on black: 1.79:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #40391F
deuteranopia · #3C3723
tritanopia · #243C37

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #263e21 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F9F6
#EDF3EC
#D8E7D5
#BCD8B6
#9AC591
#78B16D
#62A055
#528547
#416A39
#324E2C
#263e21
Base = 950Lightest = 50 · #F6F9F6Darkest = 950 · #263e21
:root {
  --brand-50: #F6F9F6;
  --brand-100: #EDF3EC;
  --brand-200: #D8E7D5;
  --brand-300: #BCD8B6;
  --brand-400: #9AC591;
  --brand-500: #78B16D;
  --brand-600: #62A055;
  --brand-700: #528547;
  --brand-800: #416A39;
  --brand-900: #324E2C;
  --brand-950: #263e21;
  --brand: #263e21;
  --brand-ink: #ffffff;
}

Colors that work with #263e21

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#F6FAF5
Tinted page background
Border#CEE3CA
Hairlines and dividers
Muted text#5C9650
Captions on the surface
Accent#321F40
Second voice, not a rival
Dark variant#33532C
Hover, pressed, headers
Light variant#F0F6EE
Selected rows, tints
Dark surface#172414
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 #263e21

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#39213E
Analogous left#343E21
Analogous right#213E2A
Split-complement 1#2A213E
Split-complement 2#3E2134
Triadic 1#21263E
Triadic 2#3E2126
Tetradic#21343E

RGB percentages

Red14.9%
Green24.3%
Blue12.9%

CMYK percentages

Cyan38.7%
Magenta0.0%
Yellow46.8%
Key (black)75.7%

Color previews

#263e21 text on a black background

contrast 1.79:1

Card sample

#263e21 text on a white background

contrast 11.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(38, 62, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 62, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #263e21;
background: linear-gradient(135deg, #263e21, #213E2F);

Monochromatic scale

Palettes built from #263e21

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.

#263e21 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.

#263e21, answered

What color is #263e21?

#263e21 is a deep soft green, closest to Dark Slate Gray (ΔE2000 14.5). It sits at 110° on the hue wheel with 31% saturation and 19% lightness, which reads as neutral.

What is the RGB value of #263e21?

rgb(38, 62, 33) — 38 red, 62 green and 33 blue out of 255, or 14.9% / 24.3% / 12.9% by channel.

Is #263e21 a light or a dark color?

It is a dark color. Relative luminance is 0.0397 and perceived brightness is 21%, so white text on it reaches 11.71:1.

Should I use black or white text on #263e21?

White. It scores 11.71:1 against #263e21, versus 1.79:1 for black — AAA at any size.

What is the complementary color of #263e21?

#39213E sits directly opposite on the wheel. Softer options are the split-complements #2A213E and #3E2134, which give the same contrast with far less vibration.

What colors go well with #263e21?

For interface work: #F6FAF5 as the surface, #CEE3CA for borders, #5C9650 for secondary text, #321F40 as an accent and #33532C for hover and pressed states. For a palette, the analogous pair #343E21 and #213E2A stays calm, while #39213E is the loudest partner.

What is #263e21 in CMYK for printing?

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

Is #263e21 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #313E21; nudged cooler, #203F26.

Work with #263e21 in the Color Lab