Skip to content

#9dab04

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

RGB
157, 171, 4
HSL
65°, 95%, 34%
CMYK
8, 0, 98, 33
Luminance
0.3630

At a glance

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

Hex
#9dab04
Hue
65°
yellow
Saturation
95%
electric
Lightness
34%
dark
Brightness
67%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3630
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
8.26:1
Closest name
Yellow Green
ΔE2000 10.5
Where it sits
Hue65° of 360°
Saturation95%
Lightness34%
Temperature
Warm ← → Cool29% 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#9dab04
RGBrgb(157, 171, 4)
HSLhsl(65, 95%, 34%)
CMYKcmyk(8%, 0%, 98%, 33%)
LABlab(66.8 -22.1 68.2)
LCHlch(66.8 71.7 107.9)
OKLCHoklch(0.706 0.160 115.5)
Decimal10332932
Display P3color(display-p3 0.616 0.671 0.016)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9dab04 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#9dab04 on black: 8.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8A200
deuteranopia · #B7A320
tritanopia · #A8A091

Color scale — 50 to 950

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

#FCFDF1
#FAFCE4
#F5FAC2
#F3FC91
#EEFB5B
#E8FA24
#DCEF06
#B7C705
#9dab04
#6A7307
#424805
Base = 800Lightest = 50 · #FCFDF1Darkest = 950 · #424805
:root {
  --brand-50: #FCFDF1;
  --brand-100: #FAFCE4;
  --brand-200: #F5FAC2;
  --brand-300: #F3FC91;
  --brand-400: #EEFB5B;
  --brand-500: #E8FA24;
  --brand-600: #DCEF06;
  --brand-700: #B7C705;
  --brand-800: #9dab04;
  --brand-900: #6A7307;
  --brand-950: #424805;
  --brand: #9dab04;
  --brand-ink: #000000;
}

Colors that work with #9dab04

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#FAFAF4
Tinted page background
Border#E9EDC0
Hairlines and dividers
Muted text#949B4B
Captions on the surface
Accent#011EAE
Second voice, not a rival
Dark variant#727D03
Hover, pressed, headers
Light variant#FCFEE6
Selected rows, tints
Dark surface#232414
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 #9dab04

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#1204AB
Analogous left#AB6504
Analogous right#4AAB04
Split-complement 1#044AAB
Split-complement 2#6504AB
Triadic 1#049DAB
Triadic 2#AB049D
Tetradic#04AB65

RGB percentages

Red61.6%
Green67.1%
Blue1.6%

CMYK percentages

Cyan8.2%
Magenta0.0%
Yellow97.7%
Key (black)32.9%

Color previews

#9dab04 text on a black background

contrast 8.26:1

Card sample

#9dab04 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 171, 4, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 171, 4, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9dab04;
background: linear-gradient(135deg, #9dab04, #2EAB04);

Monochromatic scale

Palettes built from #9dab04

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.

#9dab04 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#9dab04, answered

What color is #9dab04?

#9dab04 is a dark electric yellow, closest to Yellow Green (ΔE2000 10.5). It sits at 65° on the hue wheel with 95% saturation and 34% lightness, which reads as warm.

What is the RGB value of #9dab04?

rgb(157, 171, 4) — 157 red, 171 green and 4 blue out of 255, or 61.6% / 67.1% / 1.6% by channel.

Is #9dab04 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3630 and perceived brightness is 61%, so black text on it reaches 8.26:1.

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

Black. It scores 8.26:1 against #9dab04, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #9dab04?

#1204AB sits directly opposite on the wheel. Softer options are the split-complements #044AAB and #6504AB, which give the same contrast with far less vibration.

What colors go well with #9dab04?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #949B4B for secondary text, #011EAE as an accent and #727D03 for hover and pressed states. For a palette, the analogous pair #AB6504 and #4AAB04 stays calm, while #1204AB is the loudest partner.

What is #9dab04 in CMYK for printing?

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

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AB7C04; nudged cooler, #60AD02.

Work with #9dab04 in the Color Lab