Skip to content

#bcaf36

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

RGB
188, 175, 54
HSL
54°, 55%, 48%
CMYK
0, 7, 71, 26
Luminance
0.4162

At a glance

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

Hex
#bcaf36
Hue
54°
yellow
Saturation
55%
vivid
Lightness
48%
balanced
Brightness
74%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4162
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.32:1
Closest name
Dark Khaki
ΔE2000 7
Where it sits
Hue54° of 360°
Saturation55%
Lightness48%
Temperature
Warm ← → Cool20% 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#bcaf36
RGBrgb(188, 175, 54)
HSLhsl(54, 55%, 48%)
CMYKcmyk(0%, 7%, 71%, 26%)
LABlab(70.6 -9.1 60.4)
LCHlch(70.6 61.0 98.6)
OKLCHoklch(0.744 0.138 103.1)
Decimal12365622
Display P3color(display-p3 0.737 0.686 0.212)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcaf36 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#bcaf36 on black: 9.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BFA922
deuteranopia · #C3AF3E
tritanopia · #CAA397

Color scale — 50 to 950

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

#FBFAF4
#F6F5E9
#EEEBCE
#E6E0A8
#D9D07C
#CDC151
#bcaf36
#9F942D
#7F7624
#5C561E
#3A3613
Base = 600Lightest = 50 · #FBFAF4Darkest = 950 · #3A3613
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F6F5E9;
  --brand-200: #EEEBCE;
  --brand-300: #E6E0A8;
  --brand-400: #D9D07C;
  --brand-500: #CDC151;
  --brand-600: #bcaf36;
  --brand-700: #9F942D;
  --brand-800: #7F7624;
  --brand-900: #5C561E;
  --brand-950: #3A3613;
  --brand: #bcaf36;
  --brand-ink: #000000;
}

Colors that work with #bcaf36

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#EDE8C0
Hairlines and dividers
Muted text#9B934B
Captions on the surface
Accent#3163C1
Second voice, not a rival
Dark variant#635C1C
Hover, pressed, headers
Light variant#F9F8EB
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 #bcaf36

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#3643BC
Analogous left#BC6C36
Analogous right#86BC36
Split-complement 1#3686BC
Split-complement 2#6C36BC
Triadic 1#36BCAF
Triadic 2#AF36BC
Tetradic#36BC6C

RGB percentages

Red73.7%
Green68.6%
Blue21.2%

CMYK percentages

Cyan0.0%
Magenta6.9%
Yellow71.3%
Key (black)26.3%

Color previews

#bcaf36 text on a black background

contrast 9.32:1

Card sample

#bcaf36 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcaf36

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.

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

#bcaf36, answered

What color is #bcaf36?

#bcaf36 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 7). It sits at 54° on the hue wheel with 55% saturation and 48% lightness, which reads as warm.

What is the RGB value of #bcaf36?

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

Is #bcaf36 a light or a dark color?

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

Should I use black or white text on #bcaf36?

Black. It scores 9.32:1 against #bcaf36, versus 2.25:1 for white — AAA at any size.

What is the complementary color of #bcaf36?

#3643BC sits directly opposite on the wheel. Softer options are the split-complements #3686BC and #6C36BC, which give the same contrast with far less vibration.

What colors go well with #bcaf36?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B934B for secondary text, #3163C1 as an accent and #635C1C for hover and pressed states. For a palette, the analogous pair #BC6C36 and #86BC36 stays calm, while #3643BC is the loudest partner.

What is #bcaf36 in CMYK for printing?

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

Is #bcaf36 warm or cool?

Warm — it scores 20 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC8736; nudged cooler, #99BF34.

Work with #bcaf36 in the Color Lab