Skip to content

#cfbe39

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

RGB
207, 190, 57
HSL
53°, 61%, 52%
CMYK
0, 8, 73, 19
Luminance
0.5039

At a glance

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

Hex
#cfbe39
Hue
53°
yellow
Saturation
61%
vivid
Lightness
52%
balanced
Brightness
81%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5039
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.08:1
Closest name
Dark Khaki
ΔE2000 8.4
Where it sits
Hue53° of 360°
Saturation61%
Lightness52%
Temperature
Warm ← → Cool19% 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#cfbe39
RGBrgb(207, 190, 57)
HSLhsl(53, 61%, 52%)
CMYKcmyk(0%, 8%, 73%, 19%)
LABlab(76.3 -8.5 65.3)
LCHlch(76.3 65.9 97.4)
OKLCHoklch(0.793 0.147 101.8)
Decimal13614649
Display P3color(display-p3 0.812 0.745 0.224)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfbe39 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#cfbe39 on black: 11.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D0B822
deuteranopia · #D5BF42
tritanopia · #DFB0A4

Color scale — 50 to 950

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

#FBFAF4
#F7F5E8
#F0ECCC
#E9E1A5
#DED378
#D3C44A
#cfbe39
#A49628
#837820
#60581B
#3C3711
Base = 600Lightest = 50 · #FBFAF4Darkest = 950 · #3C3711
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F7F5E8;
  --brand-200: #F0ECCC;
  --brand-300: #E9E1A5;
  --brand-400: #DED378;
  --brand-500: #D3C44A;
  --brand-600: #cfbe39;
  --brand-700: #A49628;
  --brand-800: #837820;
  --brand-900: #60581B;
  --brand-950: #3C3711;
  --brand: #cfbe39;
  --brand-ink: #000000;
}

Colors that work with #cfbe39

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#EDE8C0
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#346ED4
Second voice, not a rival
Dark variant#675E19
Hover, pressed, headers
Light variant#FAF8EA
Selected rows, tints
Dark surface#242314
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 #cfbe39

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#394ACF
Analogous left#CF7339
Analogous right#95CF39
Split-complement 1#3995CF
Split-complement 2#7339CF
Triadic 1#39CFBE
Triadic 2#BE39CF
Tetradic#39CF73

RGB percentages

Red81.2%
Green74.5%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow72.5%
Key (black)18.8%

Color previews

#cfbe39 text on a black background

contrast 11.08:1

Card sample

#cfbe39 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 190, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 190, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfbe39;
background: linear-gradient(135deg, #cfbe39, #7CCF39);

Monochromatic scale

Palettes built from #cfbe39

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.

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

#cfbe39, answered

What color is #cfbe39?

#cfbe39 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 8.4). It sits at 53° on the hue wheel with 61% saturation and 52% lightness, which reads as warm.

What is the RGB value of #cfbe39?

rgb(207, 190, 57) — 207 red, 190 green and 57 blue out of 255, or 81.2% / 74.5% / 22.4% by channel.

Is #cfbe39 a light or a dark color?

It is a light color. Relative luminance is 0.5039 and perceived brightness is 73%, so black text on it reaches 11.08:1.

Should I use black or white text on #cfbe39?

Black. It scores 11.08:1 against #cfbe39, versus 1.90:1 for white — AAA at any size.

What is the complementary color of #cfbe39?

#394ACF sits directly opposite on the wheel. Softer options are the split-complements #3995CF and #7339CF, which give the same contrast with far less vibration.

What colors go well with #cfbe39?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B924B for secondary text, #346ED4 as an accent and #675E19 for hover and pressed states. For a palette, the analogous pair #CF7339 and #95CF39 stays calm, while #394ACF is the loudest partner.

What is #cfbe39 in CMYK for printing?

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

Is #cfbe39 warm or cool?

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

Work with #cfbe39 in the Color Lab