#cfcf8f
a light, soft yellow · warm · closest name: Pale Goldenrod
At a glance
Every number on this page in one read: what #cfcf8f is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cfcf8f |
| RGB | rgb(207, 207, 143) |
| HSL | hsl(60, 40%, 69%) |
| CMYK | cmyk(0%, 0%, 31%, 19%) |
| LAB | lab(81.8 -9.9 31.9) |
| LCH | lch(81.8 33.4 107.2) |
| OKLCH | oklch(0.839 0.084 108.1) |
| Decimal | 13619087 |
| Display P3 | color(display-p3 0.812 0.812 0.561) |
Copy-ready code
/* CSS */
color: #cfcf8f;
background-color: #cfcf8f;
/* Tailwind (arbitrary) */
class="text-[#cfcf8f] bg-[#cfcf8f]"
/* SCSS */
$brand: #cfcf8f;
/* SwiftUI */
Color(red: 0.812, green: 0.812, blue: 0.561)
/* Android */
Color.parseColor("#cfcf8f")
/* Flutter */
Color(0xFFCFCF8F)
/* Python / OpenCV (BGR) */
(143, 207, 207)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #cfcf8f 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.
:root {
--brand-50: #FAFAF5;
--brand-100: #F4F4EB;
--brand-200: #EAEAD2;
--brand-300: #DDDDB0;
--brand-400: #cfcf8f;
--brand-500: #BCBC62;
--brand-600: #ABAB49;
--brand-700: #8F8F3D;
--brand-800: #727231;
--brand-900: #545427;
--brand-950: #343418;
--brand: #cfcf8f;
--brand-ink: #000000;
}Colors that work with #cfcf8f
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cfcf8f
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠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 | #8F8FCF | Directly opposite — maximum tension | |
| Analogous left | #CFAF8F | Neighbour, quieter | |
| Analogous right | #AFCF8F | Neighbour, quieter | |
| Split-complement 1 | #8FAFCF | Contrast without the clash | |
| Split-complement 2 | #AF8FCF | Contrast without the clash | |
| Triadic 1 | #8FCFCF | Even thirds — balanced and loud | |
| Triadic 2 | #CF8FCF | Even thirds — balanced and loud | |
| Tetradic | #8FCFAF | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cfcf8f text on a black background
contrast 12.97:1
#cfcf8f text on a white background
contrast 1.62:1
CSS3 live lab
The quick brown fox
color: #cfcf8f;
background-color: #cfcf8f;
Glowing headline
text-shadow: 2px 2px 8px #cfcf8f;
Soft neon halo
text-shadow: 0 0 14px rgba(207, 207, 143, 0.45);
box-shadow: 0 12px 32px -8px rgba(207, 207, 143, 0.45);
border: 3px solid #cfcf8f; background: linear-gradient(135deg, #cfcf8f, #A4CF8F);
Monochromatic scale
Palettes built from #cfcf8f
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.
Closest color with a full write-up: Sand (#c2b280) — ΔE2000 8.9 away, with its history, psychology and brand usage.
#cfcf8f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#cfcf8f, answered
What color is #cfcf8f?
#cfcf8f is a light soft yellow, closest to Pale Goldenrod (ΔE2000 6.3). It sits at 60° on the hue wheel with 40% saturation and 69% lightness, which reads as warm.
What is the RGB value of #cfcf8f?
rgb(207, 207, 143) — 207 red, 207 green and 143 blue out of 255, or 81.2% / 81.2% / 56.1% by channel.
Is #cfcf8f a light or a dark color?
It is a light color. Relative luminance is 0.5987 and perceived brightness is 79%, so black text on it reaches 12.97:1.
Should I use black or white text on #cfcf8f?
Black. It scores 12.97:1 against #cfcf8f, versus 1.62:1 for white — AAA at any size.
What is the complementary color of #cfcf8f?
#8F8FCF sits directly opposite on the wheel. Softer options are the split-complements #8FAFCF and #AF8FCF, which give the same contrast with far less vibration.
What colors go well with #cfcf8f?
For interface work: #FAFAF4 as the surface, #E7E7C6 for borders, #9B9B4B for secondary text, #394F93 as an accent and #595926 for hover and pressed states. For a palette, the analogous pair #CFAF8F and #AFCF8F stays calm, while #8F8FCF is the loudest partner.
What is #cfcf8f in CMYK for printing?
cmyk(0%, 0%, 31%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cfcf8f warm or cool?
Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CFB78F; nudged cooler, #B8D18D.