Skip to content

#082c1f

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

RGB
8, 44, 31
HSL
158°, 69%, 10%
CMYK
82, 0, 30, 83
Luminance
0.0195

At a glance

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

Hex
#082c1f
Hue
158°
green
Saturation
69%
vivid
Lightness
10%
deep
Brightness
17%
HSV value
Perceived
14%
weighted brightness
Luminance
0.0195
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Vivid
Best ink
White
15.10:1
Closest name
Dark Slate Gray
ΔE2000 13.7
Where it sits
Hue158° of 360°
Saturation69%
Lightness10%
Temperature
Warm ← → Cool78% 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#082c1f
RGBrgb(8, 44, 31)
HSLhsl(158, 69%, 10%)
CMYKcmyk(82%, 0%, 30%, 83%)
LABlab(15.2 -16.7 4.8)
LCHlch(15.2 17.3 164.0)
OKLCHoklch(0.263 0.048 165.1)
Decimal535583
Display P3color(display-p3 0.031 0.173 0.122)

Copy-ready code

/* CSS */
color: #082c1f;
background-color: #082c1f;
/* Tailwind (arbitrary) */
class="text-[#082c1f] bg-[#082c1f]"
/* SCSS */
$brand: #082c1f;
/* SwiftUI */
Color(red: 0.031, green: 0.173, blue: 0.122)
/* Android */
Color.parseColor("#082c1f")
/* Flutter */
Color(0xFF082C1F)
/* Python / OpenCV (BGR) */
(31, 44, 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 #082c1f · 15.10:1
Use #ffffffAAA at every size.
Aa
White text · 15.10:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.39:1
AA fail · AA large fail · AAA fail
Reading the other direction: #082c1f as text scores 15.10:1 on white and 1.39:1 on black.

Accessibility — WCAG contrast

Aa
#082c1f on white: 15.10:1
AA ✓ pass · AA-large · AAA
Aa
#082c1f on black: 1.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2B281E
deuteranopia · #262520
tritanopia · #002C28

Color scale — 50 to 950

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

#F3FBF8
#E7F8F2
#CAF2E3
#A0EED2
#71E5BB
#41DCA4
#26CF92
#1FAD7A
#198A61
#166448
#082c1f
Base = 950Lightest = 50 · #F3FBF8Darkest = 950 · #082c1f
:root {
  --brand-50: #F3FBF8;
  --brand-100: #E7F8F2;
  --brand-200: #CAF2E3;
  --brand-300: #A0EED2;
  --brand-400: #71E5BB;
  --brand-500: #41DCA4;
  --brand-600: #26CF92;
  --brand-700: #1FAD7A;
  --brand-800: #198A61;
  --brand-900: #166448;
  --brand-950: #082c1f;
  --brand: #082c1f;
  --brand-ink: #ffffff;
}

Colors that work with #082c1f

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#F4FAF8
Tinted page background
Border#C0EDDC
Hairlines and dividers
Muted text#4B9B7E
Captions on the surface
Accent#2D071E
Second voice, not a rival
Dark variant#146C4C
Hover, pressed, headers
Light variant#E9FBF5
Selected rows, tints
Dark surface#14241E
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 #082c1f

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#2C0815
Analogous left#082C0D
Analogous right#08272C
Split-complement 1#2C0827
Split-complement 2#2C0D08
Triadic 1#1F082C
Triadic 2#2C1F08
Tetradic#0D082C

RGB percentages

Red3.1%
Green17.3%
Blue12.2%

CMYK percentages

Cyan81.8%
Magenta0.0%
Yellow29.5%
Key (black)82.7%

Color previews

#082c1f text on a black background

contrast 1.39:1

Card sample

#082c1f text on a white background

contrast 15.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(8, 44, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 44, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #082c1f;
background: linear-gradient(135deg, #082c1f, #08212C);

Monochromatic scale

Palettes built from #082c1f

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.

#082c1f 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.

#082c1f, answered

What color is #082c1f?

#082c1f is a deep vivid green, closest to Dark Slate Gray (ΔE2000 13.7). It sits at 158° on the hue wheel with 69% saturation and 10% lightness, which reads as cool.

What is the RGB value of #082c1f?

rgb(8, 44, 31) — 8 red, 44 green and 31 blue out of 255, or 3.1% / 17.3% / 12.2% by channel.

Is #082c1f a light or a dark color?

It is a dark color. Relative luminance is 0.0195 and perceived brightness is 14%, so white text on it reaches 15.10:1.

Should I use black or white text on #082c1f?

White. It scores 15.10:1 against #082c1f, versus 1.39:1 for black — AAA at any size.

What is the complementary color of #082c1f?

#2C0815 sits directly opposite on the wheel. Softer options are the split-complements #2C0827 and #2C0D08, which give the same contrast with far less vibration.

What colors go well with #082c1f?

For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7E for secondary text, #2D071E as an accent and #146C4C for hover and pressed states. For a palette, the analogous pair #082C0D and #08272C stays calm, while #2C0815 is the loudest partner.

What is #082c1f in CMYK for printing?

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

Is #082c1f warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #082C12; nudged cooler, #072C2D.

Work with #082c1f in the Color Lab