Skip to content

#bbc03f

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

RGB
187, 192, 63
HSL
62°, 51%, 50%
CMYK
3, 0, 67, 25
Luminance
0.4862

At a glance

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

Hex
#bbc03f
Hue
62°
yellow
Saturation
51%
vivid
Lightness
50%
balanced
Brightness
75%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4862
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.72:1
Closest name
Dark Khaki
ΔE2000 7.5
Where it sits
Hue62° of 360°
Saturation51%
Lightness50%
Temperature
Warm ← → Cool27% 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#bbc03f
RGBrgb(187, 192, 63)
HSLhsl(62, 51%, 50%)
CMYKcmyk(3%, 0%, 67%, 25%)
LABlab(75.2 -17.7 61.5)
LCHlch(75.2 64.0 106.1)
OKLCHoklch(0.780 0.148 111.5)
Decimal12304447
Display P3color(display-p3 0.733 0.753 0.247)

Copy-ready code

/* CSS */
color: #bbc03f;
background-color: #bbc03f;
/* Tailwind (arbitrary) */
class="text-[#bbc03f] bg-[#bbc03f]"
/* SCSS */
$brand: #bbc03f;
/* SwiftUI */
Color(red: 0.733, green: 0.753, blue: 0.247)
/* Android */
Color.parseColor("#bbc03f")
/* Flutter */
Color(0xFFBBC03F)
/* Python / OpenCV (BGR) */
(63, 192, 187)

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

Accessibility — WCAG contrast

Aa
#bbc03f on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#bbc03f on black: 10.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEB72C
deuteranopia · #CFBB48
tritanopia · #C8B4A6

Color scale — 50 to 950

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

#FAFAF4
#F5F6EA
#EBEDCF
#E1E3AB
#D2D580
#C3C856
#bbc03f
#969A32
#787B28
#585A21
#373814
Base = 600Lightest = 50 · #FAFAF4Darkest = 950 · #373814
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F5F6EA;
  --brand-200: #EBEDCF;
  --brand-300: #E1E3AB;
  --brand-400: #D2D580;
  --brand-500: #C3C856;
  --brand-600: #bbc03f;
  --brand-700: #969A32;
  --brand-800: #787B28;
  --brand-900: #585A21;
  --brand-950: #373814;
  --brand: #bbc03f;
  --brand-ink: #000000;
}

Colors that work with #bbc03f

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#E9EBC2
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#3A57C5
Second voice, not a rival
Dark variant#5E601F
Hover, pressed, headers
Light variant#F8F9EC
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 #bbc03f

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#443FC0
Analogous left#C0843F
Analogous right#7BC03F
Split-complement 1#3F7BC0
Split-complement 2#843FC0
Triadic 1#3FBBC0
Triadic 2#C03FBB
Tetradic#3FC084

RGB percentages

Red73.3%
Green75.3%
Blue24.7%

CMYK percentages

Cyan2.6%
Magenta0.0%
Yellow67.2%
Key (black)24.7%

Color previews

#bbc03f text on a black background

contrast 10.72:1

Card sample

#bbc03f text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 192, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 192, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbc03f;
background: linear-gradient(135deg, #bbc03f, #65C03F);

Monochromatic scale

Palettes built from #bbc03f

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.

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

#bbc03f, answered

What color is #bbc03f?

#bbc03f is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 7.5). It sits at 62° on the hue wheel with 51% saturation and 50% lightness, which reads as warm.

What is the RGB value of #bbc03f?

rgb(187, 192, 63) — 187 red, 192 green and 63 blue out of 255, or 73.3% / 75.3% / 24.7% by channel.

Is #bbc03f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4862 and perceived brightness is 71%, so black text on it reaches 10.72:1.

Should I use black or white text on #bbc03f?

Black. It scores 10.72:1 against #bbc03f, versus 1.96:1 for white — AAA at any size.

What is the complementary color of #bbc03f?

#443FC0 sits directly opposite on the wheel. Softer options are the split-complements #3F7BC0 and #843FC0, which give the same contrast with far less vibration.

What colors go well with #bbc03f?

For interface work: #FAFAF4 as the surface, #E9EBC2 for borders, #989B4B for secondary text, #3A57C5 as an accent and #5E601F for hover and pressed states. For a palette, the analogous pair #C0843F and #7BC03F stays calm, while #443FC0 is the loudest partner.

What is #bbc03f in CMYK for printing?

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

Is #bbc03f warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C0963F; nudged cooler, #8CC33C.

Work with #bbc03f in the Color Lab