#b6b66f
a balanced, soft yellow · warm · closest name: Dark Khaki
At a glance
Every number on this page in one read: what #b6b66f is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #b6b66f |
| RGB | rgb(182, 182, 111) |
| HSL | hsl(60, 33%, 58%) |
| CMYK | cmyk(0%, 0%, 39%, 29%) |
| LAB | lab(72.6 -10.7 36.1) |
| LCH | lch(72.6 37.7 106.5) |
| OKLCH | oklch(0.760 0.093 108.4) |
| Decimal | 11974255 |
| Display P3 | color(display-p3 0.714 0.714 0.435) |
Copy-ready code
/* CSS */
color: #b6b66f;
background-color: #b6b66f;
/* Tailwind (arbitrary) */
class="text-[#b6b66f] bg-[#b6b66f]"
/* SCSS */
$brand: #b6b66f;
/* SwiftUI */
Color(red: 0.714, green: 0.714, blue: 0.435)
/* Android */
Color.parseColor("#b6b66f")
/* Flutter */
Color(0xFFB6B66F)
/* Python / OpenCV (BGR) */
(111, 182, 182)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #b6b66f 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.
:root {
--brand-50: #F9F9F5;
--brand-100: #F4F4EC;
--brand-200: #E7E7D4;
--brand-300: #D9D9B5;
--brand-400: #C6C68F;
--brand-500: #b6b66f;
--brand-600: #A2A252;
--brand-700: #878745;
--brand-800: #6C6C37;
--brand-900: #50502B;
--brand-950: #32321B;
--brand: #b6b66f;
--brand-ink: #000000;
}Colors that work with #b6b66f
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #b6b66f
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | #6F6FB6 | Directly opposite — maximum tension | |
| Analogous left | #B6936F | Neighbour, quieter | |
| Analogous right | #93B66F | Neighbour, quieter | |
| Split-complement 1 | #6F93B6 | Contrast without the clash | |
| Split-complement 2 | #936FB6 | Contrast without the clash | |
| Triadic 1 | #6FB6B6 | Even thirds — balanced and loud | |
| Triadic 2 | #B66FB6 | Even thirds — balanced and loud | |
| Tetradic | #6FB693 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#b6b66f text on a black background
contrast 9.91:1
#b6b66f text on a white background
contrast 2.12:1
CSS3 live lab
The quick brown fox
color: #b6b66f;
background-color: #b6b66f;
Glowing headline
text-shadow: 2px 2px 8px #b6b66f;
Soft neon halo
text-shadow: 0 0 14px rgba(182, 182, 111, 0.45);
box-shadow: 0 12px 32px -8px rgba(182, 182, 111, 0.45);
border: 3px solid #b6b66f; background: linear-gradient(135deg, #b6b66f, #87B66F);
Monochromatic scale
Palettes built from #b6b66f
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.
Closest color with a full write-up: Sand (#c2b280) — ΔE2000 6.8 away, with its history, psychology and brand usage.
#b6b66f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#b6b66f, answered
What color is #b6b66f?
#b6b66f is a balanced soft yellow, closest to Dark Khaki (ΔE2000 2.1). It sits at 60° on the hue wheel with 33% saturation and 58% lightness, which reads as warm.
What is the RGB value of #b6b66f?
rgb(182, 182, 111) — 182 red, 182 green and 111 blue out of 255, or 71.4% / 71.4% / 43.5% by channel.
Is #b6b66f a light or a dark color?
It is a mid-tone. Relative luminance is 0.4455 and perceived brightness is 69%, so black text on it reaches 9.91:1.
Should I use black or white text on #b6b66f?
Black. It scores 9.91:1 against #b6b66f, versus 2.12:1 for white — AAA at any size.
What is the complementary color of #b6b66f?
#6F6FB6 sits directly opposite on the wheel. Softer options are the split-complements #6F93B6 and #936FB6, which give the same contrast with far less vibration.
What colors go well with #b6b66f?
For interface work: #FAFAF5 as the surface, #E4E4C9 for borders, #98984D for secondary text, #6B7FBA as an accent and #55552B for hover and pressed states. For a palette, the analogous pair #B6936F and #93B66F stays calm, while #6F6FB6 is the loudest partner.
What is #b6b66f in CMYK for printing?
cmyk(0%, 0%, 39%, 29%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #b6b66f 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 #B69C6F; nudged cooler, #9DB86D.