Skip to content

#bdbe21

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

RGB
189, 190, 33
HSL
60°, 70%, 44%
CMYK
1, 0, 83, 26
Luminance
0.4776

At a glance

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

Hex
#bdbe21
Hue
60°
yellow
Saturation
70%
vivid
Lightness
44%
dark
Brightness
75%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4776
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.55:1
Closest name
Dark Khaki
ΔE2000 9.2
Where it sits
Hue60° of 360°
Saturation70%
Lightness44%
Temperature
Warm ← → Cool25% 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#bdbe21
RGBrgb(189, 190, 33)
HSLhsl(60, 70%, 44%)
CMYKcmyk(1%, 0%, 83%, 26%)
LABlab(74.7 -17.1 70.6)
LCHlch(74.7 72.7 103.6)
OKLCHoklch(0.776 0.162 110.0)
Decimal12434977
Display P3color(display-p3 0.741 0.745 0.129)

Copy-ready code

/* CSS */
color: #bdbe21;
background-color: #bdbe21;
/* Tailwind (arbitrary) */
class="text-[#bdbe21] bg-[#bdbe21]"
/* SCSS */
$brand: #bdbe21;
/* SwiftUI */
Color(red: 0.741, green: 0.745, blue: 0.129)
/* Android */
Color.parseColor("#bdbe21")
/* Flutter */
Color(0xFFBDBE21)
/* Python / OpenCV (BGR) */
(33, 190, 189)

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

Accessibility — WCAG contrast

Aa
#bdbe21 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#bdbe21 on black: 10.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEB500
deuteranopia · #CFBA31
tritanopia · #CBB1A2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bdbe21 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
#EEEE9F
#E5E670
#DDDE40
#CFD124
#bdbe21
#8A8B18
#646516
#3F3F0D
Base = 700Lightest = 50 · #FBFCF3Darkest = 950 · #3F3F0D
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F8F8E7;
  --brand-200: #F2F2C9;
  --brand-300: #EEEE9F;
  --brand-400: #E5E670;
  --brand-500: #DDDE40;
  --brand-600: #CFD124;
  --brand-700: #bdbe21;
  --brand-800: #8A8B18;
  --brand-900: #646516;
  --brand-950: #3F3F0D;
  --brand: #bdbe21;
  --brand-ink: #000000;
}

Colors that work with #bdbe21

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#9A9B4B
Captions on the surface
Accent#1D45C2
Second voice, not a rival
Dark variant#6C6D13
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 #bdbe21

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#2221BE
Analogous left#BE7021
Analogous right#6EBE21
Split-complement 1#216EBE
Split-complement 2#7021BE
Triadic 1#21BDBE
Triadic 2#BE21BD
Tetradic#21BE70

RGB percentages

Red74.1%
Green74.5%
Blue12.9%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow82.6%
Key (black)25.5%

Color previews

#bdbe21 text on a black background

contrast 10.55:1

Card sample

#bdbe21 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(189, 190, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 190, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdbe21;
background: linear-gradient(135deg, #bdbe21, #54BE21);

Monochromatic scale

Palettes built from #bdbe21

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.

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

#bdbe21, answered

What color is #bdbe21?

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

What is the RGB value of #bdbe21?

rgb(189, 190, 33) — 189 red, 190 green and 33 blue out of 255, or 74.1% / 74.5% / 12.9% by channel.

Is #bdbe21 a light or a dark color?

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

Should I use black or white text on #bdbe21?

Black. It scores 10.55:1 against #bdbe21, versus 1.99:1 for white — AAA at any size.

What is the complementary color of #bdbe21?

#2221BE sits directly opposite on the wheel. Softer options are the split-complements #216EBE and #7021BE, which give the same contrast with far less vibration.

What colors go well with #bdbe21?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #1D45C2 as an accent and #6C6D13 for hover and pressed states. For a palette, the analogous pair #BE7021 and #6EBE21 stays calm, while #2221BE is the loudest partner.

What is #bdbe21 in CMYK for printing?

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

Is #bdbe21 warm or cool?

Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BE8821; nudged cooler, #84C01F.

Work with #bdbe21 in the Color Lab