#c2ba8d
a light, soft yellow · warm · closest name: Dark Khaki
At a glance
Every number on this page in one read: what #c2ba8d 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 | #c2ba8d |
| RGB | rgb(194, 186, 141) |
| HSL | hsl(51, 30%, 66%) |
| CMYK | cmyk(0%, 4%, 27%, 24%) |
| LAB | lab(75.2 -4.3 23.9) |
| LCH | lch(75.2 24.3 100.2) |
| OKLCH | oklch(0.784 0.061 99.2) |
| Decimal | 12761741 |
| Display P3 | color(display-p3 0.761 0.729 0.553) |
Copy-ready code
/* CSS */
color: #c2ba8d;
background-color: #c2ba8d;
/* Tailwind (arbitrary) */
class="text-[#c2ba8d] bg-[#c2ba8d]"
/* SCSS */
$brand: #c2ba8d;
/* SwiftUI */
Color(red: 0.761, green: 0.729, blue: 0.553)
/* Android */
Color.parseColor("#c2ba8d")
/* Flutter */
Color(0xFFC2BA8D)
/* Python / OpenCV (BGR) */
(141, 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. #c2ba8d 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: #F9F9F6;
--brand-100: #F3F2EC;
--brand-200: #E7E4D5;
--brand-300: #D8D3B6;
--brand-400: #c2ba8d;
--brand-500: #B1A66D;
--brand-600: #9F9455;
--brand-700: #857C47;
--brand-800: #6A6339;
--brand-900: #4E492C;
--brand-950: #312E1C;
--brand: #c2ba8d;
--brand-ink: #000000;
}Colors that work with #c2ba8d
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 #c2ba8d
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 | #8D95C2 | Directly opposite — maximum tension | |
| Analogous left | #C29F8D | Neighbour, quieter | |
| Analogous right | #B0C28D | Neighbour, quieter | |
| Split-complement 1 | #8DB0C2 | Contrast without the clash | |
| Split-complement 2 | #9F8DC2 | Contrast without the clash | |
| Triadic 1 | #8DC2BA | Even thirds — balanced and loud | |
| Triadic 2 | #BA8DC2 | Even thirds — balanced and loud | |
| Tetradic | #8DC29F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#c2ba8d text on a black background
contrast 10.70:1
#c2ba8d text on a white background
contrast 1.96:1
CSS3 live lab
The quick brown fox
color: #c2ba8d;
background-color: #c2ba8d;
Glowing headline
text-shadow: 2px 2px 8px #c2ba8d;
Soft neon halo
text-shadow: 0 0 14px rgba(194, 186, 141, 0.45);
box-shadow: 0 12px 32px -8px rgba(194, 186, 141, 0.45);
border: 3px solid #c2ba8d; background: linear-gradient(135deg, #c2ba8d, #A7C28D);
Monochromatic scale
Palettes built from #c2ba8d
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 3.5 away, with its history, psychology and brand usage.
#c2ba8d 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.
#c2ba8d, answered
What color is #c2ba8d?
#c2ba8d is a light soft yellow, closest to Dark Khaki (ΔE2000 6.7). It sits at 51° on the hue wheel with 30% saturation and 66% lightness, which reads as warm.
What is the RGB value of #c2ba8d?
rgb(194, 186, 141) — 194 red, 186 green and 141 blue out of 255, or 76.1% / 72.9% / 55.3% by channel.
Is #c2ba8d a light or a dark color?
It is a mid-tone. Relative luminance is 0.4851 and perceived brightness is 72%, so black text on it reaches 10.70:1.
Should I use black or white text on #c2ba8d?
Black. It scores 10.70:1 against #c2ba8d, versus 1.96:1 for white — AAA at any size.
What is the complementary color of #c2ba8d?
#8D95C2 sits directly opposite on the wheel. Softer options are the split-complements #8DB0C2 and #9F8DC2, which give the same contrast with far less vibration.
What colors go well with #c2ba8d?
For interface work: #FAF9F5 as the surface, #E3DFCA for borders, #968B50 for secondary text, #435F89 as an accent and #534D2C for hover and pressed states. For a palette, the analogous pair #C29F8D and #B0C28D stays calm, while #8D95C2 is the loudest partner.
What is #c2ba8d in CMYK for printing?
cmyk(0%, 4%, 27%, 24%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #c2ba8d warm or cool?
Warm — it scores 22 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C2A88D; nudged cooler, #B8C48B.