Skip to content

#233e21

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

RGB
35, 62, 33
HSL
116°, 31%, 19%
CMYK
44, 0, 47, 76
Luminance
0.0391

At a glance

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

Hex
#233e21
Hue
116°
green
Saturation
31%
soft
Lightness
19%
deep
Brightness
24%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0391
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Soft
Best ink
White
11.78:1
Closest name
Dark Slate Gray
ΔE2000 14.5
Where it sits
Hue116° of 360°
Saturation31%
Lightness19%
Temperature
Warm ← → Cool59% cool

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

Every format

HEX#233e21
RGBrgb(35, 62, 33)
HSLhsl(116, 31%, 19%)
CMYKcmyk(44%, 0%, 47%, 76%)
LABlab(23.4 -17.4 14.7)
LCHlch(23.4 22.7 139.8)
OKLCHoklch(0.334 0.060 142.6)
Decimal2309665
Display P3color(display-p3 0.137 0.243 0.129)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#233e21 on white: 11.78:1
AA ✓ pass · AA-large · AAA
Aa
#233e21 on black: 1.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3F391F
deuteranopia · #3B3723
tritanopia · #203C37

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #233e21 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
#D6E7D5
#B8D8B6
#95C591
#71B16D
#5AA055
#4B8547
#3C6A39
#2E4E2C
#233e21
Base = 950Lightest = 50 · #F6F9F6Darkest = 950 · #233e21
:root {
  --brand-50: #F6F9F6;
  --brand-100: #EDF3EC;
  --brand-200: #D6E7D5;
  --brand-300: #B8D8B6;
  --brand-400: #95C591;
  --brand-500: #71B16D;
  --brand-600: #5AA055;
  --brand-700: #4B8547;
  --brand-800: #3C6A39;
  --brand-900: #2E4E2C;
  --brand-950: #233e21;
  --brand: #233e21;
  --brand-ink: #ffffff;
}

Colors that work with #233e21

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#F5FAF5
Tinted page background
Border#CBE3CA
Hairlines and dividers
Muted text#559650
Captions on the surface
Accent#351F40
Second voice, not a rival
Dark variant#2F532C
Hover, pressed, headers
Light variant#EFF6EE
Selected rows, tints
Dark surface#152414
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 #233e21

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#3C213E
Analogous left#313E21
Analogous right#213E2D
Split-complement 1#2D213E
Split-complement 2#3E2131
Triadic 1#21233E
Triadic 2#3E2123
Tetradic#21313E

RGB percentages

Red13.7%
Green24.3%
Blue12.9%

CMYK percentages

Cyan43.5%
Magenta0.0%
Yellow46.8%
Key (black)75.7%

Color previews

#233e21 text on a black background

contrast 1.78:1

Card sample

#233e21 text on a white background

contrast 11.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #233e21

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.

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

#233e21, answered

What color is #233e21?

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

What is the RGB value of #233e21?

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

Is #233e21 a light or a dark color?

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

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

White. It scores 11.78:1 against #233e21, versus 1.78:1 for black — AAA at any size.

What is the complementary color of #233e21?

#3C213E sits directly opposite on the wheel. Softer options are the split-complements #2D213E and #3E2131, which give the same contrast with far less vibration.

What colors go well with #233e21?

For interface work: #F5FAF5 as the surface, #CBE3CA for borders, #559650 for secondary text, #351F40 as an accent and #2F532C for hover and pressed states. For a palette, the analogous pair #313E21 and #213E2D stays calm, while #3C213E is the loudest partner.

What is #233e21 in CMYK for printing?

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

Is #233e21 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2E3E21; nudged cooler, #203F29.

Work with #233e21 in the Color Lab