Skip to content

#abc401

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

RGB
171, 196, 1
HSL
68°, 99%, 39%
CMYK
13, 0, 100, 23
Luminance
0.4814

At a glance

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

Hex
#abc401
Hue
68°
yellow
Saturation
99%
electric
Lightness
39%
dark
Brightness
77%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4814
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
10.63:1
Closest name
Yellow Green
ΔE2000 5.9
Where it sits
Hue68° of 360°
Saturation99%
Lightness39%
Temperature
Warm ← → Cool31% 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#abc401
RGBrgb(171, 196, 1)
HSLhsl(68, 99%, 39%)
CMYKcmyk(13%, 0%, 100%, 23%)
LABlab(74.9 -28.3 75.1)
LCHlch(74.9 80.3 110.6)
OKLCHoklch(0.774 0.181 118.6)
Decimal11256833
Display P3color(display-p3 0.671 0.769 0.004)

Copy-ready code

/* CSS */
color: #abc401;
background-color: #abc401;
/* Tailwind (arbitrary) */
class="text-[#abc401] bg-[#abc401]"
/* SCSS */
$brand: #abc401;
/* SwiftUI */
Color(red: 0.671, green: 0.769, blue: 0.004)
/* Android */
Color.parseColor("#abc401")
/* Flutter */
Color(0xFFABC401)
/* Python / OpenCV (BGR) */
(1, 196, 171)

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

Accessibility — WCAG contrast

Aa
#abc401 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#abc401 on black: 10.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D2B800
deuteranopia · #CFB926
tritanopia · #B6B8A6

Color scale — 50 to 950

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

#FCFEF1
#F9FCE3
#F4FBC0
#F0FE8F
#E9FE58
#E1FE20
#D4F401
#abc401
#8EA201
#677505
#404903
Base = 700Lightest = 50 · #FCFEF1Darkest = 950 · #404903
:root {
  --brand-50: #FCFEF1;
  --brand-100: #F9FCE3;
  --brand-200: #F4FBC0;
  --brand-300: #F0FE8F;
  --brand-400: #E9FE58;
  --brand-500: #E1FE20;
  --brand-600: #D4F401;
  --brand-700: #abc401;
  --brand-800: #8EA201;
  --brand-900: #677505;
  --brand-950: #404903;
  --brand: #abc401;
  --brand-ink: #000000;
}

Colors that work with #abc401

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#E7EDC0
Hairlines and dividers
Muted text#919B4B
Captions on the surface
Accent#0018C5
Second voice, not a rival
Dark variant#6F7F01
Hover, pressed, headers
Light variant#FCFFE6
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 #abc401

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#1A01C4
Analogous left#C47B01
Analogous right#49C401
Split-complement 1#0149C4
Split-complement 2#7B01C4
Triadic 1#01ABC4
Triadic 2#C401AB
Tetradic#01C47B

RGB percentages

Red67.1%
Green76.9%
Blue0.4%

CMYK percentages

Cyan12.8%
Magenta0.0%
Yellow99.5%
Key (black)23.1%

Color previews

#abc401 text on a black background

contrast 10.63:1

Card sample

#abc401 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 196, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 196, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc401;
background: linear-gradient(135deg, #abc401, #29C401);

Monochromatic scale

Palettes built from #abc401

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.

#abc401 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.

#abc401, answered

What color is #abc401?

#abc401 is a dark electric yellow, closest to Yellow Green (ΔE2000 5.9). It sits at 68° on the hue wheel with 99% saturation and 39% lightness, which reads as warm.

What is the RGB value of #abc401?

rgb(171, 196, 1) — 171 red, 196 green and 1 blue out of 255, or 67.1% / 76.9% / 0.4% by channel.

Is #abc401 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4814 and perceived brightness is 69%, so black text on it reaches 10.63:1.

Should I use black or white text on #abc401?

Black. It scores 10.63:1 against #abc401, versus 1.98:1 for white — AAA at any size.

What is the complementary color of #abc401?

#1A01C4 sits directly opposite on the wheel. Softer options are the split-complements #0149C4 and #7B01C4, which give the same contrast with far less vibration.

What colors go well with #abc401?

For interface work: #FAFAF4 as the surface, #E7EDC0 for borders, #919B4B for secondary text, #0018C5 as an accent and #6F7F01 for hover and pressed states. For a palette, the analogous pair #C47B01 and #49C401 stays calm, while #1A01C4 is the loudest partner.

What is #abc401 in CMYK for printing?

cmyk(13%, 0%, 100%, 23%). 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 #abc401 warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C49501; nudged cooler, #63C500.

Work with #abc401 in the Color Lab