Skip to content

#bcaf4b

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

RGB
188, 175, 75
HSL
53°, 46%, 52%
CMYK
0, 7, 60, 26
Luminance
0.4186

At a glance

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

Hex
#bcaf4b
Hue
53°
yellow
Saturation
46%
vivid
Lightness
52%
balanced
Brightness
74%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4186
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.37:1
Closest name
Dark Khaki
ΔE2000 4.9
Where it sits
Hue53° of 360°
Saturation46%
Lightness52%
Temperature
Warm ← → Cool19% 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#bcaf4b
RGBrgb(188, 175, 75)
HSLhsl(53, 46%, 52%)
CMYKcmyk(0%, 7%, 60%, 26%)
LABlab(70.8 -7.8 51.7)
LCHlch(70.8 52.3 98.6)
OKLCHoklch(0.745 0.122 101.9)
Decimal12365643
Display P3color(display-p3 0.737 0.686 0.294)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcaf4b on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#bcaf4b on black: 9.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BEAA40
deuteranopia · #C2B050
tritanopia · #C9A499

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bcaf4b is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF9F5
#F5F4EA
#EBE8D1
#E1DBAD
#D1C884
#C2B65C
#bcaf4b
#958A37
#776E2C
#575123
#363316
Base = 600Lightest = 50 · #FAF9F5Darkest = 950 · #363316
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F5F4EA;
  --brand-200: #EBE8D1;
  --brand-300: #E1DBAD;
  --brand-400: #D1C884;
  --brand-500: #C2B65C;
  --brand-600: #bcaf4b;
  --brand-700: #958A37;
  --brand-800: #776E2C;
  --brand-900: #575123;
  --brand-950: #363316;
  --brand: #bcaf4b;
  --brand-ink: #000000;
}

Colors that work with #bcaf4b

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#E9E5C4
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#4673C1
Second voice, not a rival
Dark variant#5D5623
Hover, pressed, headers
Light variant#F8F7EC
Selected rows, tints
Dark surface#242314
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 #bcaf4b

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#4B58BC
Analogous left#BC774B
Analogous right#91BC4B
Split-complement 1#4B91BC
Split-complement 2#774BBC
Triadic 1#4BBCAF
Triadic 2#AF4BBC
Tetradic#4BBC77

RGB percentages

Red73.7%
Green68.6%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta6.9%
Yellow60.1%
Key (black)26.3%

Color previews

#bcaf4b text on a black background

contrast 9.37:1

Card sample

#bcaf4b text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcaf4b

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.

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

#bcaf4b, answered

What color is #bcaf4b?

#bcaf4b is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 4.9). It sits at 53° on the hue wheel with 46% saturation and 52% lightness, which reads as warm.

What is the RGB value of #bcaf4b?

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

Is #bcaf4b a light or a dark color?

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

Should I use black or white text on #bcaf4b?

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

What is the complementary color of #bcaf4b?

#4B58BC sits directly opposite on the wheel. Softer options are the split-complements #4B91BC and #774BBC, which give the same contrast with far less vibration.

What colors go well with #bcaf4b?

For interface work: #FAFAF4 as the surface, #E9E5C4 for borders, #9B924B for secondary text, #4673C1 as an accent and #5D5623 for hover and pressed states. For a palette, the analogous pair #BC774B and #91BC4B stays calm, while #4B58BC is the loudest partner.

What is #bcaf4b in CMYK for printing?

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

Is #bcaf4b warm or cool?

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

Work with #bcaf4b in the Color Lab