Skip to content

#bbc31c

a dark, vivid yellow · warm · closest name: Yellow Green

RGB
187, 195, 28
HSL
63°, 75%, 44%
CMYK
4, 0, 86, 24
Luminance
0.4968

At a glance

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

Hex
#bbc31c
Hue
63°
yellow
Saturation
75%
vivid
Lightness
44%
dark
Brightness
76%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4968
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.94:1
Closest name
Yellow Green
ΔE2000 8.9
Where it sits
Hue63° of 360°
Saturation75%
Lightness44%
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#bbc31c
RGBrgb(187, 195, 28)
HSLhsl(63, 75%, 44%)
CMYKcmyk(4%, 0%, 86%, 24%)
LABlab(75.9 -20.6 72.7)
LCHlch(75.9 75.6 105.8)
OKLCHoklch(0.785 0.169 112.7)
Decimal12305180
Display P3color(display-p3 0.733 0.765 0.110)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc31c on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#bbc31c on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D2B900
deuteranopia · #D3BD2F
tritanopia · #C8B7A6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bbc31c 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
#F8F9E7
#F2F4C8
#EDF19D
#E4EA6C
#DBE33B
#CDD61F
#bbc31c
#898F14
#636713
#3E410C
Base = 700Lightest = 50 · #FBFCF3Darkest = 950 · #3E410C
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F8F9E7;
  --brand-200: #F2F4C8;
  --brand-300: #EDF19D;
  --brand-400: #E4EA6C;
  --brand-500: #DBE33B;
  --brand-600: #CDD61F;
  --brand-700: #bbc31c;
  --brand-800: #898F14;
  --brand-900: #636713;
  --brand-950: #3E410C;
  --brand: #bbc31c;
  --brand-ink: #000000;
}

Colors that work with #bbc31c

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#EAEDC0
Hairlines and dividers
Muted text#979B4B
Captions on the surface
Accent#183BC7
Second voice, not a rival
Dark variant#6B6F10
Hover, pressed, headers
Light variant#FBFCE9
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 #bbc31c

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#241CC3
Analogous left#C3781C
Analogous right#67C31C
Split-complement 1#1C67C3
Split-complement 2#781CC3
Triadic 1#1CBBC3
Triadic 2#C31CBB
Tetradic#1CC378

RGB percentages

Red73.3%
Green76.5%
Blue11.0%

CMYK percentages

Cyan4.1%
Magenta0.0%
Yellow85.6%
Key (black)23.5%

Color previews

#bbc31c text on a black background

contrast 10.94:1

Card sample

#bbc31c text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 195, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 195, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbc31c;
background: linear-gradient(135deg, #bbc31c, #4CC31C);

Monochromatic scale

Palettes built from #bbc31c

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.

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

#bbc31c, answered

What color is #bbc31c?

#bbc31c is a dark vivid yellow, closest to Yellow Green (ΔE2000 8.9). It sits at 63° on the hue wheel with 75% saturation and 44% lightness, which reads as warm.

What is the RGB value of #bbc31c?

rgb(187, 195, 28) — 187 red, 195 green and 28 blue out of 255, or 73.3% / 76.5% / 11% by channel.

Is #bbc31c a light or a dark color?

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

Should I use black or white text on #bbc31c?

Black. It scores 10.94:1 against #bbc31c, versus 1.92:1 for white — AAA at any size.

What is the complementary color of #bbc31c?

#241CC3 sits directly opposite on the wheel. Softer options are the split-complements #1C67C3 and #781CC3, which give the same contrast with far less vibration.

What colors go well with #bbc31c?

For interface work: #FAFAF4 as the surface, #EAEDC0 for borders, #979B4B for secondary text, #183BC7 as an accent and #6B6F10 for hover and pressed states. For a palette, the analogous pair #C3781C and #67C31C stays calm, while #241CC3 is the loudest partner.

What is #bbc31c in CMYK for printing?

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

Is #bbc31c 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 #C38E1C; nudged cooler, #7EC51A.

Work with #bbc31c in the Color Lab