Skip to content

#acaf8b

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

RGB
172, 175, 139
HSL
65°, 18%, 62%
CMYK
2, 0, 21, 31
Luminance
0.4129

At a glance

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

Hex
#acaf8b
Hue
65°
yellow
Saturation
18%
soft
Lightness
62%
balanced
Brightness
69%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4129
WCAG relative
Temperature
Warm
39/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.26:1
Closest name
Dark Khaki
ΔE2000 9.7
Where it sits
Hue65° of 360°
Saturation18%
Lightness62%
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#acaf8b
RGBrgb(172, 175, 139)
HSLhsl(65, 18%, 62%)
CMYKcmyk(2%, 0%, 21%, 31%)
LABlab(70.4 -7.2 18.2)
LCHlch(70.4 19.6 111.7)
OKLCHoklch(0.742 0.050 111.5)
Decimal11317131
Display P3color(display-p3 0.675 0.686 0.545)

Copy-ready code

/* CSS */
color: #acaf8b;
background-color: #acaf8b;
/* Tailwind (arbitrary) */
class="text-[#acaf8b] bg-[#acaf8b]"
/* SCSS */
$brand: #acaf8b;
/* SwiftUI */
Color(red: 0.675, green: 0.686, blue: 0.545)
/* Android */
Color.parseColor("#acaf8b")
/* Flutter */
Color(0xFFACAF8B)
/* Python / OpenCV (BGR) */
(139, 175, 172)

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

Accessibility — WCAG contrast

Aa
#acaf8b on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#acaf8b on black: 9.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B5AC89
deuteranopia · #B5AD8C
tritanopia · #B1ABA5

Color scale — 50 to 950

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

#F8F8F6
#F2F2EE
#E2E3D8
#D0D1BD
#acaf8b
#A0A37A
#8D9164
#767953
#5E6143
#464833
#2C2D20
Base = 400Lightest = 50 · #F8F8F6Darkest = 950 · #2C2D20
:root {
  --brand-50: #F8F8F6;
  --brand-100: #F2F2EE;
  --brand-200: #E2E3D8;
  --brand-300: #D0D1BD;
  --brand-400: #acaf8b;
  --brand-500: #A0A37A;
  --brand-600: #8D9164;
  --brand-700: #767953;
  --brand-800: #5E6143;
  --brand-900: #464833;
  --brand-950: #2C2D20;
  --brand: #acaf8b;
  --brand-ink: #000000;
}

Colors that work with #acaf8b

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#F9F9F6
Tinted page background
Border#DCDECF
Hairlines and dividers
Muted text#84885E
Captions on the surface
Accent#878EB3
Second voice, not a rival
Dark variant#4A4B34
Hover, pressed, headers
Light variant#F4F5F0
Selected rows, tints
Dark surface#202117
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 #acaf8b

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#8E8BAF
Analogous left#AFA08B
Analogous right#9AAF8B
Split-complement 1#8B9AAF
Split-complement 2#A08BAF
Triadic 1#8BACAF
Triadic 2#AF8BAC
Tetradic#8BAFA0

RGB percentages

Red67.5%
Green68.6%
Blue54.5%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow20.6%
Key (black)31.4%

Color previews

#acaf8b text on a black background

contrast 9.26:1

Card sample

#acaf8b text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 175, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 175, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acaf8b;
background: linear-gradient(135deg, #acaf8b, #94AF8B);

Monochromatic scale

Palettes built from #acaf8b

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.

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

#acaf8b, answered

What color is #acaf8b?

#acaf8b is a balanced soft yellow, closest to Dark Khaki (ΔE2000 9.7). It sits at 65° on the hue wheel with 18% saturation and 62% lightness, which reads as warm.

What is the RGB value of #acaf8b?

rgb(172, 175, 139) — 172 red, 175 green and 139 blue out of 255, or 67.5% / 68.6% / 54.5% by channel.

Is #acaf8b a light or a dark color?

It is a mid-tone. Relative luminance is 0.4129 and perceived brightness is 67%, so black text on it reaches 9.26:1.

Should I use black or white text on #acaf8b?

Black. It scores 9.26:1 against #acaf8b, versus 2.27:1 for white — AAA at any size.

What is the complementary color of #acaf8b?

#8E8BAF sits directly opposite on the wheel. Softer options are the split-complements #8B9AAF and #A08BAF, which give the same contrast with far less vibration.

What colors go well with #acaf8b?

For interface work: #F9F9F6 as the surface, #DCDECF for borders, #84885E for secondary text, #878EB3 as an accent and #4A4B34 for hover and pressed states. For a palette, the analogous pair #AFA08B and #9AAF8B stays calm, while #8E8BAF is the loudest partner.

What is #acaf8b in CMYK for printing?

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

Is #acaf8b 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 #AFA58B; nudged cooler, #9FB189.

Work with #acaf8b in the Color Lab