Skip to content

#c0cd6b

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

RGB
192, 205, 107
HSL
68°, 50%, 61%
CMYK
6, 0, 48, 20
Luminance
0.5593

At a glance

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

Hex
#c0cd6b
Hue
68°
yellow
Saturation
50%
vivid
Lightness
61%
balanced
Brightness
80%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5593
WCAG relative
Temperature
Warm
32/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.19:1
Closest name
Dark Khaki
ΔE2000 7.2
Where it sits
Hue68° of 360°
Saturation50%
Lightness61%
Temperature
Warm ← → Cool32% 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#c0cd6b
RGBrgb(192, 205, 107)
HSLhsl(68, 50%, 61%)
CMYKcmyk(6%, 0%, 48%, 20%)
LABlab(79.6 -18.8 47.0)
LCHlch(79.6 50.6 111.8)
OKLCHoklch(0.817 0.124 115.4)
Decimal12635499
Display P3color(display-p3 0.753 0.804 0.420)

Copy-ready code

/* CSS */
color: #c0cd6b;
background-color: #c0cd6b;
/* Tailwind (arbitrary) */
class="text-[#c0cd6b] bg-[#c0cd6b]"
/* SCSS */
$brand: #c0cd6b;
/* SwiftUI */
Color(red: 0.753, green: 0.804, blue: 0.420)
/* Android */
Color.parseColor("#c0cd6b")
/* Flutter */
Color(0xFFC0CD6B)
/* Python / OpenCV (BGR) */
(107, 205, 192)

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

Accessibility — WCAG contrast

Aa
#c0cd6b on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#c0cd6b on black: 12.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D9C462
deuteranopia · #D8C670
tritanopia · #CAC3B6

Color scale — 50 to 950

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

#FAFAF4
#F4F6EA
#E8ECCF
#DBE3AB
#C9D581
#c0cd6b
#A7B73E
#8B9834
#6F7A29
#525921
#333815
Base = 500Lightest = 50 · #FAFAF4Darkest = 950 · #333815
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F4F6EA;
  --brand-200: #E8ECCF;
  --brand-300: #DBE3AB;
  --brand-400: #C9D581;
  --brand-500: #c0cd6b;
  --brand-600: #A7B73E;
  --brand-700: #8B9834;
  --brand-800: #6F7A29;
  --brand-900: #525921;
  --brand-950: #333815;
  --brand: #c0cd6b;
  --brand-ink: #000000;
}

Colors that work with #c0cd6b

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#E5EAC2
Hairlines and dividers
Muted text#909B4B
Captions on the surface
Accent#6773D1
Second voice, not a rival
Dark variant#575F20
Hover, pressed, headers
Light variant#F7F9EC
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 #c0cd6b

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#786BCD
Analogous left#CDA96B
Analogous right#8FCD6B
Split-complement 1#6B8FCD
Split-complement 2#A96BCD
Triadic 1#6BC0CD
Triadic 2#CD6BC0
Tetradic#6BCDA9

RGB percentages

Red75.3%
Green80.4%
Blue42.0%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow47.8%
Key (black)19.6%

Color previews

#c0cd6b text on a black background

contrast 12.19:1

Card sample

#c0cd6b text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 205, 107, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 205, 107, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0cd6b;
background: linear-gradient(135deg, #c0cd6b, #7FCD6B);

Monochromatic scale

Palettes built from #c0cd6b

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.

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

#c0cd6b, answered

What color is #c0cd6b?

#c0cd6b is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 7.2). It sits at 68° on the hue wheel with 50% saturation and 61% lightness, which reads as warm.

What is the RGB value of #c0cd6b?

rgb(192, 205, 107) — 192 red, 205 green and 107 blue out of 255, or 75.3% / 80.4% / 42% by channel.

Is #c0cd6b a light or a dark color?

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

Should I use black or white text on #c0cd6b?

Black. It scores 12.19:1 against #c0cd6b, versus 1.72:1 for white — AAA at any size.

What is the complementary color of #c0cd6b?

#786BCD sits directly opposite on the wheel. Softer options are the split-complements #6B8FCD and #A96BCD, which give the same contrast with far less vibration.

What colors go well with #c0cd6b?

For interface work: #FAFAF4 as the surface, #E5EAC2 for borders, #909B4B for secondary text, #6773D1 as an accent and #575F20 for hover and pressed states. For a palette, the analogous pair #CDA96B and #8FCD6B stays calm, while #786BCD is the loudest partner.

What is #c0cd6b in CMYK for printing?

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

Is #c0cd6b warm or cool?

Warm — it scores 32 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CDB66B; nudged cooler, #9CCF69.

Work with #c0cd6b in the Color Lab