Skip to content

#20af3f

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

RGB
32, 175, 63
HSL
133°, 69%, 41%
CMYK
82, 0, 64, 31
Luminance
0.3133

At a glance

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

Hex
#20af3f
Hue
133°
green
Saturation
69%
vivid
Lightness
41%
dark
Brightness
69%
HSV value
Perceived
54%
weighted brightness
Luminance
0.3133
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.27:1
Closest name
Medium Sea Green
ΔE2000 7.8
Where it sits
Hue133° of 360°
Saturation69%
Lightness41%
Temperature
Warm ← → Cool68% 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#20af3f
RGBrgb(32, 175, 63)
HSLhsl(133, 69%, 41%)
CMYKcmyk(82%, 0%, 64%, 31%)
LABlab(62.8 -58.9 46.0)
LCHlch(62.8 74.7 142.0)
OKLCHoklch(0.660 0.191 145.9)
Decimal2142015
Display P3color(display-p3 0.125 0.686 0.247)

Copy-ready code

/* CSS */
color: #20af3f;
background-color: #20af3f;
/* Tailwind (arbitrary) */
class="text-[#20af3f] bg-[#20af3f]"
/* SCSS */
$brand: #20af3f;
/* SwiftUI */
Color(red: 0.125, green: 0.686, blue: 0.247)
/* Android */
Color.parseColor("#20af3f")
/* Flutter */
Color(0xFF20AF3F)
/* Python / OpenCV (BGR) */
(63, 175, 32)

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 #20af3f · 7.27:1
Use #000000AAA at every size.
Aa
White text · 2.89:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.27:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #20af3f as text scores 2.89:1 on white and 7.27:1 on black.

Accessibility — WCAG contrast

Aa
#20af3f on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#20af3f on black: 7.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B29E32
deuteranopia · #A29449
tritanopia · #00AB97

Color scale — 50 to 950

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

#F3FBF5
#E7F8EB
#CAF2D2
#A0EEB1
#71E58A
#41DC63
#26CF4A
#20af3f
#198A32
#166427
#0E3F18
Base = 700Lightest = 50 · #F3FBF5Darkest = 950 · #0E3F18
:root {
  --brand-50: #F3FBF5;
  --brand-100: #E7F8EB;
  --brand-200: #CAF2D2;
  --brand-300: #A0EEB1;
  --brand-400: #71E58A;
  --brand-500: #41DC63;
  --brand-600: #26CF4A;
  --brand-700: #20af3f;
  --brand-800: #198A32;
  --brand-900: #166427;
  --brand-950: #0E3F18;
  --brand: #20af3f;
  --brand-ink: #000000;
}

Colors that work with #20af3f

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#C0EDC9
Hairlines and dividers
Muted text#4B9B5C
Captions on the surface
Accent#AE1CB3
Second voice, not a rival
Dark variant#146C27
Hover, pressed, headers
Light variant#E9FBED
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 #20af3f

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#AF2090
Analogous left#49AF20
Analogous right#20AF87
Split-complement 1#8720AF
Split-complement 2#AF2049
Triadic 1#3F20AF
Triadic 2#AF3F20
Tetradic#2049AF

RGB percentages

Red12.5%
Green68.6%
Blue24.7%

CMYK percentages

Cyan81.7%
Magenta0.0%
Yellow64.0%
Key (black)31.4%

Color previews

#20af3f text on a black background

contrast 7.27:1

Card sample

#20af3f text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #20af3f;
Background color
Panel with #20af3f background
background-color: #20af3f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #20af3f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(32, 175, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 175, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #20af3f;
background: linear-gradient(135deg, #20af3f, #20AF9E);

Monochromatic scale

Palettes built from #20af3f

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.

#20af3f 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.

#20af3f, answered

What color is #20af3f?

#20af3f is a dark vivid green, closest to Medium Sea Green (ΔE2000 7.8). It sits at 133° on the hue wheel with 69% saturation and 41% lightness, which reads as cool.

What is the RGB value of #20af3f?

rgb(32, 175, 63) — 32 red, 175 green and 63 blue out of 255, or 12.5% / 68.6% / 24.7% by channel.

Is #20af3f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3133 and perceived brightness is 54%, so black text on it reaches 7.27:1.

Should I use black or white text on #20af3f?

Black. It scores 7.27:1 against #20af3f, versus 2.89:1 for white — AAA at any size.

What is the complementary color of #20af3f?

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

What colors go well with #20af3f?

For interface work: #F4FAF6 as the surface, #C0EDC9 for borders, #4B9B5C for secondary text, #AE1CB3 as an accent and #146C27 for hover and pressed states. For a palette, the analogous pair #49AF20 and #20AF87 stays calm, while #AF2090 is the loudest partner.

What is #20af3f in CMYK for printing?

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

Is #20af3f warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #35AF20; nudged cooler, #1EB174.

Work with #20af3f in the Color Lab