Skip to content

#97cd08

a dark, electric green · warm · closest name: Yellow Green

RGB
151, 205, 8
HSL
76°, 93%, 42%
CMYK
26, 0, 96, 20
Luminance
0.5026

At a glance

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

Hex
#97cd08
Hue
76°
green
Saturation
93%
electric
Lightness
42%
dark
Brightness
80%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5026
WCAG relative
Temperature
Warm
39/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.05:1
Closest name
Yellow Green
ΔE2000 2
Where it sits
Hue76° of 360°
Saturation93%
Lightness42%
Temperature
Warm ← → Cool39% cool

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

Every format

HEX#97cd08
RGBrgb(151, 205, 8)
HSLhsl(76, 93%, 42%)
CMYKcmyk(26%, 0%, 96%, 20%)
LABlab(76.2 -40.4 74.9)
LCHlch(76.2 85.1 118.3)
OKLCHoklch(0.781 0.199 126.4)
Decimal9948424
Display P3color(display-p3 0.592 0.804 0.031)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#97cd08 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#97cd08 on black: 11.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D8BE00
deuteranopia · #D1BB2C
tritanopia · #9EC3AE

Color scale — 50 to 950

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

#FAFDF2
#F5FBE4
#EAF9C3
#DEFB93
#CEF95D
#BEF727
#AEEC09
#97cd08
#749D06
#557109
#354706
Base = 700Lightest = 50 · #FAFDF2Darkest = 950 · #354706
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F5FBE4;
  --brand-200: #EAF9C3;
  --brand-300: #DEFB93;
  --brand-400: #CEF95D;
  --brand-500: #BEF727;
  --brand-600: #AEEC09;
  --brand-700: #97cd08;
  --brand-800: #749D06;
  --brand-900: #557109;
  --brand-950: #354706;
  --brand: #97cd08;
  --brand-ink: #000000;
}

Colors that work with #97cd08

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#F9FAF4
Tinted page background
Border#E0EDC0
Hairlines and dividers
Muted text#859B4B
Captions on the surface
Accent#0904D1
Second voice, not a rival
Dark variant#5A7B05
Hover, pressed, headers
Light variant#F8FEE6
Selected rows, tints
Dark surface#202414
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 #97cd08

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#3E08CD
Analogous left#CDA008
Analogous right#35CD08
Split-complement 1#0835CD
Split-complement 2#A008CD
Triadic 1#0897CD
Triadic 2#CD0897
Tetradic#08CDA0

RGB percentages

Red59.2%
Green80.4%
Blue3.1%

CMYK percentages

Cyan26.3%
Magenta0.0%
Yellow96.1%
Key (black)19.6%

Color previews

#97cd08 text on a black background

contrast 11.05:1

Card sample

#97cd08 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #97cd08

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.

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

#97cd08, answered

What color is #97cd08?

#97cd08 is a dark electric green, closest to Yellow Green (ΔE2000 2). It sits at 76° on the hue wheel with 93% saturation and 42% lightness, which reads as warm.

What is the RGB value of #97cd08?

rgb(151, 205, 8) — 151 red, 205 green and 8 blue out of 255, or 59.2% / 80.4% / 3.1% by channel.

Is #97cd08 a light or a dark color?

It is a light color. Relative luminance is 0.5026 and perceived brightness is 70%, so black text on it reaches 11.05:1.

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

Black. It scores 11.05:1 against #97cd08, versus 1.90:1 for white — AAA at any size.

What is the complementary color of #97cd08?

#3E08CD sits directly opposite on the wheel. Softer options are the split-complements #0835CD and #A008CD, which give the same contrast with far less vibration.

What colors go well with #97cd08?

For interface work: #F9FAF4 as the surface, #E0EDC0 for borders, #859B4B for secondary text, #0904D1 as an accent and #5A7B05 for hover and pressed states. For a palette, the analogous pair #CDA008 and #35CD08 stays calm, while #3E08CD is the loudest partner.

What is #97cd08 in CMYK for printing?

cmyk(26%, 0%, 96%, 20%). 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 #97cd08 warm or cool?

Warm — it scores 39 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CDBB08; nudged cooler, #4ECF06.

Work with #97cd08 in the Color Lab