Skip to content

#08321e

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

RGB
8, 50, 30
HSL
151°, 72%, 11%
CMYK
84, 0, 40, 80
Luminance
0.0243

At a glance

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

Hex
#08321e
Hue
151°
green
Saturation
72%
vivid
Lightness
11%
deep
Brightness
20%
HSV value
Perceived
16%
weighted brightness
Luminance
0.0243
WCAG relative
Temperature
Cool
76/100 cool
Color family
Green
Tone
Vivid
Best ink
White
14.14:1
Closest name
Dark Slate Gray
ΔE2000 14.5
Where it sits
Hue151° of 360°
Saturation72%
Lightness11%
Temperature
Warm ← → Cool76% 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#08321e
RGBrgb(8, 50, 30)
HSLhsl(151, 72%, 11%)
CMYKcmyk(84%, 0%, 40%, 80%)
LABlab(17.6 -20.0 8.7)
LCHlch(17.6 21.9 156.5)
OKLCHoklch(0.283 0.059 158.0)
Decimal537118
Display P3color(display-p3 0.031 0.196 0.118)

Copy-ready code

/* CSS */
color: #08321e;
background-color: #08321e;
/* Tailwind (arbitrary) */
class="text-[#08321e] bg-[#08321e]"
/* SCSS */
$brand: #08321e;
/* SwiftUI */
Color(red: 0.031, green: 0.196, blue: 0.118)
/* Android */
Color.parseColor("#08321e")
/* Flutter */
Color(0xFF08321E)
/* Python / OpenCV (BGR) */
(30, 50, 8)

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

Accessibility — WCAG contrast

Aa
#08321e on white: 14.14:1
AA ✓ pass · AA-large · AAA
Aa
#08321e on black: 1.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #312D1D
deuteranopia · #2C2A1F
tritanopia · #00322D

Color scale — 50 to 950

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

#F3FCF8
#E7F8F0
#C9F3DF
#9EF0C9
#6EE8AE
#3EE093
#22D37F
#1CB069
#178D54
#14663F
#08321e
Base = 950Lightest = 50 · #F3FCF8Darkest = 950 · #08321e
:root {
  --brand-50: #F3FCF8;
  --brand-100: #E7F8F0;
  --brand-200: #C9F3DF;
  --brand-300: #9EF0C9;
  --brand-400: #6EE8AE;
  --brand-500: #3EE093;
  --brand-600: #22D37F;
  --brand-700: #1CB069;
  --brand-800: #178D54;
  --brand-900: #14663F;
  --brand-950: #08321e;
  --brand: #08321e;
  --brand-ink: #ffffff;
}

Colors that work with #08321e

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#F4FAF7
Tinted page background
Border#C0EDD7
Hairlines and dividers
Muted text#4B9B75
Captions on the surface
Accent#330727
Second voice, not a rival
Dark variant#126E42
Hover, pressed, headers
Light variant#E9FBF3
Selected rows, tints
Dark surface#14241C
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 #08321e

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
  • Text on black or near-black surfaces
  • 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#32081C
Analogous left#083209
Analogous right#083132
Split-complement 1#320831
Split-complement 2#320908
Triadic 1#1E0832
Triadic 2#321E08
Tetradic#090832

RGB percentages

Red3.1%
Green19.6%
Blue11.8%

CMYK percentages

Cyan84.0%
Magenta0.0%
Yellow40.0%
Key (black)80.4%

Color previews

#08321e text on a black background

contrast 1.49:1

Card sample

#08321e text on a white background

contrast 14.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(8, 50, 30, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 50, 30, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08321e;
background: linear-gradient(135deg, #08321e, #082A32);

Monochromatic scale

Palettes built from #08321e

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.

#08321e 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.

#08321e, answered

What color is #08321e?

#08321e is a deep vivid green, closest to Dark Slate Gray (ΔE2000 14.5). It sits at 151° on the hue wheel with 72% saturation and 11% lightness, which reads as cool.

What is the RGB value of #08321e?

rgb(8, 50, 30) — 8 red, 50 green and 30 blue out of 255, or 3.1% / 19.6% / 11.8% by channel.

Is #08321e a light or a dark color?

It is a dark color. Relative luminance is 0.0243 and perceived brightness is 16%, so white text on it reaches 14.14:1.

Should I use black or white text on #08321e?

White. It scores 14.14:1 against #08321e, versus 1.49:1 for black — AAA at any size.

What is the complementary color of #08321e?

#32081C sits directly opposite on the wheel. Softer options are the split-complements #320831 and #320908, which give the same contrast with far less vibration.

What colors go well with #08321e?

For interface work: #F4FAF7 as the surface, #C0EDD7 for borders, #4B9B75 for secondary text, #330727 as an accent and #126E42 for hover and pressed states. For a palette, the analogous pair #083209 and #083132 stays calm, while #32081C is the loudest partner.

What is #08321e in CMYK for printing?

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

Is #08321e warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #08320F; nudged cooler, #07332E.

Work with #08321e in the Color Lab