Skip to content

#9deb21

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

RGB
157, 235, 33
HSL
83°, 84%, 53%
CMYK
33, 0, 86, 8
Luminance
0.6669

At a glance

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

Hex
#9deb21
Hue
83°
green
Saturation
84%
electric
Lightness
53%
balanced
Brightness
92%
HSV value
Perceived
78%
weighted brightness
Luminance
0.6669
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.34:1
Closest name
Green Yellow
ΔE2000 4.3
Where it sits
Hue83° of 360°
Saturation84%
Lightness53%
Temperature
Warm ← → Cool44% 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#9deb21
RGBrgb(157, 235, 33)
HSLhsl(83, 84%, 53%)
CMYKcmyk(33%, 0%, 86%, 8%)
LABlab(85.3 -50.4 78.8)
LCHlch(85.3 93.6 122.6)
OKLCHoklch(0.857 0.224 130.2)
Decimal10349345
Display P3color(display-p3 0.616 0.922 0.129)

Copy-ready code

/* CSS */
color: #9deb21;
background-color: #9deb21;
/* Tailwind (arbitrary) */
class="text-[#9deb21] bg-[#9deb21]"
/* SCSS */
$brand: #9deb21;
/* SwiftUI */
Color(red: 0.616, green: 0.922, blue: 0.129)
/* Android */
Color.parseColor("#9deb21")
/* Flutter */
Color(0xFF9DEB21)
/* Python / OpenCV (BGR) */
(33, 235, 157)

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 #9deb21 · 14.34:1
Use #000000AAA at every size.
Aa
White text · 1.46:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.34:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9deb21 as text scores 1.46:1 on white and 14.34:1 on black.

Accessibility — WCAG contrast

Aa
#9deb21 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#9deb21 on black: 14.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F6D900
deuteranopia · #ECD33D
tritanopia · #A1E0C8

Color scale — 50 to 950

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

#F8FCF2
#F2FAE6
#E3F6C5
#D2F698
#BBF165
#9deb21
#92E114
#79BB11
#61960D
#486C0E
#2D4409
Base = 500Lightest = 50 · #F8FCF2Darkest = 950 · #2D4409
:root {
  --brand-50: #F8FCF2;
  --brand-100: #F2FAE6;
  --brand-200: #E3F6C5;
  --brand-300: #D2F698;
  --brand-400: #BBF165;
  --brand-500: #9deb21;
  --brand-600: #92E114;
  --brand-700: #79BB11;
  --brand-800: #61960D;
  --brand-900: #486C0E;
  --brand-950: #2D4409;
  --brand: #9deb21;
  --brand-ink: #000000;
}

Colors that work with #9deb21

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#DBEDC0
Hairlines and dividers
Muted text#7C9B4B
Captions on the surface
Accent#391CF0
Second voice, not a rival
Dark variant#4C750B
Hover, pressed, headers
Light variant#F5FDE8
Selected rows, tints
Dark surface#1E2414
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 #9deb21

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#6F21EB
Analogous left#EBD421
Analogous right#38EB21
Split-complement 1#2138EB
Split-complement 2#D421EB
Triadic 1#219DEB
Triadic 2#EB219D
Tetradic#21EBD4

RGB percentages

Red61.6%
Green92.2%
Blue12.9%

CMYK percentages

Cyan33.2%
Magenta0.0%
Yellow86.0%
Key (black)7.8%

Color previews

#9deb21 text on a black background

contrast 14.34:1

Card sample

#9deb21 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9deb21;
Background color
Panel with #9deb21 background
background-color: #9deb21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9deb21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(157, 235, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 235, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9deb21;
background: linear-gradient(135deg, #9deb21, #21EB2C);

Monochromatic scale

Palettes built from #9deb21

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.

#9deb21 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.

#9deb21, answered

What color is #9deb21?

#9deb21 is a balanced electric green, closest to Green Yellow (ΔE2000 4.3). It sits at 83° on the hue wheel with 84% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #9deb21?

rgb(157, 235, 33) — 157 red, 235 green and 33 blue out of 255, or 61.6% / 92.2% / 12.9% by channel.

Is #9deb21 a light or a dark color?

It is a light color. Relative luminance is 0.6669 and perceived brightness is 78%, so black text on it reaches 14.34:1.

Should I use black or white text on #9deb21?

Black. It scores 14.34:1 against #9deb21, versus 1.46:1 for white — AAA at any size.

What is the complementary color of #9deb21?

#6F21EB sits directly opposite on the wheel. Softer options are the split-complements #2138EB and #D421EB, which give the same contrast with far less vibration.

What colors go well with #9deb21?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7C9B4B for secondary text, #391CF0 as an accent and #4C750B for hover and pressed states. For a palette, the analogous pair #EBD421 and #38EB21 stays calm, while #6F21EB is the loudest partner.

What is #9deb21 in CMYK for printing?

cmyk(33%, 0%, 86%, 8%). 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 #9deb21 warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E7EB21; nudged cooler, #51ED1E.

Work with #9deb21 in the Color Lab