Skip to content

#bcb02a

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

RGB
188, 176, 42
HSL
55°, 64%, 45%
CMYK
0, 6, 78, 26
Luminance
0.4191

At a glance

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

Hex
#bcb02a
Hue
55°
yellow
Saturation
64%
vivid
Lightness
45%
balanced
Brightness
74%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4191
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.38:1
Closest name
Dark Khaki
ΔE2000 8
Where it sits
Hue55° of 360°
Saturation64%
Lightness45%
Temperature
Warm ← → Cool21% 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#bcb02a
RGBrgb(188, 176, 42)
HSLhsl(55, 64%, 45%)
CMYKcmyk(0%, 6%, 78%, 26%)
LABlab(70.8 -10.1 64.7)
LCHlch(70.8 65.5 98.9)
OKLCHoklch(0.745 0.145 104.0)
Decimal12365866
Display P3color(display-p3 0.737 0.690 0.165)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcb02a on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#bcb02a on black: 9.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C0AA05
deuteranopia · #C4B035
tritanopia · #CBA397

Color scale — 50 to 950

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

#FBFBF4
#F7F6E8
#F0EDCB
#EBE5A3
#E0D875
#D6CA48
#bcb02a
#A79C25
#857D1E
#615B19
#3D3910
Base = 600Lightest = 50 · #FBFBF4Darkest = 950 · #3D3910
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F7F6E8;
  --brand-200: #F0EDCB;
  --brand-300: #EBE5A3;
  --brand-400: #E0D875;
  --brand-500: #D6CA48;
  --brand-600: #bcb02a;
  --brand-700: #A79C25;
  --brand-800: #857D1E;
  --brand-900: #615B19;
  --brand-950: #3D3910;
  --brand: #bcb02a;
  --brand-ink: #000000;
}

Colors that work with #bcb02a

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#EDE9C0
Hairlines and dividers
Muted text#9B944B
Captions on the surface
Accent#2559C1
Second voice, not a rival
Dark variant#686217
Hover, pressed, headers
Light variant#FAF9EA
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 #bcb02a

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#2A36BC
Analogous left#BC672A
Analogous right#7FBC2A
Split-complement 1#2A7FBC
Split-complement 2#672ABC
Triadic 1#2ABCB0
Triadic 2#B02ABC
Tetradic#2ABC67

RGB percentages

Red73.7%
Green69.0%
Blue16.5%

CMYK percentages

Cyan0.0%
Magenta6.4%
Yellow77.7%
Key (black)26.3%

Color previews

#bcb02a text on a black background

contrast 9.38:1

Card sample

#bcb02a text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(188, 176, 42, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 176, 42, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bcb02a;
background: linear-gradient(135deg, #bcb02a, #67BC2A);

Monochromatic scale

Palettes built from #bcb02a

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.

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

#bcb02a, answered

What color is #bcb02a?

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

What is the RGB value of #bcb02a?

rgb(188, 176, 42) — 188 red, 176 green and 42 blue out of 255, or 73.7% / 69% / 16.5% by channel.

Is #bcb02a a light or a dark color?

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

Should I use black or white text on #bcb02a?

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

What is the complementary color of #bcb02a?

#2A36BC sits directly opposite on the wheel. Softer options are the split-complements #2A7FBC and #672ABC, which give the same contrast with far less vibration.

What colors go well with #bcb02a?

For interface work: #FAFAF4 as the surface, #EDE9C0 for borders, #9B944B for secondary text, #2559C1 as an accent and #686217 for hover and pressed states. For a palette, the analogous pair #BC672A and #7FBC2A stays calm, while #2A36BC is the loudest partner.

What is #bcb02a in CMYK for printing?

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

Is #bcb02a warm or cool?

Warm — it scores 21 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC842A; nudged cooler, #93BE28.

Work with #bcb02a in the Color Lab