Skip to content

#97ef1d

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

RGB
151, 239, 29
HSL
85°, 87%, 53%
CMYK
37, 0, 88, 6
Luminance
0.6840

At a glance

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

Hex
#97ef1d
Hue
85°
green
Saturation
87%
electric
Lightness
53%
balanced
Brightness
94%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6840
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.68:1
Closest name
Green Yellow
ΔE2000 3.7
Where it sits
Hue85° of 360°
Saturation87%
Lightness53%
Temperature
Warm ← → Cool46% 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#97ef1d
RGBrgb(151, 239, 29)
HSLhsl(85, 87%, 53%)
CMYKcmyk(37%, 0%, 88%, 6%)
LABlab(86.2 -54.2 80.2)
LCHlch(86.2 96.8 124.1)
OKLCHoklch(0.863 0.232 131.7)
Decimal9957149
Display P3color(display-p3 0.592 0.937 0.114)

Copy-ready code

/* CSS */
color: #97ef1d;
background-color: #97ef1d;
/* Tailwind (arbitrary) */
class="text-[#97ef1d] bg-[#97ef1d]"
/* SCSS */
$brand: #97ef1d;
/* SwiftUI */
Color(red: 0.592, green: 0.937, blue: 0.114)
/* Android */
Color.parseColor("#97ef1d")
/* Flutter */
Color(0xFF97EF1D)
/* Python / OpenCV (BGR) */
(29, 239, 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 #97ef1d · 14.68:1
Use #000000AAA at every size.
Aa
White text · 1.43:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.68:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #97ef1d as text scores 1.43:1 on white and 14.68:1 on black.

Accessibility — WCAG contrast

Aa
#97ef1d on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#97ef1d on black: 14.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FADC00
deuteranopia · #EED53C
tritanopia · #99E5CC

Color scale — 50 to 950

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

#F8FDF2
#F1FAE5
#E2F7C4
#CFF896
#B7F462
#97ef1d
#8CE510
#74BF0D
#5D980B
#456E0C
#2B4508
Base = 500Lightest = 50 · #F8FDF2Darkest = 950 · #2B4508
:root {
  --brand-50: #F8FDF2;
  --brand-100: #F1FAE5;
  --brand-200: #E2F7C4;
  --brand-300: #CFF896;
  --brand-400: #B7F462;
  --brand-500: #97ef1d;
  --brand-600: #8CE510;
  --brand-700: #74BF0D;
  --brand-800: #5D980B;
  --brand-900: #456E0C;
  --brand-950: #2B4508;
  --brand: #97ef1d;
  --brand-ink: #000000;
}

Colors that work with #97ef1d

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#DAEDC0
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#3D18F4
Second voice, not a rival
Dark variant#497708
Hover, pressed, headers
Light variant#F4FDE7
Selected rows, tints
Dark surface#1D2414
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 #97ef1d

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#751DEF
Analogous left#EFDE1D
Analogous right#2EEF1D
Split-complement 1#1D2EEF
Split-complement 2#DE1DEF
Triadic 1#1D97EF
Triadic 2#EF1D97
Tetradic#1DEFDE

RGB percentages

Red59.2%
Green93.7%
Blue11.4%

CMYK percentages

Cyan36.8%
Magenta0.0%
Yellow87.9%
Key (black)6.3%

Color previews

#97ef1d text on a black background

contrast 14.68:1

Card sample

#97ef1d text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(151, 239, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 239, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #97ef1d;
background: linear-gradient(135deg, #97ef1d, #1DEF2F);

Monochromatic scale

Palettes built from #97ef1d

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.

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

#97ef1d, answered

What color is #97ef1d?

#97ef1d is a balanced electric green, closest to Green Yellow (ΔE2000 3.7). It sits at 85° on the hue wheel with 87% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #97ef1d?

rgb(151, 239, 29) — 151 red, 239 green and 29 blue out of 255, or 59.2% / 93.7% / 11.4% by channel.

Is #97ef1d a light or a dark color?

It is a light color. Relative luminance is 0.6840 and perceived brightness is 79%, so black text on it reaches 14.68:1.

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

Black. It scores 14.68:1 against #97ef1d, versus 1.43:1 for white — AAA at any size.

What is the complementary color of #97ef1d?

#751DEF sits directly opposite on the wheel. Softer options are the split-complements #1D2EEF and #DE1DEF, which give the same contrast with far less vibration.

What colors go well with #97ef1d?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #799B4B for secondary text, #3D18F4 as an accent and #497708 for hover and pressed states. For a palette, the analogous pair #EFDE1D and #2EEF1D stays calm, while #751DEF is the loudest partner.

What is #97ef1d in CMYK for printing?

cmyk(37%, 0%, 88%, 6%). 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 #97ef1d warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E4EF1D; nudged cooler, #49F11A.

Work with #97ef1d in the Color Lab