Skip to content

#cedc13

a balanced, electric yellow · warm · closest name: Yellow

RGB
206, 220, 19
HSL
64°, 84%, 47%
CMYK
6, 0, 91, 14
Luminance
0.6436

At a glance

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

Hex
#cedc13
Hue
64°
yellow
Saturation
84%
electric
Lightness
47%
balanced
Brightness
86%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6436
WCAG relative
Temperature
Warm
28/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
13.87:1
Closest name
Yellow
ΔE2000 9
Where it sits
Hue64° of 360°
Saturation84%
Lightness47%
Temperature
Warm ← → Cool28% 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#cedc13
RGBrgb(206, 220, 19)
HSLhsl(64, 84%, 47%)
CMYKcmyk(6%, 0%, 91%, 14%)
LABlab(84.2 -24.9 81.4)
LCHlch(84.2 85.2 107.0)
OKLCHoklch(0.855 0.190 114.4)
Decimal13556755
Display P3color(display-p3 0.808 0.863 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cedc13 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#cedc13 on black: 13.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EDD000
deuteranopia · #ECD330
tritanopia · #DCCEBB

Color scale — 50 to 950

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

#FCFCF2
#F8FAE6
#F3F6C5
#EFF698
#E8F264
#E0ED30
#cedc13
#B0BC10
#8D960D
#666D0E
#404409
Base = 600Lightest = 50 · #FCFCF2Darkest = 950 · #404409
:root {
  --brand-50: #FCFCF2;
  --brand-100: #F8FAE6;
  --brand-200: #F3F6C5;
  --brand-300: #EFF698;
  --brand-400: #E8F264;
  --brand-500: #E0ED30;
  --brand-600: #cedc13;
  --brand-700: #B0BC10;
  --brand-800: #8D960D;
  --brand-900: #666D0E;
  --brand-950: #404409;
  --brand: #cedc13;
  --brand-ink: #000000;
}

Colors that work with #cedc13

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#E9EDC0
Hairlines and dividers
Muted text#959B4B
Captions on the surface
Accent#0E34E1
Second voice, not a rival
Dark variant#6E750A
Hover, pressed, headers
Light variant#FBFDE8
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 #cedc13

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#2113DC
Analogous left#DC8613
Analogous right#6ADC13
Split-complement 1#136ADC
Split-complement 2#8613DC
Triadic 1#13CEDC
Triadic 2#DC13CE
Tetradic#13DC86

RGB percentages

Red80.8%
Green86.3%
Blue7.5%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow91.4%
Key (black)13.7%

Color previews

#cedc13 text on a black background

contrast 13.87:1

Card sample

#cedc13 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 220, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 220, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cedc13;
background: linear-gradient(135deg, #cedc13, #48DC13);

Monochromatic scale

Palettes built from #cedc13

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.

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

#cedc13, answered

What color is #cedc13?

#cedc13 is a balanced electric yellow, closest to Yellow (ΔE2000 9). It sits at 64° on the hue wheel with 84% saturation and 47% lightness, which reads as warm.

What is the RGB value of #cedc13?

rgb(206, 220, 19) — 206 red, 220 green and 19 blue out of 255, or 80.8% / 86.3% / 7.5% by channel.

Is #cedc13 a light or a dark color?

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

Should I use black or white text on #cedc13?

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

What is the complementary color of #cedc13?

#2113DC sits directly opposite on the wheel. Softer options are the split-complements #136ADC and #8613DC, which give the same contrast with far less vibration.

What colors go well with #cedc13?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #959B4B for secondary text, #0E34E1 as an accent and #6E750A for hover and pressed states. For a palette, the analogous pair #DC8613 and #6ADC13 stays calm, while #2113DC is the loudest partner.

What is #cedc13 in CMYK for printing?

cmyk(6%, 0%, 91%, 14%). 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 #cedc13 warm or cool?

Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DCA313; nudged cooler, #85DF11.

Work with #cedc13 in the Color Lab