Skip to content

#c2cb71

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

RGB
194, 203, 113
HSL
66°, 46%, 62%
CMYK
4, 0, 44, 20
Luminance
0.5537

At a glance

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

Hex
#c2cb71
Hue
66°
yellow
Saturation
46%
vivid
Lightness
62%
balanced
Brightness
80%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5537
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.07:1
Closest name
Dark Khaki
ΔE2000 6.2
Where it sits
Hue66° of 360°
Saturation46%
Lightness62%
Temperature
Warm ← → Cool30% 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#c2cb71
RGBrgb(194, 203, 113)
HSLhsl(66, 46%, 62%)
CMYKcmyk(4%, 0%, 44%, 20%)
LABlab(79.3 -16.4 43.7)
LCHlch(79.3 46.6 110.5)
OKLCHoklch(0.816 0.115 113.6)
Decimal12766065
Display P3color(display-p3 0.761 0.796 0.443)

Copy-ready code

/* CSS */
color: #c2cb71;
background-color: #c2cb71;
/* Tailwind (arbitrary) */
class="text-[#c2cb71] bg-[#c2cb71]"
/* SCSS */
$brand: #c2cb71;
/* SwiftUI */
Color(red: 0.761, green: 0.796, blue: 0.443)
/* Android */
Color.parseColor("#c2cb71")
/* Flutter */
Color(0xFFC2CB71)
/* Python / OpenCV (BGR) */
(113, 203, 194)

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

Accessibility — WCAG contrast

Aa
#c2cb71 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#c2cb71 on black: 12.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7C36A
deuteranopia · #D6C575
tritanopia · #CCC2B6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c2cb71 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.

#FAFAF5
#F4F5EA
#E9EBD0
#DCE1AD
#c2cb71
#B8C35B
#A8B342
#8C9537
#70772C
#525723
#333716
Base = 400Lightest = 50 · #FAFAF5Darkest = 950 · #333716
:root {
  --brand-50: #FAFAF5;
  --brand-100: #F4F5EA;
  --brand-200: #E9EBD0;
  --brand-300: #DCE1AD;
  --brand-400: #c2cb71;
  --brand-500: #B8C35B;
  --brand-600: #A8B342;
  --brand-700: #8C9537;
  --brand-800: #70772C;
  --brand-900: #525723;
  --brand-950: #333716;
  --brand: #c2cb71;
  --brand-ink: #000000;
}

Colors that work with #c2cb71

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#E5E9C3
Hairlines and dividers
Muted text#939B4B
Captions on the surface
Accent#6D7CCF
Second voice, not a rival
Dark variant#575D22
Hover, pressed, headers
Light variant#F7F8EC
Selected rows, tints
Dark surface#232414
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 #c2cb71

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#7A71CB
Analogous left#CBA771
Analogous right#95CB71
Split-complement 1#7195CB
Split-complement 2#A771CB
Triadic 1#71C2CB
Triadic 2#CB71C2
Tetradic#71CBA7

RGB percentages

Red76.1%
Green79.6%
Blue44.3%

CMYK percentages

Cyan4.4%
Magenta0.0%
Yellow44.3%
Key (black)20.4%

Color previews

#c2cb71 text on a black background

contrast 12.07:1

Card sample

#c2cb71 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 203, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 203, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cb71;
background: linear-gradient(135deg, #c2cb71, #86CB71);

Monochromatic scale

Palettes built from #c2cb71

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.

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

#c2cb71, answered

What color is #c2cb71?

#c2cb71 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 6.2). It sits at 66° on the hue wheel with 46% saturation and 62% lightness, which reads as warm.

What is the RGB value of #c2cb71?

rgb(194, 203, 113) — 194 red, 203 green and 113 blue out of 255, or 76.1% / 79.6% / 44.3% by channel.

Is #c2cb71 a light or a dark color?

It is a light color. Relative luminance is 0.5537 and perceived brightness is 75%, so black text on it reaches 12.07:1.

Should I use black or white text on #c2cb71?

Black. It scores 12.07:1 against #c2cb71, versus 1.74:1 for white — AAA at any size.

What is the complementary color of #c2cb71?

#7A71CB sits directly opposite on the wheel. Softer options are the split-complements #7195CB and #A771CB, which give the same contrast with far less vibration.

What colors go well with #c2cb71?

For interface work: #FAFAF4 as the surface, #E5E9C3 for borders, #939B4B for secondary text, #6D7CCF as an accent and #575D22 for hover and pressed states. For a palette, the analogous pair #CBA771 and #95CB71 stays calm, while #7A71CB is the loudest partner.

What is #c2cb71 in CMYK for printing?

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

Is #c2cb71 warm or cool?

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

Work with #c2cb71 in the Color Lab