#c2ba97
a light, soft yellow · warm · closest name: Tan
At a glance
Every number on this page in one read: what #c2ba97 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 | #c2ba97 |
| RGB | rgb(194, 186, 151) |
| HSL | hsl(49, 26%, 68%) |
| CMYK | cmyk(0%, 4%, 22%, 24%) |
| LAB | lab(75.3 -2.9 18.8) |
| LCH | lch(75.3 19.0 98.7) |
| OKLCH | oklch(0.786 0.048 96.6) |
| Decimal | 12761751 |
| Display P3 | color(display-p3 0.761 0.729 0.592) |
Copy-ready code
/* CSS */
color: #c2ba97;
background-color: #c2ba97;
/* Tailwind (arbitrary) */
class="text-[#c2ba97] bg-[#c2ba97]"
/* SCSS */
$brand: #c2ba97;
/* SwiftUI */
Color(red: 0.761, green: 0.729, blue: 0.592)
/* Android */
Color.parseColor("#c2ba97")
/* Flutter */
Color(0xFFC2BA97)
/* Python / OpenCV (BGR) */
(151, 186, 194)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. #c2ba97 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.
:root {
--brand-50: #F9F8F6;
--brand-100: #F3F2ED;
--brand-200: #E5E3D6;
--brand-300: #D6D0B8;
--brand-400: #c2ba97;
--brand-500: #ACA172;
--brand-600: #9A8E5A;
--brand-700: #81774B;
--brand-800: #675F3C;
--brand-900: #4C462F;
--brand-950: #2F2C1D;
--brand: #c2ba97;
--brand-ink: #000000;
}Colors that work with #c2ba97
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 #c2ba97
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠White 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 | #979FC2 | Directly opposite — maximum tension | |
| Analogous left | #C2A497 | Neighbour, quieter | |
| Analogous right | #B4C297 | Neighbour, quieter | |
| Split-complement 1 | #97B4C2 | Contrast without the clash | |
| Split-complement 2 | #A497C2 | Contrast without the clash | |
| Triadic 1 | #97C2BA | Even thirds — balanced and loud | |
| Triadic 2 | #BA97C2 | Even thirds — balanced and loud | |
| Tetradic | #97C2A4 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#c2ba97 text on a black background
contrast 10.76:1
#c2ba97 text on a white background
contrast 1.95:1
CSS3 live lab
The quick brown fox
color: #c2ba97;
background-color: #c2ba97;
Glowing headline
text-shadow: 2px 2px 8px #c2ba97;
Soft neon halo
text-shadow: 0 0 14px rgba(194, 186, 151, 0.45);
box-shadow: 0 12px 32px -8px rgba(194, 186, 151, 0.45);
border: 3px solid #c2ba97; background: linear-gradient(135deg, #c2ba97, #ADC297);
Monochromatic scale
Palettes built from #c2ba97
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 5 away, with its history, psychology and brand usage.
#c2ba97 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.
#c2ba97, answered
What color is #c2ba97?
#c2ba97 is a light soft yellow, closest to Tan (ΔE2000 8.4). It sits at 49° on the hue wheel with 26% saturation and 68% lightness, which reads as warm.
What is the RGB value of #c2ba97?
rgb(194, 186, 151) — 194 red, 186 green and 151 blue out of 255, or 76.1% / 72.9% / 59.2% by channel.
Is #c2ba97 a light or a dark color?
It is a mid-tone. Relative luminance is 0.4882 and perceived brightness is 72%, so black text on it reaches 10.76:1.
Should I use black or white text on #c2ba97?
Black. It scores 10.76:1 against #c2ba97, versus 1.95:1 for white — AAA at any size.
What is the complementary color of #c2ba97?
#979FC2 sits directly opposite on the wheel. Softer options are the split-complements #97B4C2 and #A497C2, which give the same contrast with far less vibration.
What colors go well with #c2ba97?
For interface work: #F9F9F5 as the surface, #E1DDCC for borders, #918655 for secondary text, #486284 as an accent and #504A2F for hover and pressed states. For a palette, the analogous pair #C2A497 and #B4C297 stays calm, while #979FC2 is the loudest partner.
What is #c2ba97 in CMYK for printing?
cmyk(0%, 4%, 22%, 24%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #c2ba97 warm or cool?
Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C2AC97; nudged cooler, #BBC495.