Skip to content

#ccdf0b

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

RGB
204, 223, 11
HSL
65°, 91%, 46%
CMYK
9, 0, 95, 13
Luminance
0.6564

At a glance

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

Hex
#ccdf0b
Hue
65°
yellow
Saturation
91%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6564
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
14.13:1
Closest name
Yellow
ΔE2000 8.9
Where it sits
Hue65° of 360°
Saturation91%
Lightness46%
Temperature
Warm ← → Cool29% 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#ccdf0b
RGBrgb(204, 223, 11)
HSLhsl(65, 91%, 46%)
CMYKcmyk(9%, 0%, 95%, 13%)
LABlab(84.8 -27.3 82.7)
LCHlch(84.8 87.1 108.3)
OKLCHoklch(0.860 0.195 115.8)
Decimal13426443
Display P3color(display-p3 0.800 0.875 0.043)

Copy-ready code

/* CSS */
color: #ccdf0b;
background-color: #ccdf0b;
/* Tailwind (arbitrary) */
class="text-[#ccdf0b] bg-[#ccdf0b]"
/* SCSS */
$brand: #ccdf0b;
/* SwiftUI */
Color(red: 0.800, green: 0.875, blue: 0.043)
/* Android */
Color.parseColor("#ccdf0b")
/* Flutter */
Color(0xFFCCDF0B)
/* Python / OpenCV (BGR) */
(11, 223, 204)

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

Accessibility — WCAG contrast

Aa
#ccdf0b on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ccdf0b on black: 14.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F0D300
deuteranopia · #EED52E
tritanopia · #DAD1BE

Color scale — 50 to 950

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

#FCFDF2
#F9FBE5
#F4F9C3
#F1FA94
#E9F75F
#E2F429
#ccdf0b
#B2C20A
#8E9C08
#67700A
#404606
Base = 600Lightest = 50 · #FCFDF2Darkest = 950 · #404606
:root {
  --brand-50: #FCFDF2;
  --brand-100: #F9FBE5;
  --brand-200: #F4F9C3;
  --brand-300: #F1FA94;
  --brand-400: #E9F75F;
  --brand-500: #E2F429;
  --brand-600: #ccdf0b;
  --brand-700: #B2C20A;
  --brand-800: #8E9C08;
  --brand-900: #67700A;
  --brand-950: #404606;
  --brand: #ccdf0b;
  --brand-ink: #000000;
}

Colors that work with #ccdf0b

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#949B4B
Captions on the surface
Accent#062AE4
Second voice, not a rival
Dark variant#6F7A06
Hover, pressed, headers
Light variant#FCFEE7
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 #ccdf0b

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#1E0BDF
Analogous left#DF880B
Analogous right#62DF0B
Split-complement 1#0B62DF
Split-complement 2#880BDF
Triadic 1#0BCCDF
Triadic 2#DF0BCC
Tetradic#0BDF88

RGB percentages

Red80.0%
Green87.5%
Blue4.3%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow95.1%
Key (black)12.5%

Color previews

#ccdf0b text on a black background

contrast 14.13:1

Card sample

#ccdf0b text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 223, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf0b;
background: linear-gradient(135deg, #ccdf0b, #3FDF0B);

Monochromatic scale

Palettes built from #ccdf0b

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.

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

#ccdf0b, answered

What color is #ccdf0b?

#ccdf0b is a balanced electric yellow, closest to Yellow (ΔE2000 8.9). It sits at 65° on the hue wheel with 91% saturation and 46% lightness, which reads as warm.

What is the RGB value of #ccdf0b?

rgb(204, 223, 11) — 204 red, 223 green and 11 blue out of 255, or 80% / 87.5% / 4.3% by channel.

Is #ccdf0b a light or a dark color?

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

Should I use black or white text on #ccdf0b?

Black. It scores 14.13:1 against #ccdf0b, versus 1.49:1 for white — AAA at any size.

What is the complementary color of #ccdf0b?

#1E0BDF sits directly opposite on the wheel. Softer options are the split-complements #0B62DF and #880BDF, which give the same contrast with far less vibration.

What colors go well with #ccdf0b?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #949B4B for secondary text, #062AE4 as an accent and #6F7A06 for hover and pressed states. For a palette, the analogous pair #DF880B and #62DF0B stays calm, while #1E0BDF is the loudest partner.

What is #ccdf0b in CMYK for printing?

cmyk(9%, 0%, 95%, 13%). 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 #ccdf0b warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DFA60B; nudged cooler, #7EE109.

Work with #ccdf0b in the Color Lab