Skip to content

#9dbb0c

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

RGB
157, 187, 12
HSL
70°, 88%, 39%
CMYK
16, 0, 94, 27
Luminance
0.4274

At a glance

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

Hex
#9dbb0c
Hue
70°
green
Saturation
88%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
66%
weighted brightness
Luminance
0.4274
WCAG relative
Temperature
Warm
34/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.55:1
Closest name
Yellow Green
ΔE2000 5.7
Where it sits
Hue70° of 360°
Saturation88%
Lightness39%
Temperature
Warm ← → Cool34% 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#9dbb0c
RGBrgb(157, 187, 12)
HSLhsl(70, 88%, 39%)
CMYKcmyk(16%, 0%, 94%, 27%)
LABlab(71.4 -29.7 70.8)
LCHlch(71.4 76.8 112.8)
OKLCHoklch(0.743 0.175 120.6)
Decimal10337036
Display P3color(display-p3 0.616 0.733 0.047)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9dbb0c on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#9dbb0c on black: 9.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C7AF00
deuteranopia · #C4AF28
tritanopia · #A7B09F

Color scale — 50 to 950

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

#FBFDF2
#F7FAE5
#EFF8C4
#E7F896
#DBF561
#D0F12C
#C1E60F
#9dbb0c
#81990A
#5E6F0C
#3B4507
Base = 700Lightest = 50 · #FBFDF2Darkest = 950 · #3B4507
:root {
  --brand-50: #FBFDF2;
  --brand-100: #F7FAE5;
  --brand-200: #EFF8C4;
  --brand-300: #E7F896;
  --brand-400: #DBF561;
  --brand-500: #D0F12C;
  --brand-600: #C1E60F;
  --brand-700: #9dbb0c;
  --brand-800: #81990A;
  --brand-900: #5E6F0C;
  --brand-950: #3B4507;
  --brand: #9dbb0c;
  --brand-ink: #000000;
}

Colors that work with #9dbb0c

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#0816BF
Second voice, not a rival
Dark variant#657808
Hover, pressed, headers
Light variant#FAFDE7
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 #9dbb0c

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#2A0CBB
Analogous left#BB810C
Analogous right#45BB0C
Split-complement 1#0C45BB
Split-complement 2#810CBB
Triadic 1#0C9DBB
Triadic 2#BB0C9D
Tetradic#0CBB81

RGB percentages

Red61.6%
Green73.3%
Blue4.7%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow93.6%
Key (black)26.7%

Color previews

#9dbb0c text on a black background

contrast 9.55:1

Card sample

#9dbb0c text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 187, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 187, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9dbb0c;
background: linear-gradient(135deg, #9dbb0c, #28BB0C);

Monochromatic scale

Palettes built from #9dbb0c

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.

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

#9dbb0c, answered

What color is #9dbb0c?

#9dbb0c is a dark electric green, closest to Yellow Green (ΔE2000 5.7). It sits at 70° on the hue wheel with 88% saturation and 39% lightness, which reads as warm.

What is the RGB value of #9dbb0c?

rgb(157, 187, 12) — 157 red, 187 green and 12 blue out of 255, or 61.6% / 73.3% / 4.7% by channel.

Is #9dbb0c a light or a dark color?

It is a mid-tone. Relative luminance is 0.4274 and perceived brightness is 66%, so black text on it reaches 9.55:1.

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

Black. It scores 9.55:1 against #9dbb0c, versus 2.20:1 for white — AAA at any size.

What is the complementary color of #9dbb0c?

#2A0CBB sits directly opposite on the wheel. Softer options are the split-complements #0C45BB and #810CBB, which give the same contrast with far less vibration.

What colors go well with #9dbb0c?

For interface work: #F9FAF4 as the surface, #E5EDC0 for borders, #8D9B4B for secondary text, #0816BF as an accent and #657808 for hover and pressed states. For a palette, the analogous pair #BB810C and #45BB0C stays calm, while #2A0CBB is the loudest partner.

What is #9dbb0c in CMYK for printing?

cmyk(16%, 0%, 94%, 27%). 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 #9dbb0c warm or cool?

Warm — it scores 34 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BB990C; nudged cooler, #5DBD0A.

Work with #9dbb0c in the Color Lab