Skip to content

#cfd67c

a light, vivid yellow · warm · closest name: Khaki

RGB
207, 214, 124
HSL
65°, 52%, 66%
CMYK
3, 0, 42, 16
Luminance
0.6281

At a glance

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

Hex
#cfd67c
Hue
65°
yellow
Saturation
52%
vivid
Lightness
66%
light
Brightness
84%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6281
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.56:1
Closest name
Khaki
ΔE2000 6.3
Where it sits
Hue65° of 360°
Saturation52%
Lightness66%
Temperature
Warm ← → Cool29% 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#cfd67c
RGBrgb(207, 214, 124)
HSLhsl(65, 52%, 66%)
CMYKcmyk(3%, 0%, 42%, 16%)
LABlab(83.3 -15.6 43.5)
LCHlch(83.3 46.3 109.7)
OKLCHoklch(0.851 0.114 112.4)
Decimal13620860
Display P3color(display-p3 0.812 0.839 0.486)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfd67c on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#cfd67c on black: 13.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E2CE75
deuteranopia · #E2D180
tritanopia · #D9CCC0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cfd67c 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
#F5F6E9
#EBEDCF
#E0E4AA
#cfd67c
#C0C954
#B0BA3A
#939B31
#767C27
#565B20
#363914
Base = 400Lightest = 50 · #FAFAF4Darkest = 950 · #363914
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F5F6E9;
  --brand-200: #EBEDCF;
  --brand-300: #E0E4AA;
  --brand-400: #cfd67c;
  --brand-500: #C0C954;
  --brand-600: #B0BA3A;
  --brand-700: #939B31;
  --brand-800: #767C27;
  --brand-900: #565B20;
  --brand-950: #363914;
  --brand: #cfd67c;
  --brand-ink: #000000;
}

Colors that work with #cfd67c

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#E8ECC1
Hairlines and dividers
Muted text#959B4B
Captions on the surface
Accent#7989D9
Second voice, not a rival
Dark variant#5C611E
Hover, pressed, headers
Light variant#F8F9EC
Selected rows, tints
Dark surface#232414
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 #cfd67c

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
  • Card and section backgrounds
  • 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
  • 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#837CD6
Analogous left#D6B07C
Analogous right#A2D67C
Split-complement 1#7CA2D6
Split-complement 2#B07CD6
Triadic 1#7CCFD6
Triadic 2#D67CCF
Tetradic#7CD6B0

RGB percentages

Red81.2%
Green83.9%
Blue48.6%

CMYK percentages

Cyan3.3%
Magenta0.0%
Yellow42.1%
Key (black)16.1%

Color previews

#cfd67c text on a black background

contrast 13.56:1

Card sample

#cfd67c text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 214, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 214, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfd67c;
background: linear-gradient(135deg, #cfd67c, #93D67C);

Monochromatic scale

Palettes built from #cfd67c

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.

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

#cfd67c, answered

What color is #cfd67c?

#cfd67c is a light vivid yellow, closest to Khaki (ΔE2000 6.3). It sits at 65° on the hue wheel with 52% saturation and 66% lightness, which reads as warm.

What is the RGB value of #cfd67c?

rgb(207, 214, 124) — 207 red, 214 green and 124 blue out of 255, or 81.2% / 83.9% / 48.6% by channel.

Is #cfd67c a light or a dark color?

It is a light color. Relative luminance is 0.6281 and perceived brightness is 80%, so black text on it reaches 13.56:1.

Should I use black or white text on #cfd67c?

Black. It scores 13.56:1 against #cfd67c, versus 1.55:1 for white — AAA at any size.

What is the complementary color of #cfd67c?

#837CD6 sits directly opposite on the wheel. Softer options are the split-complements #7CA2D6 and #B07CD6, which give the same contrast with far less vibration.

What colors go well with #cfd67c?

For interface work: #FAFAF4 as the surface, #E8ECC1 for borders, #959B4B for secondary text, #7989D9 as an accent and #5C611E for hover and pressed states. For a palette, the analogous pair #D6B07C and #A2D67C stays calm, while #837CD6 is the loudest partner.

What is #cfd67c in CMYK for printing?

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

Is #cfd67c warm or cool?

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

Work with #cfd67c in the Color Lab