Skip to content

#c0cd8b

a light, soft green · warm · closest name: Dark Khaki

RGB
192, 205, 139
HSL
72°, 40%, 68%
CMYK
6, 0, 32, 20
Luminance
0.5673

At a glance

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

Hex
#c0cd8b
Hue
72°
green
Saturation
40%
soft
Lightness
68%
light
Brightness
80%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5673
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Soft
Best ink
Black
12.35:1
Closest name
Dark Khaki
ΔE2000 7.7
Where it sits
Hue72° of 360°
Saturation40%
Lightness68%
Temperature
Warm ← → Cool35% 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#c0cd8b
RGBrgb(192, 205, 139)
HSLhsl(72, 40%, 68%)
CMYKcmyk(6%, 0%, 32%, 20%)
LABlab(80.0 -15.1 31.4)
LCHlch(80.0 34.9 115.7)
OKLCHoklch(0.823 0.088 117.4)
Decimal12635531
Display P3color(display-p3 0.753 0.804 0.545)

Copy-ready code

/* CSS */
color: #c0cd8b;
background-color: #c0cd8b;
/* Tailwind (arbitrary) */
class="text-[#c0cd8b] bg-[#c0cd8b]"
/* SCSS */
$brand: #c0cd8b;
/* SwiftUI */
Color(red: 0.753, green: 0.804, blue: 0.545)
/* Android */
Color.parseColor("#c0cd8b")
/* Flutter */
Color(0xFFC0CD8B)
/* Python / OpenCV (BGR) */
(139, 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 #c0cd8b · 12.35:1
Use #000000AAA at every size.
Aa
White text · 1.70:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.35:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #c0cd8b as text scores 1.70:1 on white and 12.35:1 on black.

Accessibility — WCAG contrast

Aa
#c0cd8b on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#c0cd8b on black: 12.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D6C686
deuteranopia · #D4C78E
tritanopia · #C7C6BC

Color scale — 50 to 950

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

#F9FAF5
#F3F4EB
#E5E9D2
#D4DDB1
#c0cd8b
#AABB62
#98AB4A
#7F8F3D
#657231
#4B5427
#2F3418
Base = 400Lightest = 50 · #F9FAF5Darkest = 950 · #2F3418
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F3F4EB;
  --brand-200: #E5E9D2;
  --brand-300: #D4DDB1;
  --brand-400: #c0cd8b;
  --brand-500: #AABB62;
  --brand-600: #98AB4A;
  --brand-700: #7F8F3D;
  --brand-800: #657231;
  --brand-900: #4B5427;
  --brand-950: #2F3418;
  --brand: #c0cd8b;
  --brand-ink: #000000;
}

Colors that work with #c0cd8b

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#F9FAF4
Tinted page background
Border#E0E6C6
Hairlines and dividers
Muted text#8B9B4B
Captions on the surface
Accent#3A3F92
Second voice, not a rival
Dark variant#4F5926
Hover, pressed, headers
Light variant#F5F7ED
Selected rows, tints
Dark surface#212414
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 #c0cd8b

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • 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#988BCD
Analogous left#CDB98B
Analogous right#9FCD8B
Split-complement 1#8B9FCD
Split-complement 2#B98BCD
Triadic 1#8BC0CD
Triadic 2#CD8BC0
Tetradic#8BCDB9

RGB percentages

Red75.3%
Green80.4%
Blue54.5%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow32.2%
Key (black)19.6%

Color previews

#c0cd8b text on a black background

contrast 12.35:1

Card sample

#c0cd8b text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0cd8b

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.

#c0cd8b in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#c0cd8b, answered

What color is #c0cd8b?

#c0cd8b is a light soft green, closest to Dark Khaki (ΔE2000 7.7). It sits at 72° on the hue wheel with 40% saturation and 68% lightness, which reads as warm.

What is the RGB value of #c0cd8b?

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

Is #c0cd8b a light or a dark color?

It is a light color. Relative luminance is 0.5673 and perceived brightness is 76%, so black text on it reaches 12.35:1.

Should I use black or white text on #c0cd8b?

Black. It scores 12.35:1 against #c0cd8b, versus 1.70:1 for white — AAA at any size.

What is the complementary color of #c0cd8b?

#988BCD sits directly opposite on the wheel. Softer options are the split-complements #8B9FCD and #B98BCD, which give the same contrast with far less vibration.

What colors go well with #c0cd8b?

For interface work: #F9FAF4 as the surface, #E0E6C6 for borders, #8B9B4B for secondary text, #3A3F92 as an accent and #4F5926 for hover and pressed states. For a palette, the analogous pair #CDB98B and #9FCD8B stays calm, while #988BCD is the loudest partner.

What is #c0cd8b in CMYK for printing?

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

Is #c0cd8b warm or cool?

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

Work with #c0cd8b in the Color Lab