Skip to content

#cdcf6e

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

RGB
205, 207, 110
HSL
61°, 50%, 62%
CMYK
1, 0, 47, 19
Luminance
0.5873

At a glance

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

Hex
#cdcf6e
Hue
61°
yellow
Saturation
50%
vivid
Lightness
62%
balanced
Brightness
81%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5873
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.75:1
Closest name
Dark Khaki
ΔE2000 6.7
Where it sits
Hue61° of 360°
Saturation50%
Lightness62%
Temperature
Warm ← → Cool26% 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#cdcf6e
RGBrgb(205, 207, 110)
HSLhsl(61, 50%, 62%)
CMYKcmyk(1%, 0%, 47%, 19%)
LABlab(81.1 -14.3 47.6)
LCHlch(81.1 49.7 106.7)
OKLCHoklch(0.833 0.121 109.8)
Decimal13487982
Display P3color(display-p3 0.804 0.812 0.431)

Copy-ready code

/* CSS */
color: #cdcf6e;
background-color: #cdcf6e;
/* Tailwind (arbitrary) */
class="text-[#cdcf6e] bg-[#cdcf6e]"
/* SCSS */
$brand: #cdcf6e;
/* SwiftUI */
Color(red: 0.804, green: 0.812, blue: 0.431)
/* Android */
Color.parseColor("#cdcf6e")
/* Flutter */
Color(0xFFCDCF6E)
/* Python / OpenCV (BGR) */
(110, 207, 205)

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

Accessibility — WCAG contrast

Aa
#cdcf6e on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cdcf6e on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCC866
deuteranopia · #DDCB73
tritanopia · #D9C5B8

Color scale — 50 to 950

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

#FAFAF4
#F5F6EA
#ECEDCF
#E2E3AB
#cdcf6e
#C5C756
#B6B83D
#979933
#797B29
#585A21
#373815
Base = 400Lightest = 50 · #FAFAF4Darkest = 950 · #373815
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F5F6EA;
  --brand-200: #ECEDCF;
  --brand-300: #E2E3AB;
  --brand-400: #cdcf6e;
  --brand-500: #C5C756;
  --brand-600: #B6B83D;
  --brand-700: #979933;
  --brand-800: #797B29;
  --brand-900: #585A21;
  --brand-950: #373815;
  --brand: #cdcf6e;
  --brand-ink: #000000;
}

Colors that work with #cdcf6e

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#EAEBC2
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#6A82D3
Second voice, not a rival
Dark variant#5F6020
Hover, pressed, headers
Light variant#F8F9EC
Selected rows, tints
Dark surface#242414
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 #cdcf6e

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#706ECF
Analogous left#CFA16E
Analogous right#9DCF6E
Split-complement 1#6E9DCF
Split-complement 2#A16ECF
Triadic 1#6ECDCF
Triadic 2#CF6ECD
Tetradic#6ECFA1

RGB percentages

Red80.4%
Green81.2%
Blue43.1%

CMYK percentages

Cyan1.0%
Magenta0.0%
Yellow46.9%
Key (black)18.8%

Color previews

#cdcf6e text on a black background

contrast 12.75:1

Card sample

#cdcf6e text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 207, 110, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 207, 110, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcf6e;
background: linear-gradient(135deg, #cdcf6e, #8DCF6E);

Monochromatic scale

Palettes built from #cdcf6e

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.

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

#cdcf6e, answered

What color is #cdcf6e?

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

What is the RGB value of #cdcf6e?

rgb(205, 207, 110) — 205 red, 207 green and 110 blue out of 255, or 80.4% / 81.2% / 43.1% by channel.

Is #cdcf6e a light or a dark color?

It is a light color. Relative luminance is 0.5873 and perceived brightness is 78%, so black text on it reaches 12.75:1.

Should I use black or white text on #cdcf6e?

Black. It scores 12.75:1 against #cdcf6e, versus 1.65:1 for white — AAA at any size.

What is the complementary color of #cdcf6e?

#706ECF sits directly opposite on the wheel. Softer options are the split-complements #6E9DCF and #A16ECF, which give the same contrast with far less vibration.

What colors go well with #cdcf6e?

For interface work: #FAFAF4 as the surface, #EAEBC2 for borders, #999B4B for secondary text, #6A82D3 as an accent and #5F6020 for hover and pressed states. For a palette, the analogous pair #CFA16E and #9DCF6E stays calm, while #706ECF is the loudest partner.

What is #cdcf6e in CMYK for printing?

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

Is #cdcf6e warm or cool?

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

Work with #cdcf6e in the Color Lab