Skip to content

#ce8f0f

a dark, electric yellow · warm · closest name: Dark Goldenrod

RGB
206, 143, 15
HSL
40°, 86%, 43%
CMYK
0, 31, 93, 19
Luminance
0.3280

At a glance

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

Hex
#ce8f0f
Hue
40°
yellow
Saturation
86%
electric
Lightness
43%
dark
Brightness
81%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3280
WCAG relative
Temperature
Warm
8/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
7.56:1
Closest name
Dark Goldenrod
ΔE2000 5
Where it sits
Hue40° of 360°
Saturation86%
Lightness43%
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#ce8f0f
RGBrgb(206, 143, 15)
HSLhsl(40, 86%, 43%)
CMYKcmyk(0%, 31%, 93%, 19%)
LABlab(64.0 14.8 66.7)
LCHlch(64.0 68.3 77.5)
OKLCHoklch(0.695 0.143 76.7)
Decimal13537039
Display P3color(display-p3 0.808 0.561 0.059)

Copy-ready code

/* CSS */
color: #ce8f0f;
background-color: #ce8f0f;
/* Tailwind (arbitrary) */
class="text-[#ce8f0f] bg-[#ce8f0f]"
/* SCSS */
$brand: #ce8f0f;
/* SwiftUI */
Color(red: 0.808, green: 0.561, blue: 0.059)
/* Android */
Color.parseColor("#ce8f0f")
/* Flutter */
Color(0xFFCE8F0F)
/* Python / OpenCV (BGR) */
(15, 143, 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 #ce8f0f · 7.56:1
Use #000000AAA at every size.
Aa
White text · 2.78:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.56:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ce8f0f as text scores 2.78:1 on white and 7.56:1 on black.

Accessibility — WCAG contrast

Aa
#ce8f0f on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#ce8f0f on black: 7.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A69200
deuteranopia · #B5A118
tritanopia · #E17E7A

Color scale — 50 to 950

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

#FDF9F2
#FAF3E5
#F7E6C5
#F7D796
#F4C462
#F0B02E
#E49E11
#ce8f0f
#986A0B
#6E4E0D
#453108
Base = 700Lightest = 50 · #FDF9F2Darkest = 950 · #453108
:root {
  --brand-50: #FDF9F2;
  --brand-100: #FAF3E5;
  --brand-200: #F7E6C5;
  --brand-300: #F7D796;
  --brand-400: #F4C462;
  --brand-500: #F0B02E;
  --brand-600: #E49E11;
  --brand-700: #ce8f0f;
  --brand-800: #986A0B;
  --brand-900: #6E4E0D;
  --brand-950: #453108;
  --brand: #ce8f0f;
  --brand-ink: #000000;
}

Colors that work with #ce8f0f

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#0B7ED2
Second voice, not a rival
Dark variant#775209
Hover, pressed, headers
Light variant#FDF6E7
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 #ce8f0f

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black 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#0F4ECE
Analogous left#CE2F0F
Analogous right#ADCE0F
Split-complement 1#0FADCE
Split-complement 2#2F0FCE
Triadic 1#0FCE8F
Triadic 2#8F0FCE
Tetradic#0FCE2F

RGB percentages

Red80.8%
Green56.1%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta30.6%
Yellow92.7%
Key (black)19.2%

Color previews

#ce8f0f text on a black background

contrast 7.56:1

Card sample

#ce8f0f text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 143, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 143, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce8f0f;
background: linear-gradient(135deg, #ce8f0f, #8ECE0F);

Monochromatic scale

Palettes built from #ce8f0f

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.

#ce8f0f 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ce8f0f, answered

What color is #ce8f0f?

#ce8f0f is a dark electric yellow, closest to Dark Goldenrod (ΔE2000 5). It sits at 40° on the hue wheel with 86% saturation and 43% lightness, which reads as warm.

What is the RGB value of #ce8f0f?

rgb(206, 143, 15) — 206 red, 143 green and 15 blue out of 255, or 80.8% / 56.1% / 5.9% by channel.

Is #ce8f0f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3280 and perceived brightness is 62%, so black text on it reaches 7.56:1.

Should I use black or white text on #ce8f0f?

Black. It scores 7.56:1 against #ce8f0f, versus 2.78:1 for white — AAA at any size.

What is the complementary color of #ce8f0f?

#0F4ECE sits directly opposite on the wheel. Softer options are the split-complements #0FADCE and #2F0FCE, which give the same contrast with far less vibration.

What colors go well with #ce8f0f?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B804B for secondary text, #0B7ED2 as an accent and #775209 for hover and pressed states. For a palette, the analogous pair #CE2F0F and #ADCE0F stays calm, while #0F4ECE is the loudest partner.

What is #ce8f0f in CMYK for printing?

cmyk(0%, 31%, 93%, 19%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ce8f0f 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 #CE750F; nudged cooler, #C9D00D.

Work with #ce8f0f in the Color Lab