Skip to content

#afb59f

a light, muted green · neutral · closest name: Dark Gray

RGB
175, 181, 159
HSL
76°, 13%, 67%
CMYK
3, 0, 12, 29
Luminance
0.4466

At a glance

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

Hex
#afb59f
Hue
76°
green
Saturation
13%
muted
Lightness
67%
light
Brightness
71%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4466
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Muted
Best ink
Black
9.93:1
Closest name
Dark Gray
ΔE2000 10.9
Where it sits
Hue76° of 360°
Saturation13%
Lightness67%
Temperature
Warm ← → Cool46% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#afb59f
RGBrgb(175, 181, 159)
HSLhsl(76, 13%, 67%)
CMYKcmyk(3%, 0%, 12%, 29%)
LABlab(72.7 -6.1 10.5)
LCHlch(72.7 12.1 120.1)
OKLCHoklch(0.762 0.031 119.6)
Decimal11515295
Display P3color(display-p3 0.686 0.710 0.624)

Copy-ready code

/* CSS */
color: #afb59f;
background-color: #afb59f;
/* Tailwind (arbitrary) */
class="text-[#afb59f] bg-[#afb59f]"
/* SCSS */
$brand: #afb59f;
/* SwiftUI */
Color(red: 0.686, green: 0.710, blue: 0.624)
/* Android */
Color.parseColor("#afb59f")
/* Flutter */
Color(0xFFAFB59F)
/* Python / OpenCV (BGR) */
(159, 181, 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 #afb59f · 9.93:1
Use #000000AAA at every size.
Aa
White text · 2.11:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.93:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #afb59f as text scores 2.11:1 on white and 9.93:1 on black.

Accessibility — WCAG contrast

Aa
#afb59f on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#afb59f on black: 9.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8B29E
deuteranopia · #B7B2A0
tritanopia · #B1B2AF

Color scale — 50 to 950

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

#F8F8F7
#F0F1EE
#E0E2DA
#CACEC0
#afb59f
#959D80
#828A6B
#6C7359
#565C47
#404436
#282B22
Base = 400Lightest = 50 · #F8F8F7Darkest = 950 · #282B22
:root {
  --brand-50: #F8F8F7;
  --brand-100: #F0F1EE;
  --brand-200: #E0E2DA;
  --brand-300: #CACEC0;
  --brand-400: #afb59f;
  --brand-500: #959D80;
  --brand-600: #828A6B;
  --brand-700: #6C7359;
  --brand-800: #565C47;
  --brand-900: #404436;
  --brand-950: #282B22;
  --brand: #afb59f;
  --brand-ink: #000000;
}

Colors that work with #afb59f

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#F8F8F6
Tinted page background
Border#D9DBD1
Hairlines and dividers
Muted text#798264
Captions on the surface
Accent#555577
Second voice, not a rival
Dark variant#434838
Hover, pressed, headers
Light variant#F3F4F1
Selected rows, tints
Dark surface#1E2018
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 #afb59f

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

Works well for
  • Text and icons on dark surfaces
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White 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#A59FB5
Analogous left#B5B09F
Analogous right#A4B59F
Split-complement 1#9FA4B5
Split-complement 2#B09FB5
Triadic 1#9FAFB5
Triadic 2#B59FAF
Tetradic#9FB5B0

RGB percentages

Red68.6%
Green71.0%
Blue62.4%

CMYK percentages

Cyan3.3%
Magenta0.0%
Yellow12.2%
Key (black)29.0%

Color previews

#afb59f text on a black background

contrast 9.93:1

Card sample

#afb59f text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 181, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 181, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb59f;
background: linear-gradient(135deg, #afb59f, #A0B59F);

Monochromatic scale

Palettes built from #afb59f

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.

#afb59f 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
BackgroundsBordersBody textDividers
Print note

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

#afb59f, answered

What color is #afb59f?

#afb59f is a light muted green, closest to Dark Gray (ΔE2000 10.9). It sits at 76° on the hue wheel with 13% saturation and 67% lightness, which reads as neutral.

What is the RGB value of #afb59f?

rgb(175, 181, 159) — 175 red, 181 green and 159 blue out of 255, or 68.6% / 71% / 62.4% by channel.

Is #afb59f a light or a dark color?

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

Should I use black or white text on #afb59f?

Black. It scores 9.93:1 against #afb59f, versus 2.11:1 for white — AAA at any size.

What is the complementary color of #afb59f?

#A59FB5 sits directly opposite on the wheel. Softer options are the split-complements #9FA4B5 and #B09FB5, which give the same contrast with far less vibration.

What colors go well with #afb59f?

For interface work: #F8F8F6 as the surface, #D9DBD1 for borders, #798264 for secondary text, #555577 as an accent and #434838 for hover and pressed states. For a palette, the analogous pair #B5B09F and #A4B59F stays calm, while #A59FB5 is the loudest partner.

What is #afb59f in CMYK for printing?

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

Is #afb59f warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B5B39F; nudged cooler, #A7B79D.

Work with #afb59f in the Color Lab