Skip to content

#9db331

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

RGB
157, 179, 49
HSL
70°, 57%, 45%
CMYK
12, 0, 73, 30
Luminance
0.3963

At a glance

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

Hex
#9db331
Hue
70°
green
Saturation
57%
vivid
Lightness
45%
dark
Brightness
70%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3963
WCAG relative
Temperature
Warm
33/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.93:1
Closest name
Yellow Green
ΔE2000 7.6
Where it sits
Hue70° of 360°
Saturation57%
Lightness45%
Temperature
Warm ← → Cool33% 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#9db331
RGBrgb(157, 179, 49)
HSLhsl(70, 57%, 45%)
CMYKcmyk(12%, 0%, 73%, 30%)
LABlab(69.2 -24.6 60.0)
LCHlch(69.2 64.8 112.3)
OKLCHoklch(0.726 0.152 118.8)
Decimal10335025
Display P3color(display-p3 0.616 0.702 0.192)

Copy-ready code

/* CSS */
color: #9db331;
background-color: #9db331;
/* Tailwind (arbitrary) */
class="text-[#9db331] bg-[#9db331]"
/* SCSS */
$brand: #9db331;
/* SwiftUI */
Color(red: 0.616, green: 0.702, blue: 0.192)
/* Android */
Color.parseColor("#9db331")
/* Flutter */
Color(0xFF9DB331)
/* Python / OpenCV (BGR) */
(49, 179, 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 #9db331 · 8.93:1
Use #000000AAA at every size.
Aa
White text · 2.35:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.93:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #9db331 as text scores 2.35:1 on white and 8.93:1 on black.

Accessibility — WCAG contrast

Aa
#9db331 on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#9db331 on black: 8.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BFA918
deuteranopia · #BCA93C
tritanopia · #A6A99A

Color scale — 50 to 950

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

#FAFBF4
#F4F7E9
#E9EECD
#DCE7A7
#CBDB7B
#B9CF4F
#9db331
#8CA02C
#708023
#525D1D
#333A12
Base = 600Lightest = 50 · #FAFBF4Darkest = 950 · #333A12
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F4F7E9;
  --brand-200: #E9EECD;
  --brand-300: #DCE7A7;
  --brand-400: #CBDB7B;
  --brand-500: #B9CF4F;
  --brand-600: #9db331;
  --brand-700: #8CA02C;
  --brand-800: #708023;
  --brand-900: #525D1D;
  --brand-950: #333A12;
  --brand: #9db331;
  --brand-ink: #000000;
}

Colors that work with #9db331

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#E5EDC0
Hairlines and dividers
Muted text#8D9B4B
Captions on the surface
Accent#2C38B8
Second voice, not a rival
Dark variant#58641B
Hover, pressed, headers
Light variant#F7FAEB
Selected rows, tints
Dark surface#222414
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 #9db331

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#4731B3
Analogous left#B38831
Analogous right#5CB331
Split-complement 1#315CB3
Split-complement 2#8831B3
Triadic 1#319DB3
Triadic 2#B3319D
Tetradic#31B388

RGB percentages

Red61.6%
Green70.2%
Blue19.2%

CMYK percentages

Cyan12.3%
Magenta0.0%
Yellow72.6%
Key (black)29.8%

Color previews

#9db331 text on a black background

contrast 8.93:1

Card sample

#9db331 text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 179, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 179, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9db331;
background: linear-gradient(135deg, #9db331, #46B331);

Monochromatic scale

Palettes built from #9db331

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.

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

#9db331, answered

What color is #9db331?

#9db331 is a dark vivid green, closest to Yellow Green (ΔE2000 7.6). It sits at 70° on the hue wheel with 57% saturation and 45% lightness, which reads as warm.

What is the RGB value of #9db331?

rgb(157, 179, 49) — 157 red, 179 green and 49 blue out of 255, or 61.6% / 70.2% / 19.2% by channel.

Is #9db331 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3963 and perceived brightness is 64%, so black text on it reaches 8.93:1.

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

Black. It scores 8.93:1 against #9db331, versus 2.35:1 for white — AAA at any size.

What is the complementary color of #9db331?

#4731B3 sits directly opposite on the wheel. Softer options are the split-complements #315CB3 and #8831B3, which give the same contrast with far less vibration.

What colors go well with #9db331?

For interface work: #F9FAF4 as the surface, #E5EDC0 for borders, #8D9B4B for secondary text, #2C38B8 as an accent and #58641B for hover and pressed states. For a palette, the analogous pair #B38831 and #5CB331 stays calm, while #4731B3 is the loudest partner.

What is #9db331 in CMYK for printing?

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

Is #9db331 warm or cool?

Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B39931; nudged cooler, #6DB52F.

Work with #9db331 in the Color Lab