Skip to content

#01331d

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

RGB
1, 51, 29
HSL
154°, 96%, 10%
CMYK
98, 0, 43, 80
Luminance
0.0246

At a glance

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

Hex
#01331d
Hue
154°
green
Saturation
96%
electric
Lightness
10%
deep
Brightness
20%
HSV value
Perceived
16%
weighted brightness
Luminance
0.0246
WCAG relative
Temperature
Cool
77/100 cool
Color family
Green
Tone
Electric
Best ink
White
14.07:1
Closest name
Dark Slate Gray
ΔE2000 15.2
Where it sits
Hue154° of 360°
Saturation96%
Lightness10%
Temperature
Warm ← → Cool77% 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#01331d
RGBrgb(1, 51, 29)
HSLhsl(154, 96%, 10%)
CMYKcmyk(98%, 0%, 43%, 80%)
LABlab(17.8 -22.4 9.6)
LCHlch(17.8 24.3 156.8)
OKLCHoklch(0.283 0.065 158.3)
Decimal78621
Display P3color(display-p3 0.004 0.200 0.114)

Copy-ready code

/* CSS */
color: #01331d;
background-color: #01331d;
/* Tailwind (arbitrary) */
class="text-[#01331d] bg-[#01331d]"
/* SCSS */
$brand: #01331d;
/* SwiftUI */
Color(red: 0.004, green: 0.200, blue: 0.114)
/* Android */
Color.parseColor("#01331d")
/* Flutter */
Color(0xFF01331D)
/* Python / OpenCV (BGR) */
(29, 51, 1)

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 #01331d · 14.07:1
Use #ffffffAAA at every size.
Aa
White text · 14.07: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: #01331d as text scores 14.07:1 on white and 1.49:1 on black.

Accessibility — WCAG contrast

Aa
#01331d on white: 14.07:1
AA ✓ pass · AA-large · AAA
Aa
#01331d on black: 1.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #322E1C
deuteranopia · #2D2A1E
tritanopia · #00332D

Color scale — 50 to 950

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

#F1FDF8
#E4FCF1
#C1FAE1
#91FDCD
#5AFCB5
#23FB9C
#05F089
#04C872
#03A05B
#077344
#01331d
Base = 950Lightest = 50 · #F1FDF8Darkest = 950 · #01331d
:root {
  --brand-50: #F1FDF8;
  --brand-100: #E4FCF1;
  --brand-200: #C1FAE1;
  --brand-300: #91FDCD;
  --brand-400: #5AFCB5;
  --brand-500: #23FB9C;
  --brand-600: #05F089;
  --brand-700: #04C872;
  --brand-800: #03A05B;
  --brand-900: #077344;
  --brand-950: #01331d;
  --brand: #01331d;
  --brand-ink: #ffffff;
}

Colors that work with #01331d

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#C0EDD9
Hairlines and dividers
Muted text#4B9B78
Captions on the surface
Accent#340024
Second voice, not a rival
Dark variant#027D47
Hover, pressed, headers
Light variant#E6FFF4
Selected rows, tints
Dark surface#14241D
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 #01331d

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#330117
Analogous left#013304
Analogous right#013033
Split-complement 1#330130
Split-complement 2#330401
Triadic 1#1D0133
Triadic 2#331D01
Tetradic#040133

RGB percentages

Red0.4%
Green20.0%
Blue11.4%

CMYK percentages

Cyan98.0%
Magenta0.0%
Yellow43.1%
Key (black)80.0%

Color previews

#01331d text on a black background

contrast 1.49:1

Card sample

#01331d text on a white background

contrast 14.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(1, 51, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 51, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #01331d;
background: linear-gradient(135deg, #01331d, #012833);

Monochromatic scale

Palettes built from #01331d

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.

#01331d 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#01331d, answered

What color is #01331d?

#01331d is a deep electric green, closest to Dark Slate Gray (ΔE2000 15.2). It sits at 154° on the hue wheel with 96% saturation and 10% lightness, which reads as cool.

What is the RGB value of #01331d?

rgb(1, 51, 29) — 1 red, 51 green and 29 blue out of 255, or 0.4% / 20% / 11.4% by channel.

Is #01331d a light or a dark color?

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

Should I use black or white text on #01331d?

White. It scores 14.07:1 against #01331d, versus 1.49:1 for black — AAA at any size.

What is the complementary color of #01331d?

#330117 sits directly opposite on the wheel. Softer options are the split-complements #330130 and #330401, which give the same contrast with far less vibration.

What colors go well with #01331d?

For interface work: #F4FAF8 as the surface, #C0EDD9 for borders, #4B9B78 for secondary text, #340024 as an accent and #027D47 for hover and pressed states. For a palette, the analogous pair #013304 and #013033 stays calm, while #330117 is the loudest partner.

What is #01331d in CMYK for printing?

cmyk(98%, 0%, 43%, 80%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #01331d warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #01330B; nudged cooler, #003430.

Work with #01331d in the Color Lab