Skip to content

#bcbf21

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

RGB
188, 191, 33
HSL
61°, 71%, 44%
CMYK
2, 0, 83, 25
Luminance
0.4806

At a glance

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

Hex
#bcbf21
Hue
61°
yellow
Saturation
71%
vivid
Lightness
44%
dark
Brightness
75%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4806
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.61:1
Closest name
Dark Khaki
ΔE2000 9.4
Where it sits
Hue61° of 360°
Saturation71%
Lightness44%
Temperature
Warm ← → Cool26% 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#bcbf21
RGBrgb(188, 191, 33)
HSLhsl(61, 71%, 44%)
CMYKcmyk(2%, 0%, 83%, 25%)
LABlab(74.9 -18.1 70.8)
LCHlch(74.9 73.0 104.3)
OKLCHoklch(0.777 0.163 110.8)
Decimal12369697
Display P3color(display-p3 0.737 0.749 0.129)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcbf21 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#bcbf21 on black: 10.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CFB600
deuteranopia · #D0BA31
tritanopia · #CAB2A3

Color scale — 50 to 950

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

#FBFCF3
#F8F8E7
#F2F2C9
#EDEE9F
#E4E670
#DBDE40
#CED124
#bcbf21
#898B18
#636516
#3E3F0D
Base = 700Lightest = 50 · #FBFCF3Darkest = 950 · #3E3F0D
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F8F8E7;
  --brand-200: #F2F2C9;
  --brand-300: #EDEE9F;
  --brand-400: #E4E670;
  --brand-500: #DBDE40;
  --brand-600: #CED124;
  --brand-700: #bcbf21;
  --brand-800: #898B18;
  --brand-900: #636516;
  --brand-950: #3E3F0D;
  --brand: #bcbf21;
  --brand-ink: #000000;
}

Colors that work with #bcbf21

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#ECEDC0
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#1D43C3
Second voice, not a rival
Dark variant#6B6D13
Hover, pressed, headers
Light variant#FBFBE9
Selected rows, tints
Dark surface#242414
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 #bcbf21

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#2421BF
Analogous left#BF7321
Analogous right#6DBF21
Split-complement 1#216DBF
Split-complement 2#7321BF
Triadic 1#21BCBF
Triadic 2#BF21BC
Tetradic#21BF73

RGB percentages

Red73.7%
Green74.9%
Blue12.9%

CMYK percentages

Cyan1.6%
Magenta0.0%
Yellow82.7%
Key (black)25.1%

Color previews

#bcbf21 text on a black background

contrast 10.61:1

Card sample

#bcbf21 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(188, 191, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 191, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bcbf21;
background: linear-gradient(135deg, #bcbf21, #53BF21);

Monochromatic scale

Palettes built from #bcbf21

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.

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

#bcbf21, answered

What color is #bcbf21?

#bcbf21 is a dark vivid yellow, closest to Dark Khaki (ΔE2000 9.4). It sits at 61° on the hue wheel with 71% saturation and 44% lightness, which reads as warm.

What is the RGB value of #bcbf21?

rgb(188, 191, 33) — 188 red, 191 green and 33 blue out of 255, or 73.7% / 74.9% / 12.9% by channel.

Is #bcbf21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4806 and perceived brightness is 70%, so black text on it reaches 10.61:1.

Should I use black or white text on #bcbf21?

Black. It scores 10.61:1 against #bcbf21, versus 1.98:1 for white — AAA at any size.

What is the complementary color of #bcbf21?

#2421BF sits directly opposite on the wheel. Softer options are the split-complements #216DBF and #7321BF, which give the same contrast with far less vibration.

What colors go well with #bcbf21?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #999B4B for secondary text, #1D43C3 as an accent and #6B6D13 for hover and pressed states. For a palette, the analogous pair #BF7321 and #6DBF21 stays calm, while #2421BF is the loudest partner.

What is #bcbf21 in CMYK for printing?

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

Is #bcbf21 warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BF8A21; nudged cooler, #83C11F.

Work with #bcbf21 in the Color Lab