Skip to content

#01a821

a dark, electric green · cool · closest name: Forest Green

RGB
1, 168, 33
HSL
132°, 99%, 33%
CMYK
99, 0, 80, 34
Luminance
0.2812

At a glance

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

Hex
#01a821
Hue
132°
green
Saturation
99%
electric
Lightness
33%
dark
Brightness
66%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2812
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Electric
Best ink
Black
6.62:1
Closest name
Forest Green
ΔE2000 9.6
Where it sits
Hue132° of 360°
Saturation99%
Lightness33%
Temperature
Warm ← → Cool67% 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#01a821
RGBrgb(1, 168, 33)
HSLhsl(132, 99%, 33%)
CMYKcmyk(99%, 0%, 80%, 34%)
LABlab(60.0 -61.7 54.5)
LCHlch(60.0 82.3 138.6)
OKLCHoklch(0.635 0.206 143.9)
Decimal108577
Display P3color(display-p3 0.004 0.659 0.129)

Copy-ready code

/* CSS */
color: #01a821;
background-color: #01a821;
/* Tailwind (arbitrary) */
class="text-[#01a821] bg-[#01a821]"
/* SCSS */
$brand: #01a821;
/* SwiftUI */
Color(red: 0.004, green: 0.659, blue: 0.129)
/* Android */
Color.parseColor("#01a821")
/* Flutter */
Color(0xFF01A821)
/* Python / OpenCV (BGR) */
(33, 168, 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#000000 on #01a821 · 6.62:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.17:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.62:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #01a821 as text scores 3.17:1 on white and 6.62:1 on black.

Accessibility — WCAG contrast

Aa
#01a821 on white: 3.17:1
AA ✗ fail · AA-large · AAA
Aa
#01a821 on black: 6.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AB9700
deuteranopia · #9C8C32
tritanopia · #00A38F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #01a821 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1FEF4
#E3FCE8
#C0FBCC
#8FFEA5
#58FE78
#20FE4A
#01F330
#01CB28
#01a821
#06751B
#034911
Base = 800Lightest = 50 · #F1FEF4Darkest = 950 · #034911
:root {
  --brand-50: #F1FEF4;
  --brand-100: #E3FCE8;
  --brand-200: #C0FBCC;
  --brand-300: #8FFEA5;
  --brand-400: #58FE78;
  --brand-500: #20FE4A;
  --brand-600: #01F330;
  --brand-700: #01CB28;
  --brand-800: #01a821;
  --brand-900: #06751B;
  --brand-950: #034911;
  --brand: #01a821;
  --brand-ink: #000000;
}

Colors that work with #01a821

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAF5
Tinted page background
Border#C0EDC8
Hairlines and dividers
Muted text#4B9B5A
Captions on the surface
Accent#9F00A9
Second voice, not a rival
Dark variant#017F19
Hover, pressed, headers
Light variant#E6FFEA
Selected rows, tints
Dark surface#142417
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 #01a821

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • 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#A80188
Analogous left#34A801
Analogous right#01A874
Split-complement 1#7401A8
Split-complement 2#A80134
Triadic 1#2101A8
Triadic 2#A82101
Tetradic#0134A8

RGB percentages

Red0.4%
Green65.9%
Blue12.9%

CMYK percentages

Cyan99.4%
Magenta0.0%
Yellow80.4%
Key (black)34.1%

Color previews

#01a821 text on a black background

contrast 6.62:1

Card sample

#01a821 text on a white background

contrast 3.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(1, 168, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(1, 168, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #01a821;
background: linear-gradient(135deg, #01a821, #01A890);

Monochromatic scale

Palettes built from #01a821

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.

#01a821 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.

#01a821, answered

What color is #01a821?

#01a821 is a dark electric green, closest to Forest Green (ΔE2000 9.6). It sits at 132° on the hue wheel with 99% saturation and 33% lightness, which reads as cool.

What is the RGB value of #01a821?

rgb(1, 168, 33) — 1 red, 168 green and 33 blue out of 255, or 0.4% / 65.9% / 12.9% by channel.

Is #01a821 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2812 and perceived brightness is 51%, so black text on it reaches 6.62:1.

Should I use black or white text on #01a821?

Black. It scores 6.62:1 against #01a821, versus 3.17:1 for white — AA at any size.

What is the complementary color of #01a821?

#A80188 sits directly opposite on the wheel. Softer options are the split-complements #7401A8 and #A80134, which give the same contrast with far less vibration.

What colors go well with #01a821?

For interface work: #F4FAF5 as the surface, #C0EDC8 for borders, #4B9B5A for secondary text, #9F00A9 as an accent and #017F19 for hover and pressed states. For a palette, the analogous pair #34A801 and #01A874 stays calm, while #A80188 is the loudest partner.

What is #01a821 in CMYK for printing?

cmyk(99%, 0%, 80%, 34%). 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 #01a821 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1EA801; nudged cooler, #00A95E.

Work with #01a821 in the Color Lab