Skip to content

#bac37d

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

RGB
186, 195, 125
HSL
68°, 37%, 63%
CMYK
5, 0, 36, 24
Luminance
0.5095

At a glance

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

Hex
#bac37d
Hue
68°
yellow
Saturation
37%
soft
Lightness
63%
balanced
Brightness
76%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5095
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
11.19:1
Closest name
Dark Khaki
ΔE2000 5.2
Where it sits
Hue68° of 360°
Saturation37%
Lightness63%
Temperature
Warm ← → Cool31% 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#bac37d
RGBrgb(186, 195, 125)
HSLhsl(68, 37%, 63%)
CMYKcmyk(5%, 0%, 36%, 24%)
LABlab(76.7 -14.1 34.2)
LCHlch(76.7 37.0 112.5)
OKLCHoklch(0.794 0.092 114.5)
Decimal12239741
Display P3color(display-p3 0.729 0.765 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac37d on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#bac37d on black: 11.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CDBC78
deuteranopia · #CCBE80
tritanopia · #C2BBB1

Color scale — 50 to 950

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

#F9FAF5
#F3F4EB
#E6E9D3
#D6DCB2
#bac37d
#ADB866
#9CA74D
#828C40
#687034
#4D5228
#303319
Base = 400Lightest = 50 · #F9FAF5Darkest = 950 · #303319
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F3F4EB;
  --brand-200: #E6E9D3;
  --brand-300: #D6DCB2;
  --brand-400: #bac37d;
  --brand-500: #ADB866;
  --brand-600: #9CA74D;
  --brand-700: #828C40;
  --brand-800: #687034;
  --brand-900: #4D5228;
  --brand-950: #303319;
  --brand: #bac37d;
  --brand-ink: #000000;
}

Colors that work with #bac37d

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#F9FAF5
Tinted page background
Border#E1E5C7
Hairlines and dividers
Muted text#919B4B
Captions on the surface
Accent#7983C7
Second voice, not a rival
Dark variant#515728
Hover, pressed, headers
Light variant#F6F7EE
Selected rows, tints
Dark surface#222414
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 #bac37d

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#867DC3
Analogous left#C3A97D
Analogous right#97C37D
Split-complement 1#7D97C3
Split-complement 2#A97DC3
Triadic 1#7DBAC3
Triadic 2#C37DBA
Tetradic#7DC3A9

RGB percentages

Red72.9%
Green76.5%
Blue49.0%

CMYK percentages

Cyan4.6%
Magenta0.0%
Yellow35.9%
Key (black)23.5%

Color previews

#bac37d text on a black background

contrast 11.19:1

Card sample

#bac37d text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac37d

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.

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

#bac37d, answered

What color is #bac37d?

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

What is the RGB value of #bac37d?

rgb(186, 195, 125) — 186 red, 195 green and 125 blue out of 255, or 72.9% / 76.5% / 49% by channel.

Is #bac37d a light or a dark color?

It is a light color. Relative luminance is 0.5095 and perceived brightness is 73%, so black text on it reaches 11.19:1.

Should I use black or white text on #bac37d?

Black. It scores 11.19:1 against #bac37d, versus 1.88:1 for white — AAA at any size.

What is the complementary color of #bac37d?

#867DC3 sits directly opposite on the wheel. Softer options are the split-complements #7D97C3 and #A97DC3, which give the same contrast with far less vibration.

What colors go well with #bac37d?

For interface work: #F9FAF5 as the surface, #E1E5C7 for borders, #919B4B for secondary text, #7983C7 as an accent and #515728 for hover and pressed states. For a palette, the analogous pair #C3A97D and #97C37D stays calm, while #867DC3 is the loudest partner.

What is #bac37d in CMYK for printing?

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

Is #bac37d warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C3B27D; nudged cooler, #A0C57B.

Work with #bac37d in the Color Lab