Skip to content
green · cool

#224328

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

Token name suggestion: Midnight Basil

RGB
34, 67, 40
HSL
131°, 33%, 20%
CMYK
49, 0, 40, 74
Luminance
0.0451

#224328 is a deep soft green, 131° on the wheel and 66/100 on the cool side. Put white text on it (11.04:1). As text it scores 11.04:1 on white — safe at any size. Nearest name is Dark Slate Gray, nearest Tailwind family is neutral.

hsl(131 33% 20%)rgb(34 67 40)Base step 900AAA inkCool

At a glance

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

Hex
#224328
Hue
131°
green
Saturation
33%
soft
Lightness
20%
deep
Brightness
26%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0451
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Soft
Best ink
White
11.04:1
Closest name
Dark Slate Gray
ΔE2000 13.2
Chroma
22.9
LCH, 0–130ish
OKLCH L
0.349
perceptual lightness
Tailwind
neutral
500 · ΔE 26.7
Web-safe
#333333
nearest of 216
Where it sits
Hue131° of 360°
Saturation33%
Lightness20%
Saturation × lightness field

Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #224328.

Temperature
Warm ← → Cool66% cool

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

Luminance by channel
Red8%
Green89%
Blue3%

Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.

Every format

HEX#224328
HEX (8-digit)#224328ff
RGBrgb(34, 67, 40)
RGBArgba(34, 67, 40, 1)
HSLhsl(131, 33%, 20%)
HSV / HSBhsv(131, 49%, 26%)
HWBhwb(131 13% 74%)
CMYKcmyk(49%, 0%, 40%, 74%)
LABlab(25.3 -19.1 12.7)
LCHlch(25.3 22.9 146.2)
OKLCHoklch(0.349 0.061 148.4)
XYZ (D65)xyz(3.05, 4.51, 2.72)
Decimal2245416
Display P3color(display-p3 0.133 0.263 0.157)
Web-safe#333333

Copy-ready code

