Skip to content

#b0af8d

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

RGB
176, 175, 141
HSL
58°, 18%, 62%
CMYK
0, 1, 20, 31
Luminance
0.4181

At a glance

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

Hex
#b0af8d
Hue
58°
yellow
Saturation
18%
soft
Lightness
62%
balanced
Brightness
69%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4181
WCAG relative
Temperature
Warm
36/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.36:1
Closest name
Dark Khaki
ΔE2000 9.7
Where it sits
Hue58° of 360°
Saturation18%
Lightness62%
Temperature
Warm ← → Cool36% 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#b0af8d
RGBrgb(176, 175, 141)
HSLhsl(58, 18%, 62%)
CMYKcmyk(0%, 1%, 20%, 31%)
LABlab(70.7 -5.4 17.6)
LCHlch(70.7 18.4 107.1)
OKLCHoklch(0.746 0.047 106.1)
Decimal11579277
Display P3color(display-p3 0.690 0.686 0.553)

Copy-ready code

/* CSS */
color: #b0af8d;
background-color: #b0af8d;
/* Tailwind (arbitrary) */
class="text-[#b0af8d] bg-[#b0af8d]"
/* SCSS */
$brand: #b0af8d;
/* SwiftUI */
Color(red: 0.690, green: 0.686, blue: 0.553)
/* Android */
Color.parseColor("#b0af8d")
/* Flutter */
Color(0xFFB0AF8D)
/* Python / OpenCV (BGR) */
(141, 175, 176)

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

Accessibility — WCAG contrast

Aa
#b0af8d on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#b0af8d on black: 9.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B5AC8B
deuteranopia · #B6AE8E
tritanopia · #B5AAA6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b0af8d 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
#E3E3D9
#D1D0BD
#b0af8d
#A3A27A
#918F64
#787754
#606043
#474733
#2D2C20
Base = 400Lightest = 50 · #F8F8F6Darkest = 950 · #2D2C20
:root {
  --brand-50: #F8F8F6;
  --brand-100: #F2F2EE;
  --brand-200: #E3E3D9;
  --brand-300: #D1D0BD;
  --brand-400: #b0af8d;
  --brand-500: #A3A27A;
  --brand-600: #918F64;
  --brand-700: #787754;
  --brand-800: #606043;
  --brand-900: #474733;
  --brand-950: #2D2C20;
  --brand: #b0af8d;
  --brand-ink: #000000;
}

Colors that work with #b0af8d

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#DEDDCF
Hairlines and dividers
Muted text#88865E
Captions on the surface
Accent#4F5C7D
Second voice, not a rival
Dark variant#4B4B34
Hover, pressed, headers
Light variant#F5F4F0
Selected rows, tints
Dark surface#212117
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 #b0af8d

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#8D8EB0
Analogous left#B09E8D
Analogous right#A0B08D
Split-complement 1#8DA0B0
Split-complement 2#9E8DB0
Triadic 1#8DB0AF
Triadic 2#AF8DB0
Tetradic#8DB09E

RGB percentages

Red69.0%
Green68.6%
Blue55.3%

CMYK percentages

Cyan0.0%
Magenta0.6%
Yellow19.9%
Key (black)31.0%

Color previews

#b0af8d text on a black background

contrast 9.36:1

Card sample

#b0af8d text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(176, 175, 141, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 175, 141, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b0af8d;
background: linear-gradient(135deg, #b0af8d, #9AB08D);

Monochromatic scale

Palettes built from #b0af8d

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.

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

#b0af8d, answered

What color is #b0af8d?

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

What is the RGB value of #b0af8d?

rgb(176, 175, 141) — 176 red, 175 green and 141 blue out of 255, or 69% / 68.6% / 55.3% by channel.

Is #b0af8d a light or a dark color?

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

Should I use black or white text on #b0af8d?

Black. It scores 9.36:1 against #b0af8d, versus 2.24:1 for white — AAA at any size.

What is the complementary color of #b0af8d?

#8D8EB0 sits directly opposite on the wheel. Softer options are the split-complements #8DA0B0 and #9E8DB0, which give the same contrast with far less vibration.

What colors go well with #b0af8d?

For interface work: #F9F9F6 as the surface, #DEDDCF for borders, #88865E for secondary text, #4F5C7D as an accent and #4B4B34 for hover and pressed states. For a palette, the analogous pair #B09E8D and #A0B08D stays calm, while #8D8EB0 is the loudest partner.

What is #b0af8d in CMYK for printing?

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

Is #b0af8d warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B0A28D; nudged cooler, #A5B28B.

Work with #b0af8d in the Color Lab