#297521
a dark, vivid green · cool · closest name: Green
At a glance
Every number on this page in one read: what #297521 is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #297521 |
| RGB | rgb(41, 117, 33) |
| HSL | hsl(114, 56%, 29%) |
| CMYK | cmyk(65%, 0%, 72%, 54%) |
| LAB | lab(43.2 -40.3 37.9) |
| LCH | lch(43.2 55.3 136.8) |
| OKLCH | oklch(0.497 0.140 141.8) |
| Decimal | 2716961 |
| Display P3 | color(display-p3 0.161 0.459 0.129) |
Copy-ready code
/* CSS */
color: #297521;
background-color: #297521;
/* Tailwind (arbitrary) */
class="text-[#297521] bg-[#297521]"
/* SCSS */
$brand: #297521;
/* SwiftUI */
Color(red: 0.161, green: 0.459, blue: 0.129)
/* Android */
Color.parseColor("#297521")
/* Flutter */
Color(0xFF297521)
/* Python / OpenCV (BGR) */
(33, 117, 41)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #297521 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F5FBF4;
--brand-100: #EAF6E9;
--brand-200: #D1EECE;
--brand-300: #ADE6A7;
--brand-400: #85DA7C;
--brand-500: #5CCE50;
--brand-600: #43BF36;
--brand-700: #389F2D;
--brand-800: #297521;
--brand-900: #245D1E;
--brand-950: #163A13;
--brand: #297521;
--brand-ink: #ffffff;
}Colors that work with #297521
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #297521
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | #6D2175 | Directly opposite — maximum tension | |
| Analogous left | #537521 | Neighbour, quieter | |
| Analogous right | #217543 | Neighbour, quieter | |
| Split-complement 1 | #432175 | Contrast without the clash | |
| Split-complement 2 | #752153 | Contrast without the clash | |
| Triadic 1 | #212975 | Even thirds — balanced and loud | |
| Triadic 2 | #752129 | Even thirds — balanced and loud | |
| Tetradic | #215375 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#297521 text on a black background
contrast 3.66:1
#297521 text on a white background
contrast 5.74:1
CSS3 live lab
The quick brown fox
color: #297521;
background-color: #297521;
Glowing headline
text-shadow: 2px 2px 8px #297521;
Soft neon halo
text-shadow: 0 0 14px rgba(41, 117, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(41, 117, 33, 0.45);
border: 3px solid #297521; background: linear-gradient(135deg, #297521, #217551);
Monochromatic scale
Palettes built from #297521
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.
Closest color with a full write-up: Green (#008000) — ΔE2000 5.2 away, with its history, psychology and brand usage.
#297521 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#297521, answered
What color is #297521?
#297521 is a dark vivid green, closest to Green (ΔE2000 5.2). It sits at 114° on the hue wheel with 56% saturation and 29% lightness, which reads as cool.
What is the RGB value of #297521?
rgb(41, 117, 33) — 41 red, 117 green and 33 blue out of 255, or 16.1% / 45.9% / 12.9% by channel.
Is #297521 a light or a dark color?
It is a dark color. Relative luminance is 0.1330 and perceived brightness is 36%, so white text on it reaches 5.74:1.
Should I use black or white text on #297521?
White. It scores 5.74:1 against #297521, versus 3.66:1 for black — AA at any size.
What is the complementary color of #297521?
#6D2175 sits directly opposite on the wheel. Softer options are the split-complements #432175 and #752153, which give the same contrast with far less vibration.
What colors go well with #297521?
For interface work: #F5FAF4 as the surface, #C4EDC0 for borders, #529B4B for secondary text, #591E78 as an accent and #23631C for hover and pressed states. For a palette, the analogous pair #537521 and #217543 stays calm, while #6D2175 is the loudest partner.
What is #297521 in CMYK for printing?
cmyk(65%, 0%, 72%, 54%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #297521 warm or cool?
Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #487521; nudged cooler, #1F7637.