Skip to content

#bcaf5d

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

RGB
188, 175, 93
HSL
52°, 42%, 55%
CMYK
0, 7, 51, 26
Luminance
0.4214

At a glance

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

Hex
#bcaf5d
Hue
52°
yellow
Saturation
42%
soft
Lightness
55%
balanced
Brightness
74%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4214
WCAG relative
Temperature
Warm
18/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.43:1
Closest name
Dark Khaki
ΔE2000 3.1
Where it sits
Hue52° of 360°
Saturation42%
Lightness55%
Temperature
Warm ← → Cool18% 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#bcaf5d
RGBrgb(188, 175, 93)
HSLhsl(52, 42%, 55%)
CMYKcmyk(0%, 7%, 51%, 26%)
LABlab(71.0 -6.4 43.4)
LCHlch(71.0 43.8 98.4)
OKLCHoklch(0.748 0.105 100.4)
Decimal12365661
Display P3color(display-p3 0.737 0.686 0.365)

Copy-ready code

/* CSS */
color: #bcaf5d;
background-color: #bcaf5d;
/* Tailwind (arbitrary) */
class="text-[#bcaf5d] bg-[#bcaf5d]"
/* SCSS */
$brand: #bcaf5d;
/* SwiftUI */
Color(red: 0.737, green: 0.686, blue: 0.365)
/* Android */
Color.parseColor("#bcaf5d")
/* Flutter */
Color(0xFFBCAF5D)
/* Python / OpenCV (BGR) */
(93, 175, 188)

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

Accessibility — WCAG contrast

Aa
#bcaf5d on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#bcaf5d on black: 9.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BCAB56
deuteranopia · #C0B061
tritanopia · #C8A59C

Color scale — 50 to 950

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

#FAF9F5
#F5F3EB
#EAE7D2
#DED8B0
#CEC488
#bcaf5d
#AD9F48
#90853C
#736A30
#554E26
#353118
Base = 500Lightest = 50 · #FAF9F5Darkest = 950 · #353118
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F5F3EB;
  --brand-200: #EAE7D2;
  --brand-300: #DED8B0;
  --brand-400: #CEC488;
  --brand-500: #bcaf5d;
  --brand-600: #AD9F48;
  --brand-700: #90853C;
  --brand-800: #736A30;
  --brand-900: #554E26;
  --brand-950: #353118;
  --brand: #bcaf5d;
  --brand-ink: #000000;
}

Colors that work with #bcaf5d

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#FAFAF4
Tinted page background
Border#E7E3C5
Hairlines and dividers
Muted text#9B904B
Captions on the surface
Accent#5881C1
Second voice, not a rival
Dark variant#5A5325
Hover, pressed, headers
Light variant#F8F6ED
Selected rows, tints
Dark surface#242214
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 #bcaf5d

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#5D6ABC
Analogous left#BC805D
Analogous right#99BC5D
Split-complement 1#5D99BC
Split-complement 2#805DBC
Triadic 1#5DBCAF
Triadic 2#AF5DBC
Tetradic#5DBC80

RGB percentages

Red73.7%
Green68.6%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta6.9%
Yellow50.5%
Key (black)26.3%

Color previews

#bcaf5d text on a black background

contrast 9.43:1

Card sample

#bcaf5d text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcaf5d

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.

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

#bcaf5d, answered

What color is #bcaf5d?

#bcaf5d is a balanced soft yellow, closest to Dark Khaki (ΔE2000 3.1). It sits at 52° on the hue wheel with 42% saturation and 55% lightness, which reads as warm.

What is the RGB value of #bcaf5d?

rgb(188, 175, 93) — 188 red, 175 green and 93 blue out of 255, or 73.7% / 68.6% / 36.5% by channel.

Is #bcaf5d a light or a dark color?

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

Should I use black or white text on #bcaf5d?

Black. It scores 9.43:1 against #bcaf5d, versus 2.23:1 for white — AAA at any size.

What is the complementary color of #bcaf5d?

#5D6ABC sits directly opposite on the wheel. Softer options are the split-complements #5D99BC and #805DBC, which give the same contrast with far less vibration.

What colors go well with #bcaf5d?

For interface work: #FAFAF4 as the surface, #E7E3C5 for borders, #9B904B for secondary text, #5881C1 as an accent and #5A5325 for hover and pressed states. For a palette, the analogous pair #BC805D and #99BC5D stays calm, while #5D6ABC is the loudest partner.

What is #bcaf5d in CMYK for printing?

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

Is #bcaf5d warm or cool?

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

Work with #bcaf5d in the Color Lab