Skip to content

#cfd79c

a light, soft yellow · warm · closest name: Pale Goldenrod

RGB
207, 215, 156
HSL
68°, 42%, 73%
CMYK
4, 0, 27, 16
Luminance
0.6427

At a glance

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

Hex
#cfd79c
Hue
68°
yellow
Saturation
42%
soft
Lightness
73%
light
Brightness
84%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6427
WCAG relative
Temperature
Warm
32/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
13.85:1
Closest name
Pale Goldenrod
ΔE2000 6.1
Where it sits
Hue68° of 360°
Saturation42%
Lightness73%
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#cfd79c
RGBrgb(207, 215, 156)
HSLhsl(68, 42%, 73%)
CMYKcmyk(4%, 0%, 27%, 16%)
LABlab(84.1 -12.2 28.3)
LCHlch(84.1 30.8 113.4)
OKLCHoklch(0.859 0.078 114.3)
Decimal13621148
Display P3color(display-p3 0.812 0.843 0.612)

Copy-ready code

/* CSS */
color: #cfd79c;
background-color: #cfd79c;
/* Tailwind (arbitrary) */
class="text-[#cfd79c] bg-[#cfd79c]"
/* SCSS */
$brand: #cfd79c;
/* SwiftUI */
Color(red: 0.812, green: 0.843, blue: 0.612)
/* Android */
Color.parseColor("#cfd79c")
/* Flutter */
Color(0xFFCFD79C)
/* Python / OpenCV (BGR) */
(156, 215, 207)

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

Accessibility — WCAG contrast

Aa
#cfd79c on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cfd79c on black: 13.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E0D198
deuteranopia · #DFD29E
tritanopia · #D6D0C7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cfd79c is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FAF5
#F3F5EB
#E7EAD1
#cfd79c
#C5CF87
#B2BE5F
#A0AE47
#86913B
#6B742F
#4F5525
#313517
Base = 300Lightest = 50 · #F9FAF5Darkest = 950 · #313517
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F3F5EB;
  --brand-200: #E7EAD1;
  --brand-300: #cfd79c;
  --brand-400: #C5CF87;
  --brand-500: #B2BE5F;
  --brand-600: #A0AE47;
  --brand-700: #86913B;
  --brand-800: #6B742F;
  --brand-900: #4F5525;
  --brand-950: #313517;
  --brand: #cfd79c;
  --brand-ink: #000000;
}

Colors that work with #cfd79c

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#E3E7C5
Hairlines and dividers
Muted text#909B4B
Captions on the surface
Accent#364296
Second voice, not a rival
Dark variant#535B25
Hover, pressed, headers
Light variant#F6F8ED
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 #cfd79c

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
  • 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#A49CD7
Analogous left#D7C19C
Analogous right#B1D79C
Split-complement 1#9CB1D7
Split-complement 2#C19CD7
Triadic 1#9CCFD7
Triadic 2#D79CCF
Tetradic#9CD7C1

RGB percentages

Red81.2%
Green84.3%
Blue61.2%

CMYK percentages

Cyan3.7%
Magenta0.0%
Yellow27.4%
Key (black)15.7%

Color previews

#cfd79c text on a black background

contrast 13.85:1

Card sample

#cfd79c text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfd79c

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.

#cfd79c 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#cfd79c, answered

What color is #cfd79c?

#cfd79c is a light soft yellow, closest to Pale Goldenrod (ΔE2000 6.1). It sits at 68° on the hue wheel with 42% saturation and 73% lightness, which reads as warm.

What is the RGB value of #cfd79c?

rgb(207, 215, 156) — 207 red, 215 green and 156 blue out of 255, or 81.2% / 84.3% / 61.2% by channel.

Is #cfd79c a light or a dark color?

It is a light color. Relative luminance is 0.6427 and perceived brightness is 81%, so black text on it reaches 13.85:1.

Should I use black or white text on #cfd79c?

Black. It scores 13.85:1 against #cfd79c, versus 1.52:1 for white — AAA at any size.

What is the complementary color of #cfd79c?

#A49CD7 sits directly opposite on the wheel. Softer options are the split-complements #9CB1D7 and #C19CD7, which give the same contrast with far less vibration.

What colors go well with #cfd79c?

For interface work: #FAFAF4 as the surface, #E3E7C5 for borders, #909B4B for secondary text, #364296 as an accent and #535B25 for hover and pressed states. For a palette, the analogous pair #D7C19C and #B1D79C stays calm, while #A49CD7 is the loudest partner.

What is #cfd79c in CMYK for printing?

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

Is #cfd79c 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 #D7C99C; nudged cooler, #B9D89A.

Work with #cfd79c in the Color Lab