Skip to content

#02a63f

a dark, electric green · cool · closest name: Medium Sea Green

RGB
2, 166, 63
HSL
142°, 98%, 33%
CMYK
99, 0, 62, 35
Luminance
0.2764

At a glance

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

Hex
#02a63f
Hue
142°
green
Saturation
98%
electric
Lightness
33%
dark
Brightness
65%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2764
WCAG relative
Temperature
Cool
72/100 cool
Color family
Green
Tone
Electric
Best ink
Black
6.53:1
Closest name
Medium Sea Green
ΔE2000 8
Where it sits
Hue142° of 360°
Saturation98%
Lightness33%
Temperature
Warm ← → Cool72% 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#02a63f
RGBrgb(2, 166, 63)
HSLhsl(142, 98%, 33%)
CMYKcmyk(99%, 0%, 62%, 35%)
LABlab(59.6 -58.2 42.3)
LCHlch(59.6 71.9 144.0)
OKLCHoklch(0.632 0.185 147.5)
Decimal173631
Display P3color(display-p3 0.008 0.651 0.247)

Copy-ready code

/* CSS */
color: #02a63f;
background-color: #02a63f;
/* Tailwind (arbitrary) */
class="text-[#02a63f] bg-[#02a63f]"
/* SCSS */
$brand: #02a63f;
/* SwiftUI */
Color(red: 0.008, green: 0.651, blue: 0.247)
/* Android */
Color.parseColor("#02a63f")
/* Flutter */
Color(0xFF02A63F)
/* Python / OpenCV (BGR) */
(63, 166, 2)

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 #02a63f · 6.53:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.22:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.53:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #02a63f as text scores 3.22:1 on white and 6.53:1 on black.

Accessibility — WCAG contrast

Aa
#02a63f on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#02a63f on black: 6.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A89634
deuteranopia · #998B48
tritanopia · #00A290

Color scale — 50 to 950

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

#F1FDF6
#E4FCED
#C1FBD6
#90FEB9
#59FD96
#21FC73
#03F25C
#02CA4C
#02a63f
#06742F
#04491D
Base = 800Lightest = 50 · #F1FDF6Darkest = 950 · #04491D
:root {
  --brand-50: #F1FDF6;
  --brand-100: #E4FCED;
  --brand-200: #C1FBD6;
  --brand-300: #90FEB9;
  --brand-400: #59FD96;
  --brand-500: #21FC73;
  --brand-600: #03F25C;
  --brand-700: #02CA4C;
  --brand-800: #02a63f;
  --brand-900: #06742F;
  --brand-950: #04491D;
  --brand: #02a63f;
  --brand-ink: #000000;
}

Colors that work with #02a63f

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#F4FAF7
Tinted page background
Border#C0EDD0
Hairlines and dividers
Muted text#4B9B68
Captions on the surface
Accent#A80093
Second voice, not a rival
Dark variant#027E30
Hover, pressed, headers
Light variant#E6FFEF
Selected rows, tints
Dark surface#14241A
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 #02a63f

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#A60269
Analogous left#17A602
Analogous right#02A691
Split-complement 1#9102A6
Split-complement 2#A60217
Triadic 1#3F02A6
Triadic 2#A63F02
Tetradic#0217A6

RGB percentages

Red0.8%
Green65.1%
Blue24.7%

CMYK percentages

Cyan98.8%
Magenta0.0%
Yellow62.0%
Key (black)34.9%

Color previews

#02a63f text on a black background

contrast 6.53:1

Card sample

#02a63f text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #02a63f;
Background color
Panel with #02a63f background
background-color: #02a63f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #02a63f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(2, 166, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 166, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #02a63f;
background: linear-gradient(135deg, #02a63f, #029FA6);

Monochromatic scale

Palettes built from #02a63f

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.

#02a63f 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.

#02a63f, answered

What color is #02a63f?

#02a63f is a dark electric green, closest to Medium Sea Green (ΔE2000 8). It sits at 142° on the hue wheel with 98% saturation and 33% lightness, which reads as cool.

What is the RGB value of #02a63f?

rgb(2, 166, 63) — 2 red, 166 green and 63 blue out of 255, or 0.8% / 65.1% / 24.7% by channel.

Is #02a63f a light or a dark color?

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

Should I use black or white text on #02a63f?

Black. It scores 6.53:1 against #02a63f, versus 3.22:1 for white — AA at any size.

What is the complementary color of #02a63f?

#A60269 sits directly opposite on the wheel. Softer options are the split-complements #9102A6 and #A60217, which give the same contrast with far less vibration.

What colors go well with #02a63f?

For interface work: #F4FAF7 as the surface, #C0EDD0 for borders, #4B9B68 for secondary text, #A80093 as an accent and #027E30 for hover and pressed states. For a palette, the analogous pair #17A602 and #02A691 stays calm, while #A60269 is the loudest partner.

What is #02a63f in CMYK for printing?

cmyk(99%, 0%, 62%, 35%). 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 #02a63f warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #02A603; nudged cooler, #00A77C.

Work with #02a63f in the Color Lab