Skip to content

#afbc6f

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

RGB
175, 188, 111
HSL
70°, 37%, 59%
CMYK
7, 0, 41, 26
Luminance
0.4623

At a glance

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

Hex
#afbc6f
Hue
70°
green
Saturation
37%
soft
Lightness
59%
balanced
Brightness
74%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4623
WCAG relative
Temperature
Warm
33/100 cool
Color family
Green
Tone
Soft
Best ink
Black
10.25:1
Closest name
Dark Khaki
ΔE2000 5.3
Where it sits
Hue70° of 360°
Saturation37%
Lightness59%
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#afbc6f
RGBrgb(175, 188, 111)
HSLhsl(70, 37%, 59%)
CMYKcmyk(7%, 0%, 41%, 26%)
LABlab(73.7 -16.6 37.4)
LCHlch(73.7 40.9 113.9)
OKLCHoklch(0.767 0.102 116.7)
Decimal11517039
Display P3color(display-p3 0.686 0.737 0.435)

Copy-ready code

/* CSS */
color: #afbc6f;
background-color: #afbc6f;
/* Tailwind (arbitrary) */
class="text-[#afbc6f] bg-[#afbc6f]"
/* SCSS */
$brand: #afbc6f;
/* SwiftUI */
Color(red: 0.686, green: 0.737, blue: 0.435)
/* Android */
Color.parseColor("#afbc6f")
/* Flutter */
Color(0xFFAFBC6F)
/* Python / OpenCV (BGR) */
(111, 188, 175)

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

Accessibility — WCAG contrast

Aa
#afbc6f on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#afbc6f on black: 10.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C6B569
deuteranopia · #C4B673
tritanopia · #B7B4A9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afbc6f 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
#F3F4EB
#E5E8D3
#D4DBB2
#BFCA8C
#afbc6f
#98A74E
#7F8B41
#656F34
#4B5229
#2F3319
Base = 500Lightest = 50 · #F9FAF5Darkest = 950 · #2F3319
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F3F4EB;
  --brand-200: #E5E8D3;
  --brand-300: #D4DBB2;
  --brand-400: #BFCA8C;
  --brand-500: #afbc6f;
  --brand-600: #98A74E;
  --brand-700: #7F8B41;
  --brand-800: #656F34;
  --brand-900: #4B5229;
  --brand-950: #2F3319;
  --brand: #afbc6f;
  --brand-ink: #000000;
}

Colors that work with #afbc6f

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#F9FAF5
Tinted page background
Border#E0E5C7
Hairlines and dividers
Muted text#8D9B4B
Captions on the surface
Accent#6B72C0
Second voice, not a rival
Dark variant#4F5728
Hover, pressed, headers
Light variant#F5F7EE
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 #afbc6f

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#7C6FBC
Analogous left#BCA26F
Analogous right#88BC6F
Split-complement 1#6F88BC
Split-complement 2#A26FBC
Triadic 1#6FAFBC
Triadic 2#BC6FAF
Tetradic#6FBCA2

RGB percentages

Red68.6%
Green73.7%
Blue43.5%

CMYK percentages

Cyan6.9%
Magenta0.0%
Yellow41.0%
Key (black)26.3%

Color previews

#afbc6f text on a black background

contrast 10.25:1

Card sample

#afbc6f text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 188, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 188, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afbc6f;
background: linear-gradient(135deg, #afbc6f, #7CBC6F);

Monochromatic scale

Palettes built from #afbc6f

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.

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

#afbc6f, answered

What color is #afbc6f?

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

What is the RGB value of #afbc6f?

rgb(175, 188, 111) — 175 red, 188 green and 111 blue out of 255, or 68.6% / 73.7% / 43.5% by channel.

Is #afbc6f a light or a dark color?

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

Should I use black or white text on #afbc6f?

Black. It scores 10.25:1 against #afbc6f, versus 2.05:1 for white — AAA at any size.

What is the complementary color of #afbc6f?

#7C6FBC sits directly opposite on the wheel. Softer options are the split-complements #6F88BC and #A26FBC, which give the same contrast with far less vibration.

What colors go well with #afbc6f?

For interface work: #F9FAF5 as the surface, #E0E5C7 for borders, #8D9B4B for secondary text, #6B72C0 as an accent and #4F5728 for hover and pressed states. For a palette, the analogous pair #BCA26F and #88BC6F stays calm, while #7C6FBC is the loudest partner.

What is #afbc6f in CMYK for printing?

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

Is #afbc6f 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 #BCAD6F; nudged cooler, #93BE6D.

Work with #afbc6f in the Color Lab