Skip to content

#bbc02f

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

RGB
187, 192, 47
HSL
62°, 61%, 47%
CMYK
3, 0, 76, 25
Luminance
0.4847

At a glance

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

Hex
#bbc02f
Hue
62°
yellow
Saturation
61%
vivid
Lightness
47%
balanced
Brightness
75%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4847
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.69:1
Closest name
Dark Khaki
ΔE2000 8.7
Where it sits
Hue62° of 360°
Saturation61%
Lightness47%
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#bbc02f
RGBrgb(187, 192, 47)
HSLhsl(62, 61%, 47%)
CMYKcmyk(3%, 0%, 76%, 25%)
LABlab(75.1 -18.5 67.0)
LCHlch(75.1 69.5 105.4)
OKLCHoklch(0.779 0.158 111.6)
Decimal12304431
Display P3color(display-p3 0.733 0.753 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc02f on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#bbc02f on black: 10.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CFB709
deuteranopia · #D0BB3B
tritanopia · #C8B4A5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bbc02f 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
#F6F7E8
#EEF0CC
#E7E9A5
#DADE78
#CED34B
#bbc02f
#A0A428
#808320
#5D5F1B
#3A3C11
Base = 600Lightest = 50 · #FBFBF4Darkest = 950 · #3A3C11
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F6F7E8;
  --brand-200: #EEF0CC;
  --brand-300: #E7E9A5;
  --brand-400: #DADE78;
  --brand-500: #CED34B;
  --brand-600: #bbc02f;
  --brand-700: #A0A428;
  --brand-800: #808320;
  --brand-900: #5D5F1B;
  --brand-950: #3A3C11;
  --brand: #bbc02f;
  --brand-ink: #000000;
}

Colors that work with #bbc02f

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#EBEDC0
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#2A4BC5
Second voice, not a rival
Dark variant#646619
Hover, pressed, headers
Light variant#F9FAEB
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 #bbc02f

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#342FC0
Analogous left#C07D2F
Analogous right#73C02F
Split-complement 1#2F73C0
Split-complement 2#7D2FC0
Triadic 1#2FBBC0
Triadic 2#C02FBB
Tetradic#2FC07D

RGB percentages

Red73.3%
Green75.3%
Blue18.4%

CMYK percentages

Cyan2.6%
Magenta0.0%
Yellow75.5%
Key (black)24.7%

Color previews

#bbc02f text on a black background

contrast 10.69:1

Card sample

#bbc02f text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbc02f

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.

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

#bbc02f, answered

What color is #bbc02f?

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

What is the RGB value of #bbc02f?

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

Is #bbc02f a light or a dark color?

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

Should I use black or white text on #bbc02f?

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

What is the complementary color of #bbc02f?

#342FC0 sits directly opposite on the wheel. Softer options are the split-complements #2F73C0 and #7D2FC0, which give the same contrast with far less vibration.

What colors go well with #bbc02f?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #989B4B for secondary text, #2A4BC5 as an accent and #646619 for hover and pressed states. For a palette, the analogous pair #C07D2F and #73C02F stays calm, while #342FC0 is the loudest partner.

What is #bbc02f in CMYK for printing?

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

Is #bbc02f 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 #C0902F; nudged cooler, #86C32D.

Work with #bbc02f in the Color Lab