Skip to content

#abcc0d

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

RGB
171, 204, 13
HSL
70°, 88%, 43%
CMYK
16, 0, 94, 20
Luminance
0.5187

At a glance

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

Hex
#abcc0d
Hue
70°
green
Saturation
88%
electric
Lightness
43%
dark
Brightness
80%
HSV value
Perceived
71%
weighted brightness
Luminance
0.5187
WCAG relative
Temperature
Warm
34/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.37:1
Closest name
Yellow Green
ΔE2000 4.5
Where it sits
Hue70° of 360°
Saturation88%
Lightness43%
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#abcc0d
RGBrgb(171, 204, 13)
HSLhsl(70, 88%, 43%)
CMYKcmyk(16%, 0%, 94%, 20%)
LABlab(77.2 -31.9 75.7)
LCHlch(77.2 82.1 112.9)
OKLCHoklch(0.793 0.188 120.8)
Decimal11258893
Display P3color(display-p3 0.671 0.800 0.051)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcc0d on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#abcc0d on black: 11.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D9BF00
deuteranopia · #D5BF2C
tritanopia · #B5C1AE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #abcc0d 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
#CFF22C
#C1E60F
#abcc0d
#81990A
#5E6F0C
#3A4507
Base = 700Lightest = 50 · #FBFDF2Darkest = 950 · #3A4507
:root {
  --brand-50: #FBFDF2;
  --brand-100: #F7FAE5;
  --brand-200: #EFF8C4;
  --brand-300: #E7F896;
  --brand-400: #DBF561;
  --brand-500: #CFF22C;
  --brand-600: #C1E60F;
  --brand-700: #abcc0d;
  --brand-800: #81990A;
  --brand-900: #5E6F0C;
  --brand-950: #3A4507;
  --brand: #abcc0d;
  --brand-ink: #000000;
}

Colors that work with #abcc0d

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#0918D0
Second voice, not a rival
Dark variant#647808
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 #abcc0d

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#2E0DCC
Analogous left#CC8D0D
Analogous right#4BCC0D
Split-complement 1#0D4BCC
Split-complement 2#8D0DCC
Triadic 1#0DABCC
Triadic 2#CC0DAB
Tetradic#0DCC8D

RGB percentages

Red67.1%
Green80.0%
Blue5.1%

CMYK percentages

Cyan16.2%
Magenta0.0%
Yellow93.6%
Key (black)20.0%

Color previews

#abcc0d text on a black background

contrast 11.37:1

Card sample

#abcc0d text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 204, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 204, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abcc0d;
background: linear-gradient(135deg, #abcc0d, #2CCC0D);

Monochromatic scale

Palettes built from #abcc0d

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.

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

#abcc0d, answered

What color is #abcc0d?

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

What is the RGB value of #abcc0d?

rgb(171, 204, 13) — 171 red, 204 green and 13 blue out of 255, or 67.1% / 80% / 5.1% by channel.

Is #abcc0d a light or a dark color?

It is a light color. Relative luminance is 0.5187 and perceived brightness is 71%, so black text on it reaches 11.37:1.

Should I use black or white text on #abcc0d?

Black. It scores 11.37:1 against #abcc0d, versus 1.85:1 for white — AAA at any size.

What is the complementary color of #abcc0d?

#2E0DCC sits directly opposite on the wheel. Softer options are the split-complements #0D4BCC and #8D0DCC, which give the same contrast with far less vibration.

What colors go well with #abcc0d?

For interface work: #F9FAF4 as the surface, #E5EDC0 for borders, #8D9B4B for secondary text, #0918D0 as an accent and #647808 for hover and pressed states. For a palette, the analogous pair #CC8D0D and #4BCC0D stays calm, while #2E0DCC is the loudest partner.

What is #abcc0d in CMYK for printing?

cmyk(16%, 0%, 94%, 20%). 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 #abcc0d 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 #CCA70D; nudged cooler, #65CE0B.

Work with #abcc0d in the Color Lab