Skip to content

#ce9727

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

RGB
206, 151, 39
HSL
40°, 68%, 48%
CMYK
0, 27, 81, 19
Luminance
0.3540

At a glance

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

Hex
#ce9727
Hue
40°
yellow
Saturation
68%
vivid
Lightness
48%
balanced
Brightness
81%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3540
WCAG relative
Temperature
Warm
8/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
8.08:1
Closest name
Goldenrod
ΔE2000 4.6
Where it sits
Hue40° of 360°
Saturation68%
Lightness48%
Temperature
Warm ← → Cool8% 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#ce9727
RGBrgb(206, 151, 39)
HSLhsl(40, 68%, 48%)
CMYKcmyk(0%, 27%, 81%, 19%)
LABlab(66.1 11.0 62.1)
LCHlch(66.1 63.1 80.0)
OKLCHoklch(0.712 0.136 79.9)
Decimal13539111
Display P3color(display-p3 0.808 0.592 0.153)

Copy-ready code

/* CSS */
color: #ce9727;
background-color: #ce9727;
/* Tailwind (arbitrary) */
class="text-[#ce9727] bg-[#ce9727]"
/* SCSS */
$brand: #ce9727;
/* SwiftUI */
Color(red: 0.808, green: 0.592, blue: 0.153)
/* Android */
Color.parseColor("#ce9727")
/* Flutter */
Color(0xFFCE9727)
/* Python / OpenCV (BGR) */
(39, 151, 206)

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

Accessibility — WCAG contrast

Aa
#ce9727 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#ce9727 on black: 8.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AD980D
deuteranopia · #BAA62C
tritanopia · #E08782

Color scale — 50 to 950

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

#FBF9F3
#F8F2E8
#F2E5CA
#EDD4A1
#E4BE71
#DBA942
#ce9727
#AC7E20
#89651A
#644A17
#3E2E0E
Base = 600Lightest = 50 · #FBF9F3Darkest = 950 · #3E2E0E
:root {
  --brand-50: #FBF9F3;
  --brand-100: #F8F2E8;
  --brand-200: #F2E5CA;
  --brand-300: #EDD4A1;
  --brand-400: #E4BE71;
  --brand-500: #DBA942;
  --brand-600: #ce9727;
  --brand-700: #AC7E20;
  --brand-800: #89651A;
  --brand-900: #644A17;
  --brand-950: #3E2E0E;
  --brand: #ce9727;
  --brand-ink: #000000;
}

Colors that work with #ce9727

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#FAF8F4
Tinted page background
Border#EDDEC0
Hairlines and dividers
Muted text#9B804B
Captions on the surface
Accent#2289D3
Second voice, not a rival
Dark variant#6B4F14
Hover, pressed, headers
Light variant#FBF5EA
Selected rows, tints
Dark surface#241F14
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 #ce9727

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#275ECE
Analogous left#CE4327
Analogous right#B1CE27
Split-complement 1#27B1CE
Split-complement 2#4327CE
Triadic 1#27CE97
Triadic 2#9727CE
Tetradic#27CE43

RGB percentages

Red80.8%
Green59.2%
Blue15.3%

CMYK percentages

Cyan0.0%
Magenta26.7%
Yellow81.1%
Key (black)19.2%

Color previews

#ce9727 text on a black background

contrast 8.08:1

Card sample

#ce9727 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 151, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 151, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce9727;
background: linear-gradient(135deg, #ce9727, #96CE27);

Monochromatic scale

Palettes built from #ce9727

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.

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

#ce9727, answered

What color is #ce9727?

#ce9727 is a balanced vivid yellow, closest to Goldenrod (ΔE2000 4.6). It sits at 40° on the hue wheel with 68% saturation and 48% lightness, which reads as warm.

What is the RGB value of #ce9727?

rgb(206, 151, 39) — 206 red, 151 green and 39 blue out of 255, or 80.8% / 59.2% / 15.3% by channel.

Is #ce9727 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3540 and perceived brightness is 64%, so black text on it reaches 8.08:1.

Should I use black or white text on #ce9727?

Black. It scores 8.08:1 against #ce9727, versus 2.60:1 for white — AAA at any size.

What is the complementary color of #ce9727?

#275ECE sits directly opposite on the wheel. Softer options are the split-complements #27B1CE and #4327CE, which give the same contrast with far less vibration.

What colors go well with #ce9727?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B804B for secondary text, #2289D3 as an accent and #6B4F14 for hover and pressed states. For a palette, the analogous pair #CE4327 and #B1CE27 stays calm, while #275ECE is the loudest partner.

What is #ce9727 in CMYK for printing?

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

Is #ce9727 warm or cool?

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

Work with #ce9727 in the Color Lab