Skip to content

#cfda70

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

RGB
207, 218, 112
HSL
66°, 59%, 65%
CMYK
5, 0, 49, 15
Luminance
0.6458

At a glance

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

Hex
#cfda70
Hue
66°
yellow
Saturation
59%
vivid
Lightness
65%
balanced
Brightness
85%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6458
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.92:1
Closest name
Khaki
ΔE2000 6.7
Where it sits
Hue66° of 360°
Saturation59%
Lightness65%
Temperature
Warm ← → Cool30% 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#cfda70
RGBrgb(207, 218, 112)
HSLhsl(66, 59%, 65%)
CMYKcmyk(5%, 0%, 49%, 15%)
LABlab(84.3 -18.8 50.5)
LCHlch(84.3 53.8 110.4)
OKLCHoklch(0.858 0.131 114.1)
Decimal13621872
Display P3color(display-p3 0.812 0.855 0.439)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfda70 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#cfda70 on black: 13.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E7D167
deuteranopia · #E7D376
tritanopia · #DAD0C2

Color scale — 50 to 950

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

#FAFBF4
#F5F7E9
#EBEFCD
#E1E8A6
#cfda70
#C3D14D
#B4C232
#96A22A
#788222
#585E1C
#373B12
Base = 400Lightest = 50 · #FAFBF4Darkest = 950 · #373B12
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F5F7E9;
  --brand-200: #EBEFCD;
  --brand-300: #E1E8A6;
  --brand-400: #cfda70;
  --brand-500: #C3D14D;
  --brand-600: #B4C232;
  --brand-700: #96A22A;
  --brand-800: #788222;
  --brand-900: #585E1C;
  --brand-950: #373B12;
  --brand: #cfda70;
  --brand-ink: #000000;
}

Colors that work with #cfda70

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#E8EDC0
Hairlines and dividers
Muted text#939B4B
Captions on the surface
Accent#6C7DDE
Second voice, not a rival
Dark variant#5E651A
Hover, pressed, headers
Light variant#F8FAEB
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 #cfda70

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#7B70DA
Analogous left#DAB070
Analogous right#9ADA70
Split-complement 1#709ADA
Split-complement 2#B070DA
Triadic 1#70CFDA
Triadic 2#DA70CF
Tetradic#70DAB0

RGB percentages

Red81.2%
Green85.5%
Blue43.9%

CMYK percentages

Cyan5.0%
Magenta0.0%
Yellow48.6%
Key (black)14.5%

Color previews

#cfda70 text on a black background

contrast 13.92:1

Card sample

#cfda70 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 218, 112, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 218, 112, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfda70;
background: linear-gradient(135deg, #cfda70, #88DA70);

Monochromatic scale

Palettes built from #cfda70

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.

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

#cfda70, answered

What color is #cfda70?

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

What is the RGB value of #cfda70?

rgb(207, 218, 112) — 207 red, 218 green and 112 blue out of 255, or 81.2% / 85.5% / 43.9% by channel.

Is #cfda70 a light or a dark color?

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

Should I use black or white text on #cfda70?

Black. It scores 13.92:1 against #cfda70, versus 1.51:1 for white — AAA at any size.

What is the complementary color of #cfda70?

#7B70DA sits directly opposite on the wheel. Softer options are the split-complements #709ADA and #B070DA, which give the same contrast with far less vibration.

What colors go well with #cfda70?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #939B4B for secondary text, #6C7DDE as an accent and #5E651A for hover and pressed states. For a palette, the analogous pair #DAB070 and #9ADA70 stays calm, while #7B70DA is the loudest partner.

What is #cfda70 in CMYK for printing?

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

Is #cfda70 warm or cool?

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

Work with #cfda70 in the Color Lab