Skip to content

#abbc4f

a balanced, soft yellow · warm · closest name: Dark Khaki

RGB
171, 188, 79
HSL
69°, 45%, 52%
CMYK
9, 0, 58, 26
Luminance
0.4519

At a glance

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

Hex
#abbc4f
Hue
69°
yellow
Saturation
45%
soft
Lightness
52%
balanced
Brightness
74%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4519
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
10.04:1
Closest name
Dark Khaki
ΔE2000 7.1
Where it sits
Hue69° of 360°
Saturation45%
Lightness52%
Temperature
Warm ← → Cool33% 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#abbc4f
RGBrgb(171, 188, 79)
HSLhsl(69, 45%, 52%)
CMYKcmyk(9%, 0%, 58%, 26%)
LABlab(73.0 -21.3 52.0)
LCHlch(73.0 56.2 112.3)
OKLCHoklch(0.760 0.136 117.2)
Decimal11254863
Display P3color(display-p3 0.671 0.737 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abbc4f on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#abbc4f on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8B343
deuteranopia · #C6B456
tritanopia · #B4B2A4

Color scale — 50 to 950

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

#F9FAF5
#F3F5EA
#E7EBD1
#D8E0AE
#C5D185
#abbc4f
#A0B143
#859438
#6B762D
#4F5624
#313616
Base = 500Lightest = 50 · #F9FAF5Darkest = 950 · #313616
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F3F5EA;
  --brand-200: #E7EBD1;
  --brand-300: #D8E0AE;
  --brand-400: #C5D185;
  --brand-500: #abbc4f;
  --brand-600: #A0B143;
  --brand-700: #859438;
  --brand-800: #6B762D;
  --brand-900: #4F5624;
  --brand-950: #313616;
  --brand: #abbc4f;
  --brand-ink: #000000;
}

Colors that work with #abbc4f

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#E3E9C4
Hairlines and dividers
Muted text#8E9B4B
Captions on the surface
Accent#4A55C1
Second voice, not a rival
Dark variant#535C23
Hover, pressed, headers
Light variant#F6F8ED
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 #abbc4f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#604FBC
Analogous left#BC974F
Analogous right#75BC4F
Split-complement 1#4F75BC
Split-complement 2#974FBC
Triadic 1#4FABBC
Triadic 2#BC4FAB
Tetradic#4FBC97

RGB percentages

Red67.1%
Green73.7%
Blue31.0%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow58.0%
Key (black)26.3%

Color previews

#abbc4f text on a black background

contrast 10.04:1

Card sample

#abbc4f text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 188, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 188, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abbc4f;
background: linear-gradient(135deg, #abbc4f, #62BC4F);

Monochromatic scale

Palettes built from #abbc4f

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.

#abbc4f 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

Converts to four-color process without much drama. Proof it anyway.

#abbc4f, answered

What color is #abbc4f?

#abbc4f is a balanced soft yellow, closest to Dark Khaki (ΔE2000 7.1). It sits at 69° on the hue wheel with 45% saturation and 52% lightness, which reads as warm.

What is the RGB value of #abbc4f?

rgb(171, 188, 79) — 171 red, 188 green and 79 blue out of 255, or 67.1% / 73.7% / 31% by channel.

Is #abbc4f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4519 and perceived brightness is 68%, so black text on it reaches 10.04:1.

Should I use black or white text on #abbc4f?

Black. It scores 10.04:1 against #abbc4f, versus 2.09:1 for white — AAA at any size.

What is the complementary color of #abbc4f?

#604FBC sits directly opposite on the wheel. Softer options are the split-complements #4F75BC and #974FBC, which give the same contrast with far less vibration.

What colors go well with #abbc4f?

For interface work: #F9FAF4 as the surface, #E3E9C4 for borders, #8E9B4B for secondary text, #4A55C1 as an accent and #535C23 for hover and pressed states. For a palette, the analogous pair #BC974F and #75BC4F stays calm, while #604FBC is the loudest partner.

What is #abbc4f in CMYK for printing?

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

Is #abbc4f warm or cool?

Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BCA54F; nudged cooler, #83BF4D.

Work with #abbc4f in the Color Lab