Skip to content

#b0af79

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

RGB
176, 175, 121
HSL
59°, 26%, 58%
CMYK
0, 1, 31, 31
Luminance
0.4127

At a glance

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

Hex
#b0af79
Hue
59°
yellow
Saturation
26%
soft
Lightness
58%
balanced
Brightness
69%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4127
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.25:1
Closest name
Dark Khaki
ΔE2000 5.2
Where it sits
Hue59° of 360°
Saturation26%
Lightness58%
Temperature
Warm ← → Cool31% 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#b0af79
RGBrgb(176, 175, 121)
HSLhsl(59, 26%, 58%)
CMYKcmyk(0%, 1%, 31%, 31%)
LABlab(70.4 -8.2 27.9)
LCHlch(70.4 29.1 106.4)
OKLCHoklch(0.742 0.073 107.1)
Decimal11579257
Display P3color(display-p3 0.690 0.686 0.475)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b0af79 on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#b0af79 on black: 9.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8AB75
deuteranopia · #B9AD7B
tritanopia · #B8A8A1

Color scale — 50 to 950

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

#F9F9F6
#F3F3ED
#E5E5D6
#D5D5B8
#C1C095
#b0af79
#9A995B
#807F4C
#67663D
#4C4B2F
#2F2F1D
Base = 500Lightest = 50 · #F9F9F6Darkest = 950 · #2F2F1D
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F3ED;
  --brand-200: #E5E5D6;
  --brand-300: #D5D5B8;
  --brand-400: #C1C095;
  --brand-500: #b0af79;
  --brand-600: #9A995B;
  --brand-700: #807F4C;
  --brand-800: #67663D;
  --brand-900: #4C4B2F;
  --brand-950: #2F2F1D;
  --brand: #b0af79;
  --brand-ink: #000000;
}

Colors that work with #b0af79

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#E1E0CC
Hairlines and dividers
Muted text#908F55
Captions on the surface
Accent#7586B4
Second voice, not a rival
Dark variant#50502F
Hover, pressed, headers
Light variant#F6F5EF
Selected rows, tints
Dark surface#232315
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 #b0af79

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#797AB0
Analogous left#B09379
Analogous right#95B079
Split-complement 1#7995B0
Split-complement 2#9379B0
Triadic 1#79B0AF
Triadic 2#AF79B0
Tetradic#79B093

RGB percentages

Red69.0%
Green68.6%
Blue47.5%

CMYK percentages

Cyan0.0%
Magenta0.6%
Yellow31.3%
Key (black)31.0%

Color previews

#b0af79 text on a black background

contrast 9.25:1

Card sample

#b0af79 text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b0af79

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.

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

#b0af79, answered

What color is #b0af79?

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

What is the RGB value of #b0af79?

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

Is #b0af79 a light or a dark color?

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

Should I use black or white text on #b0af79?

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

What is the complementary color of #b0af79?

#797AB0 sits directly opposite on the wheel. Softer options are the split-complements #7995B0 and #9379B0, which give the same contrast with far less vibration.

What colors go well with #b0af79?

For interface work: #F9F9F5 as the surface, #E1E0CC for borders, #908F55 for secondary text, #7586B4 as an accent and #50502F for hover and pressed states. For a palette, the analogous pair #B09379 and #95B079 stays calm, while #797AB0 is the loudest partner.

What is #b0af79 in CMYK for printing?

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

Is #b0af79 warm or cool?

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

Work with #b0af79 in the Color Lab