#97cb2b
a balanced, vivid green · warm · “Yellow Green”
At a glance
Every number on this page in one read: what #97cb2b is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #97cb2b |
| RGB | rgb(151, 203, 43) |
| HSL | hsl(80, 65%, 48%) |
| CMYK | cmyk(26%, 0%, 79%, 20%) |
| LAB | lab(75.7 -38.6 67.9) |
| LCH | lch(75.7 78.1 119.6) |
| OKLCH | oklch(0.778 0.186 126.8) |
| Decimal | 9947947 |
| Display P3 | color(display-p3 0.592 0.796 0.169) |
Copy-ready code
/* CSS */
color: #97cb2b;
background-color: #97cb2b;
/* Tailwind (arbitrary) */
class="text-[#97cb2b] bg-[#97cb2b]"
/* SCSS */
$brand: #97cb2b;
/* SwiftUI */
Color(red: 0.592, green: 0.796, blue: 0.169)
/* Android */
Color.parseColor("#97cb2b")
/* Flutter */
Color(0xFF97CB2B)
/* Python / OpenCV (BGR) */
(43, 203, 151)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. #97cb2b 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.
:root {
--brand-50: #F9FBF3;
--brand-100: #F2F7E8;
--brand-200: #E4F1CB;
--brand-300: #D4EBA2;
--brand-400: #BEE274;
--brand-500: #A8D846;
--brand-600: #97cb2b;
--brand-700: #7DA824;
--brand-800: #64871D;
--brand-900: #4A6219;
--brand-950: #2E3D0F;
--brand: #97cb2b;
--brand-ink: #000000;
}Colors that work with #97cb2b
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 #97cb2b
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #5F2BCB | Directly opposite — maximum tension | |
| Analogous left | #CBAF2B | Neighbour, quieter | |
| Analogous right | #47CB2B | Neighbour, quieter | |
| Split-complement 1 | #2B47CB | Contrast without the clash | |
| Split-complement 2 | #AF2BCB | Contrast without the clash | |
| Triadic 1 | #2B97CB | Even thirds — balanced and loud | |
| Triadic 2 | #CB2B97 | Even thirds — balanced and loud | |
| Tetradic | #2BCBAF | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#97cb2b text on a black background
contrast 10.89:1
#97cb2b text on a white background
contrast 1.93:1
CSS3 live lab
The quick brown fox
color: #97cb2b;
background-color: #97cb2b;
Glowing headline
text-shadow: 2px 2px 8px #97cb2b;
Soft neon halo
text-shadow: 0 0 14px rgba(151, 203, 43, 0.45);
box-shadow: 0 12px 32px -8px rgba(151, 203, 43, 0.45);
border: 3px solid #97cb2b; background: linear-gradient(135deg, #97cb2b, #2CCB2B);
Monochromatic scale
Palettes built from #97cb2b
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: Pistachio (#93c572) — ΔE2000 9.7 away, with its history, psychology and brand usage.
#97cb2b 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.
#97cb2b, answered
What color is #97cb2b?
#97cb2b is a balanced vivid green — the CSS keyword Yellow Green. It sits at 80° on the hue wheel with 65% saturation and 48% lightness, which reads as warm.
What is the RGB value of #97cb2b?
rgb(151, 203, 43) — 151 red, 203 green and 43 blue out of 255, or 59.2% / 79.6% / 16.9% by channel.
Is #97cb2b a light or a dark color?
It is a mid-tone. Relative luminance is 0.4947 and perceived brightness is 69%, so black text on it reaches 10.89:1.
Should I use black or white text on #97cb2b?
Black. It scores 10.89:1 against #97cb2b, versus 1.93:1 for white — AAA at any size.
What is the complementary color of #97cb2b?
#5F2BCB sits directly opposite on the wheel. Softer options are the split-complements #2B47CB and #AF2BCB, which give the same contrast with far less vibration.
What colors go well with #97cb2b?
For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #819B4B for secondary text, #3326D0 as an accent and #4E6916 for hover and pressed states. For a palette, the analogous pair #CBAF2B and #47CB2B stays calm, while #5F2BCB is the loudest partner.
What is #97cb2b in CMYK for printing?
cmyk(26%, 0%, 79%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #97cb2b warm or cool?
Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CBC42B; nudged cooler, #5BCD29.