Skip to content

#97af32

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

RGB
151, 175, 50
HSL
72°, 56%, 44%
CMYK
14, 0, 71, 31
Luminance
0.3747

At a glance

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

Hex
#97af32
Hue
72°
green
Saturation
56%
vivid
Lightness
44%
dark
Brightness
69%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3747
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.49:1
Closest name
Yellow Green
ΔE2000 8.3
Where it sits
Hue72° of 360°
Saturation56%
Lightness44%
Temperature
Warm ← → Cool35% 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#97af32
RGBrgb(151, 175, 50)
HSLhsl(72, 56%, 44%)
CMYKcmyk(14%, 0%, 71%, 31%)
LABlab(67.6 -25.1 57.9)
LCHlch(67.6 63.1 113.5)
OKLCHoklch(0.712 0.149 119.9)
Decimal9940786
Display P3color(display-p3 0.592 0.686 0.196)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#97af32 on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#97af32 on black: 8.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BAA51C
deuteranopia · #B7A53C
tritanopia · #A0A697

Color scale — 50 to 950

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

#F9FBF4
#F4F6E9
#E8EECE
#DAE6A8
#C8DA7C
#B5CD50
#97af32
#899F2D
#6E7F24
#515D1E
#323A13
Base = 600Lightest = 50 · #F9FBF4Darkest = 950 · #323A13
:root {
  --brand-50: #F9FBF4;
  --brand-100: #F4F6E9;
  --brand-200: #E8EECE;
  --brand-300: #DAE6A8;
  --brand-400: #C8DA7C;
  --brand-500: #B5CD50;
  --brand-600: #97af32;
  --brand-700: #899F2D;
  --brand-800: #6E7F24;
  --brand-900: #515D1E;
  --brand-950: #323A13;
  --brand: #97af32;
  --brand-ink: #000000;
}

Colors that work with #97af32

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#E4EDC0
Hairlines and dividers
Muted text#8C9B4B
Captions on the surface
Accent#2D35B3
Second voice, not a rival
Dark variant#56631C
Hover, pressed, headers
Light variant#F7F9EB
Selected rows, tints
Dark surface#212414
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 #97af32

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#4A32AF
Analogous left#AF8832
Analogous right#58AF32
Split-complement 1#3258AF
Split-complement 2#8832AF
Triadic 1#3297AF
Triadic 2#AF3297
Tetradic#32AF88

RGB percentages

Red59.2%
Green68.6%
Blue19.6%

CMYK percentages

Cyan13.7%
Magenta0.0%
Yellow71.4%
Key (black)31.4%

Color previews

#97af32 text on a black background

contrast 8.49:1

Card sample

#97af32 text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #97af32

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.

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

#97af32, answered

What color is #97af32?

#97af32 is a dark vivid green, closest to Yellow Green (ΔE2000 8.3). It sits at 72° on the hue wheel with 56% saturation and 44% lightness, which reads as warm.

What is the RGB value of #97af32?

rgb(151, 175, 50) — 151 red, 175 green and 50 blue out of 255, or 59.2% / 68.6% / 19.6% by channel.

Is #97af32 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3747 and perceived brightness is 62%, so black text on it reaches 8.49:1.

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

Black. It scores 8.49:1 against #97af32, versus 2.47:1 for white — AAA at any size.

What is the complementary color of #97af32?

#4A32AF sits directly opposite on the wheel. Softer options are the split-complements #3258AF and #8832AF, which give the same contrast with far less vibration.

What colors go well with #97af32?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8C9B4B for secondary text, #2D35B3 as an accent and #56631C for hover and pressed states. For a palette, the analogous pair #AF8832 and #58AF32 stays calm, while #4A32AF is the loudest partner.

What is #97af32 in CMYK for printing?

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

Is #97af32 warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF9932; nudged cooler, #69B130.

Work with #97af32 in the Color Lab