Skip to content

#c4cf72

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

RGB
196, 207, 114
HSL
67°, 49%, 63%
CMYK
5, 0, 45, 19
Luminance
0.5758

At a glance

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

Hex
#c4cf72
Hue
67°
yellow
Saturation
49%
vivid
Lightness
63%
balanced
Brightness
81%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5758
WCAG relative
Temperature
Warm
31/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.52:1
Closest name
Dark Khaki
ΔE2000 7.2
Where it sits
Hue67° of 360°
Saturation49%
Lightness63%
Temperature
Warm ← → Cool31% 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#c4cf72
RGBrgb(196, 207, 114)
HSLhsl(67, 49%, 63%)
CMYKcmyk(5%, 0%, 45%, 19%)
LABlab(80.5 -17.5 44.8)
LCHlch(80.5 48.0 111.3)
OKLCHoklch(0.826 0.118 114.6)
Decimal12898162
Display P3color(display-p3 0.769 0.812 0.447)

Copy-ready code

/* CSS */
color: #c4cf72;
background-color: #c4cf72;
/* Tailwind (arbitrary) */
class="text-[#c4cf72] bg-[#c4cf72]"
/* SCSS */
$brand: #c4cf72;
/* SwiftUI */
Color(red: 0.769, green: 0.812, blue: 0.447)
/* Android */
Color.parseColor("#c4cf72")
/* Flutter */
Color(0xFFC4CF72)
/* Python / OpenCV (BGR) */
(114, 207, 196)

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

Accessibility — WCAG contrast

Aa
#c4cf72 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#c4cf72 on black: 12.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC76A
deuteranopia · #DAC977
tritanopia · #CEC6B9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c4cf72 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
#F4F6EA
#E9ECCF
#DCE3AB
#c4cf72
#B9C658
#A8B73E
#8C9834
#707A29
#525921
#333815
Base = 400Lightest = 50 · #FAFAF4Darkest = 950 · #333815
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F4F6EA;
  --brand-200: #E9ECCF;
  --brand-300: #DCE3AB;
  --brand-400: #c4cf72;
  --brand-500: #B9C658;
  --brand-600: #A8B73E;
  --brand-700: #8C9834;
  --brand-800: #707A29;
  --brand-900: #525921;
  --brand-950: #333815;
  --brand: #c4cf72;
  --brand-ink: #000000;
}

Colors that work with #c4cf72

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#E6EAC2
Hairlines and dividers
Muted text#919B4B
Captions on the surface
Accent#6E7BD3
Second voice, not a rival
Dark variant#585F20
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 #c4cf72

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#7D72CF
Analogous left#CFAB72
Analogous right#95CF72
Split-complement 1#7295CF
Split-complement 2#AB72CF
Triadic 1#72C4CF
Triadic 2#CF72C4
Tetradic#72CFAB

RGB percentages

Red76.9%
Green81.2%
Blue44.7%

CMYK percentages

Cyan5.3%
Magenta0.0%
Yellow44.9%
Key (black)18.8%

Color previews

#c4cf72 text on a black background

contrast 12.52:1

Card sample

#c4cf72 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 207, 114, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 207, 114, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c4cf72;
background: linear-gradient(135deg, #c4cf72, #86CF72);

Monochromatic scale

Palettes built from #c4cf72

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.

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

#c4cf72, answered

What color is #c4cf72?

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

What is the RGB value of #c4cf72?

rgb(196, 207, 114) — 196 red, 207 green and 114 blue out of 255, or 76.9% / 81.2% / 44.7% by channel.

Is #c4cf72 a light or a dark color?

It is a light color. Relative luminance is 0.5758 and perceived brightness is 77%, so black text on it reaches 12.52:1.

Should I use black or white text on #c4cf72?

Black. It scores 12.52:1 against #c4cf72, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #c4cf72?

#7D72CF sits directly opposite on the wheel. Softer options are the split-complements #7295CF and #AB72CF, which give the same contrast with far less vibration.

What colors go well with #c4cf72?

For interface work: #FAFAF4 as the surface, #E6EAC2 for borders, #919B4B for secondary text, #6E7BD3 as an accent and #585F20 for hover and pressed states. For a palette, the analogous pair #CFAB72 and #95CF72 stays calm, while #7D72CF is the loudest partner.

What is #c4cf72 in CMYK for printing?

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

Is #c4cf72 warm or cool?

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

Work with #c4cf72 in the Color Lab