Skip to content

#baba64

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

RGB
186, 186, 100
HSL
60°, 38%, 56%
CMYK
0, 0, 46, 27
Luminance
0.4648

At a glance

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

Hex
#baba64
Hue
60°
yellow
Saturation
38%
soft
Lightness
56%
balanced
Brightness
73%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4648
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
10.30:1
Closest name
Dark Khaki
ΔE2000 2.3
Where it sits
Hue60° of 360°
Saturation38%
Lightness56%
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#baba64
RGBrgb(186, 186, 100)
HSLhsl(60, 38%, 56%)
CMYKcmyk(0%, 0%, 46%, 27%)
LABlab(73.8 -12.3 43.3)
LCHlch(73.8 45.0 105.8)
OKLCHoklch(0.770 0.109 108.7)
Decimal12237412
Display P3color(display-p3 0.729 0.729 0.392)

Copy-ready code

/* CSS */
color: #baba64;
background-color: #baba64;
/* Tailwind (arbitrary) */
class="text-[#baba64] bg-[#baba64]"
/* SCSS */
$brand: #baba64;
/* SwiftUI */
Color(red: 0.729, green: 0.729, blue: 0.392)
/* Android */
Color.parseColor("#baba64")
/* Flutter */
Color(0xFFBABA64)
/* Python / OpenCV (BGR) */
(100, 186, 186)

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

Accessibility — WCAG contrast

Aa
#baba64 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#baba64 on black: 10.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C6B45D
deuteranopia · #C7B768
tritanopia · #C5B1A6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #baba64 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFAF5
#F4F4EB
#E9E9D3
#DCDCB1
#CBCB8B
#baba64
#A9A94B
#8D8D3F
#717132
#535328
#343419
Base = 500Lightest = 50 · #FAFAF5Darkest = 950 · #343419
:root {
  --brand-50: #FAFAF5;
  --brand-100: #F4F4EB;
  --brand-200: #E9E9D3;
  --brand-300: #DCDCB1;
  --brand-400: #CBCB8B;
  --brand-500: #baba64;
  --brand-600: #A9A94B;
  --brand-700: #8D8D3F;
  --brand-800: #717132;
  --brand-900: #535328;
  --brand-950: #343419;
  --brand: #baba64;
  --brand-ink: #000000;
}

Colors that work with #baba64

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#E6E6C7
Hairlines and dividers
Muted text#9B9B4B
Captions on the surface
Accent#6077BF
Second voice, not a rival
Dark variant#585827
Hover, pressed, headers
Light variant#F7F7ED
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 #baba64

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#6464BA
Analogous left#BA8F64
Analogous right#8FBA64
Split-complement 1#648FBA
Split-complement 2#8F64BA
Triadic 1#64BABA
Triadic 2#BA64BA
Tetradic#64BA8F

RGB percentages

Red72.9%
Green72.9%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow46.2%
Key (black)27.1%

Color previews

#baba64 text on a black background

contrast 10.30:1

Card sample

#baba64 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 186, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 186, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baba64;
background: linear-gradient(135deg, #baba64, #81BA64);

Monochromatic scale

Palettes built from #baba64

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.

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

#baba64, answered

What color is #baba64?

#baba64 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 2.3). It sits at 60° on the hue wheel with 38% saturation and 56% lightness, which reads as warm.

What is the RGB value of #baba64?

rgb(186, 186, 100) — 186 red, 186 green and 100 blue out of 255, or 72.9% / 72.9% / 39.2% by channel.

Is #baba64 a light or a dark color?

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

Should I use black or white text on #baba64?

Black. It scores 10.30:1 against #baba64, versus 2.04:1 for white — AAA at any size.

What is the complementary color of #baba64?

#6464BA sits directly opposite on the wheel. Softer options are the split-complements #648FBA and #8F64BA, which give the same contrast with far less vibration.

What colors go well with #baba64?

For interface work: #FAFAF4 as the surface, #E6E6C7 for borders, #9B9B4B for secondary text, #6077BF as an accent and #585827 for hover and pressed states. For a palette, the analogous pair #BA8F64 and #8FBA64 stays calm, while #6464BA is the loudest partner.

What is #baba64 in CMYK for printing?

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

Is #baba64 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 #BA9B64; nudged cooler, #9BBC62.

Work with #baba64 in the Color Lab