Skip to content

#abcf5f

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

RGB
171, 207, 95
HSL
79°, 54%, 59%
CMYK
17, 0, 54, 19
Luminance
0.5411

At a glance

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

Hex
#abcf5f
Hue
79°
green
Saturation
54%
vivid
Lightness
59%
balanced
Brightness
81%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5411
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.82:1
Closest name
Yellow Green
ΔE2000 4.7
Where it sits
Hue79° of 360°
Saturation54%
Lightness59%
Temperature
Warm ← → Cool41% 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#abcf5f
RGBrgb(171, 207, 95)
HSLhsl(79, 54%, 59%)
CMYKcmyk(17%, 0%, 54%, 19%)
LABlab(78.5 -29.1 51.0)
LCHlch(78.5 58.8 119.7)
OKLCHoklch(0.805 0.145 124.4)
Decimal11259743
Display P3color(display-p3 0.671 0.812 0.373)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abcf5f on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#abcf5f on black: 11.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D9C354
deuteranopia · #D4C266
tritanopia · #B2C6B6

Color scale — 50 to 950

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

#F8FBF4
#F2F6E9
#E3EECE
#D2E5A9
#BBD87E
#abcf5f
#92BC39
#7A9D2F
#617E26
#485B1F
#2D3913
Base = 500Lightest = 50 · #F8FBF4Darkest = 950 · #2D3913
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F2F6E9;
  --brand-200: #E3EECE;
  --brand-300: #D2E5A9;
  --brand-400: #BBD87E;
  --brand-500: #abcf5f;
  --brand-600: #92BC39;
  --brand-700: #7A9D2F;
  --brand-800: #617E26;
  --brand-900: #485B1F;
  --brand-950: #2D3913;
  --brand: #abcf5f;
  --brand-ink: #000000;
}

Colors that work with #abcf5f

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#F8FAF4
Tinted page background
Border#DEECC0
Hairlines and dividers
Muted text#819B4B
Captions on the surface
Accent#635BD3
Second voice, not a rival
Dark variant#4C621D
Hover, pressed, headers
Light variant#F5F9EB
Selected rows, tints
Dark surface#1F2414
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 #abcf5f

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
  • 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
  • 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#835FCF
Analogous left#CFBB5F
Analogous right#73CF5F
Split-complement 1#5F73CF
Split-complement 2#BB5FCF
Triadic 1#5FABCF
Triadic 2#CF5FAB
Tetradic#5FCFBB

RGB percentages

Red67.1%
Green81.2%
Blue37.3%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow54.1%
Key (black)18.8%

Color previews

#abcf5f text on a black background

contrast 11.82:1

Card sample

#abcf5f text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 207, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 207, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abcf5f;
background: linear-gradient(135deg, #abcf5f, #60CF5F);

Monochromatic scale

Palettes built from #abcf5f

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.

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

#abcf5f, answered

What color is #abcf5f?

#abcf5f is a balanced vivid green, closest to Yellow Green (ΔE2000 4.7). It sits at 79° on the hue wheel with 54% saturation and 59% lightness, which reads as warm.

What is the RGB value of #abcf5f?

rgb(171, 207, 95) — 171 red, 207 green and 95 blue out of 255, or 67.1% / 81.2% / 37.3% by channel.

Is #abcf5f a light or a dark color?

It is a light color. Relative luminance is 0.5411 and perceived brightness is 73%, so black text on it reaches 11.82:1.

Should I use black or white text on #abcf5f?

Black. It scores 11.82:1 against #abcf5f, versus 1.78:1 for white — AAA at any size.

What is the complementary color of #abcf5f?

#835FCF sits directly opposite on the wheel. Softer options are the split-complements #5F73CF and #BB5FCF, which give the same contrast with far less vibration.

What colors go well with #abcf5f?

For interface work: #F8FAF4 as the surface, #DEECC0 for borders, #819B4B for secondary text, #635BD3 as an accent and #4C621D for hover and pressed states. For a palette, the analogous pair #CFBB5F and #73CF5F stays calm, while #835FCF is the loudest partner.

What is #abcf5f in CMYK for printing?

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

Is #abcf5f warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CFCA5F; nudged cooler, #81D15D.

Work with #abcf5f in the Color Lab