Skip to content

#b4b84d

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

RGB
180, 184, 77
HSL
62°, 43%, 51%
CMYK
2, 0, 58, 28
Luminance
0.4452

At a glance

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

Hex
#b4b84d
Hue
62°
yellow
Saturation
43%
soft
Lightness
51%
balanced
Brightness
72%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4452
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.90:1
Closest name
Dark Khaki
ΔE2000 5.2
Where it sits
Hue62° of 360°
Saturation43%
Lightness51%
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#b4b84d
RGBrgb(180, 184, 77)
HSLhsl(62, 43%, 51%)
CMYKcmyk(2%, 0%, 58%, 28%)
LABlab(72.6 -15.7 52.6)
LCHlch(72.6 54.9 106.6)
OKLCHoklch(0.758 0.130 111.1)
Decimal11843661
Display P3color(display-p3 0.706 0.722 0.302)

Copy-ready code

/* CSS */
color: #b4b84d;
background-color: #b4b84d;
/* Tailwind (arbitrary) */
class="text-[#b4b84d] bg-[#b4b84d]"
/* SCSS */
$brand: #b4b84d;
/* SwiftUI */
Color(red: 0.706, green: 0.722, blue: 0.302)
/* Android */
Color.parseColor("#b4b84d")
/* Flutter */
Color(0xFFB4B84D)
/* Python / OpenCV (BGR) */
(77, 184, 180)

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

Accessibility — WCAG contrast

Aa
#b4b84d on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#b4b84d on black: 9.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5B041
deuteranopia · #C6B453
tritanopia · #BFAEA1

Color scale — 50 to 950

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

#FAFAF5
#F4F5EB
#E9EAD1
#DDDFAF
#CCCF87
#BCBF5F
#b4b84d
#8F923A
#72752F
#545525
#343517
Base = 600Lightest = 50 · #FAFAF5Darkest = 950 · #343517
:root {
  --brand-50: #FAFAF5;
  --brand-100: #F4F5EB;
  --brand-200: #E9EAD1;
  --brand-300: #DDDFAF;
  --brand-400: #CCCF87;
  --brand-500: #BCBF5F;
  --brand-600: #b4b84d;
  --brand-700: #8F923A;
  --brand-800: #72752F;
  --brand-900: #545525;
  --brand-950: #343517;
  --brand: #b4b84d;
  --brand-ink: #000000;
}

Colors that work with #b4b84d

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#E6E8C5
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#4861BD
Second voice, not a rival
Dark variant#595B24
Hover, pressed, headers
Light variant#F7F8ED
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 #b4b84d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#514DB8
Analogous left#B8864D
Analogous right#7FB84D
Split-complement 1#4D7FB8
Split-complement 2#864DB8
Triadic 1#4DB4B8
Triadic 2#B84DB4
Tetradic#4DB886

RGB percentages

Red70.6%
Green72.2%
Blue30.2%

CMYK percentages

Cyan2.2%
Magenta0.0%
Yellow58.2%
Key (black)27.8%

Color previews

#b4b84d text on a black background

contrast 9.90:1

Card sample

#b4b84d text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 184, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 184, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4b84d;
background: linear-gradient(135deg, #b4b84d, #6DB84D);

Monochromatic scale

Palettes built from #b4b84d

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.

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

#b4b84d, answered

What color is #b4b84d?

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

What is the RGB value of #b4b84d?

rgb(180, 184, 77) — 180 red, 184 green and 77 blue out of 255, or 70.6% / 72.2% / 30.2% by channel.

Is #b4b84d a light or a dark color?

It is a mid-tone. Relative luminance is 0.4452 and perceived brightness is 68%, so black text on it reaches 9.90:1.

Should I use black or white text on #b4b84d?

Black. It scores 9.90:1 against #b4b84d, versus 2.12:1 for white — AAA at any size.

What is the complementary color of #b4b84d?

#514DB8 sits directly opposite on the wheel. Softer options are the split-complements #4D7FB8 and #864DB8, which give the same contrast with far less vibration.

What colors go well with #b4b84d?

For interface work: #FAFAF4 as the surface, #E6E8C5 for borders, #989B4B for secondary text, #4861BD as an accent and #595B24 for hover and pressed states. For a palette, the analogous pair #B8864D and #7FB84D stays calm, while #514DB8 is the loudest partner.

What is #b4b84d in CMYK for printing?

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

Is #b4b84d 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 #B8954D; nudged cooler, #8DBB4B.

Work with #b4b84d in the Color Lab