Skip to content

#01af2d

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

RGB
1, 175, 45
HSL
135°, 99%, 35%
CMYK
99, 0, 74, 31
Luminance
0.3086

At a glance

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

Hex
#01af2d
Hue
135°
green
Saturation
99%
electric
Lightness
35%
dark
Brightness
69%
HSV value
Perceived
53%
weighted brightness
Luminance
0.3086
WCAG relative
Temperature
Cool
69/100 cool
Color family
Green
Tone
Electric
Best ink
Black
7.17:1
Closest name
Lime Green
ΔE2000 8.5
Where it sits
Hue135° of 360°
Saturation99%
Lightness35%
Temperature
Warm ← → Cool69% 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#01af2d
RGBrgb(1, 175, 45)
HSLhsl(135, 99%, 35%)
CMYKcmyk(99%, 0%, 74%, 31%)
LABlab(62.4 -62.9 52.8)
LCHlch(62.4 82.1 140.0)
OKLCHoklch(0.655 0.207 144.8)
Decimal110381
Display P3color(display-p3 0.004 0.686 0.176)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#01af2d on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#01af2d on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B29E14
deuteranopia · #A2933B
tritanopia · #00AA96

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #01af2d 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
#E3FCEA
#C0FBCF
#8FFEAC
#58FE82
#20FE58
#01F33F
#01CB34
#01af2d
#067522
#034915
Base = 800Lightest = 50 · #F1FEF4Darkest = 950 · #034915
:root {
  --brand-50: #F1FEF4;
  --brand-100: #E3FCEA;
  --brand-200: #C0FBCF;
  --brand-300: #8FFEAC;
  --brand-400: #58FE82;
  --brand-500: #20FE58;
  --brand-600: #01F33F;
  --brand-700: #01CB34;
  --brand-800: #01af2d;
  --brand-900: #067522;
  --brand-950: #034915;
  --brand: #01af2d;
  --brand-ink: #000000;
}

Colors that work with #01af2d

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#F4FAF6
Tinted page background
Border#C0EDCB
Hairlines and dividers
Muted text#4B9B5F
Captions on the surface
Accent#B000AF
Second voice, not a rival
Dark variant#017F21
Hover, pressed, headers
Light variant#E6FFEC
Selected rows, tints
Dark surface#142418
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 #01af2d

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#AF0183
Analogous left#2CAF01
Analogous right#01AF84
Split-complement 1#8401AF
Split-complement 2#AF012C
Triadic 1#2D01AF
Triadic 2#AF2D01
Tetradic#012CAF

RGB percentages

Red0.4%
Green68.6%
Blue17.6%

CMYK percentages

Cyan99.4%
Magenta0.0%
Yellow74.3%
Key (black)31.4%

Color previews

#01af2d text on a black background

contrast 7.17:1

Card sample

#01af2d text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #01af2d

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.

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

#01af2d, answered

What color is #01af2d?

#01af2d is a dark electric green, closest to Lime Green (ΔE2000 8.5). It sits at 135° on the hue wheel with 99% saturation and 35% lightness, which reads as cool.

What is the RGB value of #01af2d?

rgb(1, 175, 45) — 1 red, 175 green and 45 blue out of 255, or 0.4% / 68.6% / 17.6% by channel.

Is #01af2d a light or a dark color?

It is a mid-tone. Relative luminance is 0.3086 and perceived brightness is 53%, so black text on it reaches 7.17:1.

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

Black. It scores 7.17:1 against #01af2d, versus 2.93:1 for white — AAA at any size.

What is the complementary color of #01af2d?

#AF0183 sits directly opposite on the wheel. Softer options are the split-complements #8401AF and #AF012C, which give the same contrast with far less vibration.

What colors go well with #01af2d?

For interface work: #F4FAF6 as the surface, #C0EDCB for borders, #4B9B5F for secondary text, #B000AF as an accent and #017F21 for hover and pressed states. For a palette, the analogous pair #2CAF01 and #01AF84 stays calm, while #AF0183 is the loudest partner.

What is #01af2d in CMYK for printing?

cmyk(99%, 0%, 74%, 31%). 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 #01af2d warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #15AF01; nudged cooler, #00B06D.

Work with #01af2d in the Color Lab