every platformclick to select
/* CSS */
color: #224328;
background-color: #224328;
/* CSS custom property */
--brand: #224328;
/* Tailwind (arbitrary) */
class="text-[#224328] bg-[#224328]"
/* SCSS */
$brand: #224328;
/* SwiftUI */
Color(red: 0.133, green: 0.263, blue: 0.157)
/* UIKit */
UIColor(red: 0.133, green: 0.263, blue: 0.157, alpha: 1)
/* Android XML */
<color name="brand">#224328</color>
/* Android Compose */
Color(0xFF224328)
/* Flutter */
Color(0xFF224328)
/* Python / OpenCV (BGR) */
(40, 67, 34)
/* Python / PIL (RGB) */
(34, 67, 40)
/* Java AWT */
new Color(34, 67, 40)
/* .NET */
Color.FromArgb(255, 34, 67, 40)
/* OpenGL / Unity (0–1) */
(0.1333f, 0.2627f, 0.1569f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{34,67,40}
modern cssclick to select
/* mix without leaving CSS */
background: color-mix(in oklab, #224328 85%, white);
border-color: color-mix(in oklab, #224328 40%, transparent);
/* theme-aware in one line */
color: light-dark(#2B5532, #D6EADA);
/* relative colour syntax */
--hover: hsl(from #224328 h s calc(l - 7));

Design tokens

The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.

css custom propertiesclick to select
:root {
  --brand-50: #F5F9F6;
  --brand-100: #ECF4ED;
  --brand-200: #D4E7D8;
  --brand-300: #B5D9BB;
  --brand-400: #8FC699;
  --brand-500: #6AB377;
  --brand-600: #52A261;
  --brand-700: #458751;
  --brand-800: #376C41;
  --brand-900: #224328;
  --brand-950: #1B321F;
  --brand: #224328;
  --brand-ink: #ffffff;
  --brand-surface: #F5FAF6;
  --brand-border: #C9E4CE;
  --brand-hover: #162B1A;
  --brand-pressed: #0A140C;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-surface: #142417;
    --brand-ink: #D6EADA;
  }
}
tailwind.config.jsclick to select
theme: {
  extend: {
    colors: {
      brand: {
        50: '#F5F9F6',
        100: '#ECF4ED',
        200: '#D4E7D8',
        300: '#B5D9BB',
        400: '#8FC699',
        500: '#6AB377',
        600: '#52A261',
        700: '#458751',
        800: '#376C41',
        900: '#224328',
        950: '#1B321F',
        DEFAULT: '#224328',
      },
    },
  },
}
scss mapclick to select
$brand: (
  '50': #F5F9F6,
  '100': #ECF4ED,
  '200': #D4E7D8,
  '300': #B5D9BB,
  '400': #8FC699,
  '500': #6AB377,
  '600': #52A261,
  '700': #458751,
  '800': #376C41,
  '900': #224328,
  '950': #1B321F,
);
$brand-base: #224328;
$brand-ink: #ffffff;

@function brand($step) { @return map-get($brand, $step); }
w3c design tokens (json)click to select
{
  "color": {
    "brand": {
      "50": { "$value": "#F5F9F6", "$type": "color" },
      "100": { "$value": "#ECF4ED", "$type": "color" },
      "200": { "$value": "#D4E7D8", "$type": "color" },
      "300": { "$value": "#B5D9BB", "$type": "color" },
      "400": { "$value": "#8FC699", "$type": "color" },
      "500": { "$value": "#6AB377", "$type": "color" },
      "600": { "$value": "#52A261", "$type": "color" },
      "700": { "$value": "#458751", "$type": "color" },
      "800": { "$value": "#376C41", "$type": "color" },
      "900": { "$value": "#224328", "$type": "color" },
      "950": { "$value": "#1B321F", "$type": "color" }
    },
    "brandInk": { "$value": "#ffffff", "$type": "color" }
  }
}

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 #224328 · 11.04:1
Use #ffffffAAA at every size.
Aa
12px
Aa
16px
Aa
24px
Aa
White text · 11.04:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.90:1
AA fail · AA large fail · AAA fail
Reading the other direction: #224328 as text scores 11.04:1 on white and 1.90:1 on black.
Best tinted ink on it, if plain black or white feels flat: #EEF6F0 at 10.03:1.

Make it accessible

A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.

The quick fox
#224328 · 11.04:1
AA on whitealready passes
#224328
The quick fox
#224328 · 11.04:1
AAA on whitealready passes
#224328
The quick fox
#43834E · 4.60:1
AA on black+19% L
#43834E
The quick fox
#55A965 · 7.25:1
AAA on black+30% L
#55A965

Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #224328 is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).

Accessibility — WCAG contrast

Aa
#224328 on white: 11.04:1
AA ✓ pass · AA-large · AAA
Aa
#224328 on black: 1.90:1
AA ✗ fail · AA-large · AAA
Against the neutral ladder

Contrast is symmetric, so each row covers both directions: #224328 as text on that neutral, and that neutral as text on #224328.

NeutralRatioBoth directions
White11.04:1AaAa
Slate 5010.56:1AaAa
Slate 10010.08:1AaAa
Slate 2008.96:1AaAa
Slate 3007.44:1AaAa
Slate 4004.31:1AaAa
Slate 5002.32:1AaAa
Slate 6001.46:1AaAa
Slate 7001.07:1AaAa
Slate 8001.32:1AaAa
Slate 9001.62:1AaAa
Black1.90:1AaAa
Colour vision deficiency
true color
protanopia · #443E26
deuteranopia · #3F3B2A
tritanopia · #1D423C

Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.

Color scale — 50 to 950

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

#F5F9F6
#ECF4ED
#D4E7D8
#B5D9BB
#8FC699
#6AB377
#52A261
#458751
#376C41
#224328
#1B321F
Base = 900Lightest = 50 · #F5F9F6Darkest = 950 · #1B321FText step on white = 800
Perceptual ramp — OKLCH

The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.

50100200300400500600700800900950
oklch tokensclick to select
:root {
  --brand-50: oklch(0.97 0.015 148.4);
  --brand-100: oklch(0.94 0.024 148.4);
  --brand-200: oklch(0.88 0.037 148.4);
  --brand-300: oklch(0.80 0.048 148.4);
  --brand-400: oklch(0.72 0.056 148.4);
  --brand-500: oklch(0.64 0.061 148.4);
  --brand-600: oklch(0.56 0.061 148.4);
  --brand-700: oklch(0.48 0.057 148.4);
  --brand-800: oklch(0.40 0.051 148.4);
  --brand-900: oklch(0.32 0.043 148.4);
  --brand-950: oklch(0.24 0.033 148.4);
}

Colors that work with #224328

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#F5FAF6
Tinted page background
Border#C9E4CE
Hairlines and dividers
Muted text#4D985B
Captions on the surface
Accent#422045
Second voice, not a rival
Dark variant#2B5532
Hover, pressed, headers
Light variant#EEF6F0
Selected rows, tints
Dark surface#142417
Dark-mode background
Hover#162B1A
One step down in lightness
Pressed#0A140C
Two steps down
Disabled#53825C
Chroma pulled out
Focus ring#23572C
Offset from the fill so it reads
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

In real components

The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.

Buttons and states
Save changesHoverPressedDisabled
OutlineSubtleLinkFocused
Form field
you@company.com

Focus ring uses the light variant so the field still reads as one shape.

Send me product updates
Notice
Your export is ready

The file stays available for seven days. Download it before it expires.

NewBetaDraft
Data
Storage used68%
Acme LtdActive
NorthwindTrial
GlobexActive

How to use #224328

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
  • Status meaning — pair it with an icon or label, never colour alone
  • Pairing with a same-lightness hue — edges vibrate
Minimum size as text on white
Any size
Safe as a fill behind white type
Yes
Safe as a 1px border on white
Yes

Meaning and mood

What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.

safegrowingnaturalpermissive

Green means go, well, and grown. It carries finance, sustainability and health with almost no explanation needed.

The muted chroma softens the association — it reads considered rather than loud, which suits long-form and data-heavy screens. The low lightness adds weight and formality.

Worth knowing

Red/green pairs are the most common colour-blindness failure — never let the two carry meaning alone.

Reads as
  • FormalityHigh
  • EnergyMedium
  • Weight80/100
  • TemperatureCool
  • ApproachabilityReserved

Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.

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#43223D
Analogous left#2C4322
Analogous right#224338
Split-complement 1#382243
Split-complement 2#43222C
Triadic 1#282243
Triadic 2#432822
Tetradic#222C43
On the wheel
Base+30°−30°+120°+240°+180°131°

#224328 sits at 131°. Every dot is a harmony position and links to its own page in the table alongside.

RGB percentages

Red13.3%
Green26.3%
Blue15.7%
R · 0–255
34
0x22
G · 0–255
67
0x43
B · 0–255
40
0x28

CMYK percentages

Cyan49.3%
Magenta0.0%
Yellow40.3%
Key (black)73.7%

Total ink coverage is 163%. Most commercial presses cap around 300% — above that, sheets stop drying properly.

Color previews

#224328 text on a black background

contrast 1.90:1

Card sample

#224328 text on a white background

contrast 11.04:1

Card sample

#224328 on grey

10.08:1

#224328 on its own surface

10.46:1

#224328 on its dark surface

1.47:1

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(34, 67, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(34, 67, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #224328;
background: linear-gradient(135deg, #224328, #22433E);
Gradient text

Gradient headline

background: linear-gradient(90deg, #224328, #224043);
-webkit-background-clip: text;
color: transparent;
Focus ring
Focused control
outline: 2px solid #224328;
outline-offset: 3px;
Underline & caret

Marked up text

text-decoration-color: #224328;
caret-color: #224328;
Left rule
Pull quote or callout
border-left: 4px solid #224328;
Ring + tint
Selected chip
background: #EEF6F0;
box-shadow: inset 0 0 0 2px #224328;
Conic badge
68%
background: conic-gradient(#224328 68%, #e2e8f0 0);

Transparency

What each alpha value actually composites to. The top row is #224328 over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.

Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.

alpha in every syntaxclick to select
rgba(34, 67, 40, 0.5)
rgb(34 67 40 / 50%)
#22432880
hsl(131 33% 20% / 50%)
color-mix(in srgb, #224328 50%, transparent)
Alpha8-digit hexFlat on white
10%#2243281a#E9ECEA
20%#22432833#D3D9D4
40%#22432866#A7B4A9
60%#22432899#7A8E7E
80%#224328cc#4E6953

Gradients from #224328

Six recipes, each built from this hex and shown with the exact CSS that produced it.

Elevation
Same hue, three lightnesses — safe anywhere
background: linear-gradient(135deg, #376C40, #224328 45%, #2B5532);
Duotone
A short hue run reads richer than a flat fill
background: linear-gradient(120deg, #224328, #182F2D);
Complement sweep
Loud — keep it behind large type only
background: linear-gradient(90deg, #224328, #43223D);
Spotlight
Hero panels and app headers
background: radial-gradient(120% 120% at 20% 0%, #41804C 0%, #224328 45%, #2B5532 100%);
Soft wash
Section backgrounds that stay readable
background: linear-gradient(180deg, #F5FAF6, #ffffff);
Mesh
Ambient background, no image weight
background: radial-gradient(60% 60% at 15% 20%, #476533 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #2C574D 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #2B5532 0%, transparent 65%), #224328;

Monochromatic scale

Palettes built from #224328

Shades — darker

Tints — lighter

Tones — desaturated

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.

#224328 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.

On screens

Very dark values collapse into each other on cheap panels — leave more lightness between your darkest steps than the numbers suggest.

In dark mode

Too dim on dark surfaces at 1.90:1 — lift it to #43834E for body text, or reserve it for fills.

Explore nearby colors

Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.

#224328, answered

What color is #224328?

#224328 is a deep soft green, closest to Dark Slate Gray (ΔE2000 13.2). It sits at 131° on the hue wheel with 33% saturation and 20% lightness, which reads as cool.

What is the RGB value of #224328?

rgb(34, 67, 40) — 34 red, 67 green and 40 blue out of 255, or 13.3% / 26.3% / 15.7% by channel.

What is #224328 in HSL and HSV?

hsl(131, 33%, 20%) and hsv(131, 49%, 26%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.

Is #224328 a light or a dark color?

It is a dark color. Relative luminance is 0.0451 and perceived brightness is 22%, so white text on it reaches 11.04:1.

Should I use black or white text on #224328?

White. It scores 11.04:1 against #224328, versus 1.90:1 for black — AAA at any size.

Is #224328 accessible on a white background?

#224328 on white scores 11.04:1, which clears AAA at every size.

What is the complementary color of #224328?

#43223D sits directly opposite on the wheel. Softer options are the split-complements #382243 and #43222C, which give the same contrast with far less vibration.

What colors go well with #224328?

For interface work: #F5FAF6 as the surface, #C9E4CE for borders, #4D985B for secondary text, #422045 as an accent and #2B5532 for hover and pressed states. For a palette, the analogous pair #2C4322 and #224338 stays calm, while #43223D is the loudest partner.

What is #224328 in CMYK for printing?

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

Is #224328 warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #284322; nudged cooler, #214434.

Which Tailwind color is closest to #224328?

The neutral family — its 500 step is #737373, ΔE2000 26.7 away. That is a visible difference, so define #224328 as a custom token rather than reaching for the built-in.

How do I use #224328 in Tailwind CSS?

Inline it as an arbitrary value with bg-[#224328] or text-[#224328], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.

What is #224328 with 50% opacity?

rgba(34, 67, 40, 0.5), or #22432880 in eight-digit hex. Over white that composites to #91A194; over black, #112214.

Is #224328 a web-safe color?

No. The nearest web-safe colour is #333333, ΔE2000 18.4 away. The palette only matters for legacy displays and some email clients now.

What does the color #224328 mean?

As a green, it reads safe, growing, natural. Green means go, well, and grown. It carries finance, sustainability and health with almost no explanation needed. At this moderate chroma the association is present but not shouted.

What gradient works with #224328?

The safest is same-hue elevation: linear-gradient(135deg, #376C40, #224328 45%, #2B5532). For more colour, a short hue run to #182F2D keeps it rich without turning muddy.

Work with #224328 in the Color Lab

Every tool opens with this colour already loaded.

Every value on this page is computed from #224328 at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.