Skip to content

#abc27b

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

RGB
171, 194, 123
HSL
79°, 37%, 62%
CMYK
12, 0, 37, 24
Luminance
0.4867

At a glance

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

Hex
#abc27b
Hue
79°
green
Saturation
37%
soft
Lightness
62%
balanced
Brightness
76%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4867
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Soft
Best ink
Black
10.73:1
Closest name
Dark Khaki
ΔE2000 8.2
Where it sits
Hue79° of 360°
Saturation37%
Lightness62%
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#abc27b
RGBrgb(171, 194, 123)
HSLhsl(79, 37%, 62%)
CMYKcmyk(12%, 0%, 37%, 24%)
LABlab(75.3 -19.7 33.2)
LCHlch(75.3 38.6 120.7)
OKLCHoklch(0.780 0.098 123.3)
Decimal11256443
Display P3color(display-p3 0.671 0.761 0.482)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc27b on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#abc27b on black: 10.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CABA76
deuteranopia · #C7B97E
tritanopia · #B0BBB0

Color scale — 50 to 950

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

#F8FAF5
#F1F4EB
#E2E9D3
#CEDCB2
#abc27b
#9DB866
#8AA74D
#738C40
#5C7034
#455228
#2B3319
Base = 400Lightest = 50 · #F8FAF5Darkest = 950 · #2B3319
:root {
  --brand-50: #F8FAF5;
  --brand-100: #F1F4EB;
  --brand-200: #E2E9D3;
  --brand-300: #CEDCB2;
  --brand-400: #abc27b;
  --brand-500: #9DB866;
  --brand-600: #8AA74D;
  --brand-700: #738C40;
  --brand-800: #5C7034;
  --brand-900: #455228;
  --brand-950: #2B3319;
  --brand: #abc27b;
  --brand-ink: #000000;
}

Colors that work with #abc27b

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#F8FAF5
Tinted page background
Border#DCE5C7
Hairlines and dividers
Muted text#819B4B
Captions on the surface
Accent#7D77C6
Second voice, not a rival
Dark variant#485728
Hover, pressed, headers
Light variant#F4F7EE
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 #abc27b

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
  • 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#927BC2
Analogous left#C2B67B
Analogous right#88C27B
Split-complement 1#7B88C2
Split-complement 2#B67BC2
Triadic 1#7BABC2
Triadic 2#C27BAB
Tetradic#7BC2B6

RGB percentages

Red67.1%
Green76.1%
Blue48.2%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow36.6%
Key (black)23.9%

Color previews

#abc27b text on a black background

contrast 10.73:1

Card sample

#abc27b text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 194, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 194, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc27b;
background: linear-gradient(135deg, #abc27b, #7CC27B);

Monochromatic scale

Palettes built from #abc27b

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.

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

#abc27b, answered

What color is #abc27b?

#abc27b is a balanced soft green, closest to Dark Khaki (ΔE2000 8.2). It sits at 79° on the hue wheel with 37% saturation and 62% lightness, which reads as warm.

What is the RGB value of #abc27b?

rgb(171, 194, 123) — 171 red, 194 green and 123 blue out of 255, or 67.1% / 76.1% / 48.2% by channel.

Is #abc27b a light or a dark color?

It is a mid-tone. Relative luminance is 0.4867 and perceived brightness is 71%, so black text on it reaches 10.73:1.

Should I use black or white text on #abc27b?

Black. It scores 10.73:1 against #abc27b, versus 1.96:1 for white — AAA at any size.

What is the complementary color of #abc27b?

#927BC2 sits directly opposite on the wheel. Softer options are the split-complements #7B88C2 and #B67BC2, which give the same contrast with far less vibration.

What colors go well with #abc27b?

For interface work: #F8FAF5 as the surface, #DCE5C7 for borders, #819B4B for secondary text, #7D77C6 as an accent and #485728 for hover and pressed states. For a palette, the analogous pair #C2B67B and #88C27B stays calm, while #927BC2 is the loudest partner.

What is #abc27b in CMYK for printing?

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

Is #abc27b 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 #C2BF7B; nudged cooler, #90C479.

Work with #abc27b in the Color Lab