Skip to content

#afb889

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

RGB
175, 184, 137
HSL
72°, 25%, 63%
CMYK
5, 0, 26, 28
Luminance
0.4520

At a glance

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

Hex
#afb889
Hue
72°
green
Saturation
25%
soft
Lightness
63%
balanced
Brightness
72%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4520
WCAG relative
Temperature
Warm
39/100 cool
Color family
Green
Tone
Soft
Best ink
Black
10.04:1
Closest name
Dark Khaki
ΔE2000 8
Where it sits
Hue72° of 360°
Saturation25%
Lightness63%
Temperature
Warm ← → Cool39% 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#afb889
RGBrgb(175, 184, 137)
HSLhsl(72, 25%, 63%)
CMYKcmyk(5%, 0%, 26%, 28%)
LABlab(73.0 -11.1 22.9)
LCHlch(73.0 25.4 115.9)
OKLCHoklch(0.763 0.065 116.8)
Decimal11516041
Display P3color(display-p3 0.686 0.722 0.537)

Copy-ready code

/* CSS */
color: #afb889;
background-color: #afb889;
/* Tailwind (arbitrary) */
class="text-[#afb889] bg-[#afb889]"
/* SCSS */
$brand: #afb889;
/* SwiftUI */
Color(red: 0.686, green: 0.722, blue: 0.537)
/* Android */
Color.parseColor("#afb889")
/* Flutter */
Color(0xFFAFB889)
/* Python / OpenCV (BGR) */
(137, 184, 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 #afb889 · 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: #afb889 as text scores 2.09:1 on white and 10.04:1 on black.

Accessibility — WCAG contrast

Aa
#afb889 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#afb889 on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BFB386
deuteranopia · #BEB48B
tritanopia · #B4B3AB

Color scale — 50 to 950

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

#F8F9F6
#F2F3ED
#E2E5D7
#D0D5B9
#afb889
#A0AB73
#8D995C
#767F4D
#5E663D
#464B2F
#2C2F1D
Base = 400Lightest = 50 · #F8F9F6Darkest = 950 · #2C2F1D
:root {
  --brand-50: #F8F9F6;
  --brand-100: #F2F3ED;
  --brand-200: #E2E5D7;
  --brand-300: #D0D5B9;
  --brand-400: #afb889;
  --brand-500: #A0AB73;
  --brand-600: #8D995C;
  --brand-700: #767F4D;
  --brand-800: #5E663D;
  --brand-900: #464B2F;
  --brand-950: #2C2F1D;
  --brand: #afb889;
  --brand-ink: #000000;
}

Colors that work with #afb889

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#F9F9F5
Tinted page background
Border#DCE0CC
Hairlines and dividers
Muted text#848F56
Captions on the surface
Accent#8588BC
Second voice, not a rival
Dark variant#4A5030
Hover, pressed, headers
Light variant#F4F5EF
Selected rows, tints
Dark surface#202315
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 #afb889

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#9289B8
Analogous left#B8A989
Analogous right#97B889
Split-complement 1#8997B8
Split-complement 2#A989B8
Triadic 1#89AFB8
Triadic 2#B889AF
Tetradic#89B8A9

RGB percentages

Red68.6%
Green72.2%
Blue53.7%

CMYK percentages

Cyan4.9%
Magenta0.0%
Yellow25.5%
Key (black)27.8%

Color previews

#afb889 text on a black background

contrast 10.04:1

Card sample

#afb889 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 184, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 184, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb889;
background: linear-gradient(135deg, #afb889, #90B889);

Monochromatic scale

Palettes built from #afb889

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.

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

#afb889, answered

What color is #afb889?

#afb889 is a balanced soft green, closest to Dark Khaki (ΔE2000 8). It sits at 72° on the hue wheel with 25% saturation and 63% lightness, which reads as warm.

What is the RGB value of #afb889?

rgb(175, 184, 137) — 175 red, 184 green and 137 blue out of 255, or 68.6% / 72.2% / 53.7% by channel.

Is #afb889 a light or a dark color?

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

Should I use black or white text on #afb889?

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

What is the complementary color of #afb889?

#9289B8 sits directly opposite on the wheel. Softer options are the split-complements #8997B8 and #A989B8, which give the same contrast with far less vibration.

What colors go well with #afb889?

For interface work: #F9F9F5 as the surface, #DCE0CC for borders, #848F56 for secondary text, #8588BC as an accent and #4A5030 for hover and pressed states. For a palette, the analogous pair #B8A989 and #97B889 stays calm, while #9289B8 is the loudest partner.

What is #afb889 in CMYK for printing?

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

Is #afb889 warm or cool?

Warm — it scores 39 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B8B089; nudged cooler, #9DBA87.

Work with #afb889 in the Color Lab