Skip to content

#97df2b

a balanced, vivid green · neutral · closest name: Yellow Green

RGB
151, 223, 43
HSL
84°, 74%, 52%
CMYK
32, 0, 81, 13
Luminance
0.5953

At a glance

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

Hex
#97df2b
Hue
84°
green
Saturation
74%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5953
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.91:1
Closest name
Yellow Green
ΔE2000 4.6
Where it sits
Hue84° of 360°
Saturation74%
Lightness52%
Temperature
Warm ← → Cool45% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#97df2b
RGBrgb(151, 223, 43)
HSLhsl(84, 74%, 52%)
CMYKcmyk(32%, 0%, 81%, 13%)
LABlab(81.6 -47.2 73.2)
LCHlch(81.6 87.1 122.8)
OKLCHoklch(0.825 0.210 130.1)
Decimal9953067
Display P3color(display-p3 0.592 0.875 0.169)

Copy-ready code

/* CSS */
color: #97df2b;
background-color: #97df2b;
/* Tailwind (arbitrary) */
class="text-[#97df2b] bg-[#97df2b]"
/* SCSS */
$brand: #97df2b;
/* SwiftUI */
Color(red: 0.592, green: 0.875, blue: 0.169)
/* Android */
Color.parseColor("#97df2b")
/* Flutter */
Color(0xFF97DF2B)
/* Python / OpenCV (BGR) */
(43, 223, 151)

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

Accessibility — WCAG contrast

Aa
#97df2b on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#97df2b on black: 12.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EACE00
deuteranopia · #E0C940
tritanopia · #9BD5BF

Color scale — 50 to 950

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

#F8FCF3
#F1F9E7
#E2F3C8
#CFF09D
#B7E96D
#97df2b
#8CD520
#75B11B
#5E8E15
#466714
#2B400C
Base = 500Lightest = 50 · #F8FCF3Darkest = 950 · #2B400C
:root {
  --brand-50: #F8FCF3;
  --brand-100: #F1F9E7;
  --brand-200: #E2F3C8;
  --brand-300: #CFF09D;
  --brand-400: #B7E96D;
  --brand-500: #97df2b;
  --brand-600: #8CD520;
  --brand-700: #75B11B;
  --brand-800: #5E8E15;
  --brand-900: #466714;
  --brand-950: #2B400C;
  --brand: #97df2b;
  --brand-ink: #000000;
}

Colors that work with #97df2b

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#F8FAF4
Tinted page background
Border#DBEDC0
Hairlines and dividers
Muted text#7B9B4B
Captions on the surface
Accent#4326E4
Second voice, not a rival
Dark variant#496F11
Hover, pressed, headers
Light variant#F4FCE9
Selected rows, tints
Dark surface#1E2414
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 #97df2b

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
  • 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
  • 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#732BDF
Analogous left#DFCD2B
Analogous right#3DDF2B
Split-complement 1#2B3DDF
Split-complement 2#CD2BDF
Triadic 1#2B97DF
Triadic 2#DF2B97
Tetradic#2BDFCD

RGB percentages

Red59.2%
Green87.5%
Blue16.9%

CMYK percentages

Cyan32.3%
Magenta0.0%
Yellow80.7%
Key (black)12.5%

Color previews

#97df2b text on a black background

contrast 12.91:1

Card sample

#97df2b text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #97df2b;
Background color
Panel with #97df2b background
background-color: #97df2b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #97df2b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 223, 43, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 223, 43, 0.45);
Border & gradient
Gradient panel
border: 3px solid #97df2b;
background: linear-gradient(135deg, #97df2b, #2BDF37);

Monochromatic scale

Palettes built from #97df2b

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.

#97df2b 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.

#97df2b, answered

What color is #97df2b?

#97df2b is a balanced vivid green, closest to Yellow Green (ΔE2000 4.6). It sits at 84° on the hue wheel with 74% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #97df2b?

rgb(151, 223, 43) — 151 red, 223 green and 43 blue out of 255, or 59.2% / 87.5% / 16.9% by channel.

Is #97df2b a light or a dark color?

It is a light color. Relative luminance is 0.5953 and perceived brightness is 75%, so black text on it reaches 12.91:1.

Should I use black or white text on #97df2b?

Black. It scores 12.91:1 against #97df2b, versus 1.63:1 for white — AAA at any size.

What is the complementary color of #97df2b?

#732BDF sits directly opposite on the wheel. Softer options are the split-complements #2B3DDF and #CD2BDF, which give the same contrast with far less vibration.

What colors go well with #97df2b?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7B9B4B for secondary text, #4326E4 as an accent and #496F11 for hover and pressed states. For a palette, the analogous pair #DFCD2B and #3DDF2B stays calm, while #732BDF is the loudest partner.

What is #97df2b in CMYK for printing?

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

Is #97df2b warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D9DF2B; nudged cooler, #54E229.

Work with #97df2b in the Color Lab