Skip to content

#c3cf09

a dark, electric yellow · warm · closest name: Yellow Green

RGB
195, 207, 9
HSL
64°, 92%, 42%
CMYK
6, 0, 96, 19
Luminance
0.5625

At a glance

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

Hex
#c3cf09
Hue
64°
yellow
Saturation
92%
electric
Lightness
42%
dark
Brightness
81%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5625
WCAG relative
Temperature
Warm
28/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
12.25:1
Closest name
Yellow Green
ΔE2000 8.9
Where it sits
Hue64° of 360°
Saturation92%
Lightness42%
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#c3cf09
RGBrgb(195, 207, 9)
HSLhsl(64, 92%, 42%)
CMYKcmyk(6%, 0%, 96%, 19%)
LABlab(79.8 -23.4 78.8)
LCHlch(79.8 82.2 106.6)
OKLCHoklch(0.818 0.182 113.9)
Decimal12832521
Display P3color(display-p3 0.765 0.812 0.035)

Copy-ready code

/* CSS */
color: #c3cf09;
background-color: #c3cf09;
/* Tailwind (arbitrary) */
class="text-[#c3cf09] bg-[#c3cf09]"
/* SCSS */
$brand: #c3cf09;
/* SwiftUI */
Color(red: 0.765, green: 0.812, blue: 0.035)
/* Android */
Color.parseColor("#c3cf09")
/* Flutter */
Color(0xFFC3CF09)
/* Python / OpenCV (BGR) */
(9, 207, 195)

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

Accessibility — WCAG contrast

Aa
#c3cf09 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#c3cf09 on black: 12.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DFC400
deuteranopia · #DFC72A
tritanopia · #D1C2B0

Color scale — 50 to 950

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

#FCFDF2
#FAFBE4
#F6F9C3
#F4FA93
#EFF85E
#E9F628
#DDEB0A
#c3cf09
#939C07
#6B710A
#434706
Base = 700Lightest = 50 · #FCFDF2Darkest = 950 · #434706
:root {
  --brand-50: #FCFDF2;
  --brand-100: #FAFBE4;
  --brand-200: #F6F9C3;
  --brand-300: #F4FA93;
  --brand-400: #EFF85E;
  --brand-500: #E9F628;
  --brand-600: #DDEB0A;
  --brand-700: #c3cf09;
  --brand-800: #939C07;
  --brand-900: #6B710A;
  --brand-950: #434706;
  --brand: #c3cf09;
  --brand-ink: #000000;
}

Colors that work with #c3cf09

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#EAEDC0
Hairlines and dividers
Muted text#969B4B
Captions on the surface
Accent#052CD4
Second voice, not a rival
Dark variant#737A05
Hover, pressed, headers
Light variant#FDFEE7
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 #c3cf09

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#1509CF
Analogous left#CF7809
Analogous right#60CF09
Split-complement 1#0960CF
Split-complement 2#7809CF
Triadic 1#09C3CF
Triadic 2#CF09C3
Tetradic#09CF78

RGB percentages

Red76.5%
Green81.2%
Blue3.5%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow95.7%
Key (black)18.8%

Color previews

#c3cf09 text on a black background

contrast 12.25:1

Card sample

#c3cf09 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(195, 207, 9, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 207, 9, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c3cf09;
background: linear-gradient(135deg, #c3cf09, #3FCF09);

Monochromatic scale

Palettes built from #c3cf09

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.

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

#c3cf09, answered

What color is #c3cf09?

#c3cf09 is a dark electric yellow, closest to Yellow Green (ΔE2000 8.9). It sits at 64° on the hue wheel with 92% saturation and 42% lightness, which reads as warm.

What is the RGB value of #c3cf09?

rgb(195, 207, 9) — 195 red, 207 green and 9 blue out of 255, or 76.5% / 81.2% / 3.5% by channel.

Is #c3cf09 a light or a dark color?

It is a light color. Relative luminance is 0.5625 and perceived brightness is 75%, so black text on it reaches 12.25:1.

Should I use black or white text on #c3cf09?

Black. It scores 12.25:1 against #c3cf09, versus 1.71:1 for white — AAA at any size.

What is the complementary color of #c3cf09?

#1509CF sits directly opposite on the wheel. Softer options are the split-complements #0960CF and #7809CF, which give the same contrast with far less vibration.

What colors go well with #c3cf09?

For interface work: #FAFAF4 as the surface, #EAEDC0 for borders, #969B4B for secondary text, #052CD4 as an accent and #737A05 for hover and pressed states. For a palette, the analogous pair #CF7809 and #60CF09 stays calm, while #1509CF is the loudest partner.

What is #c3cf09 in CMYK for printing?

cmyk(6%, 0%, 96%, 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 #c3cf09 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 #CF9609; nudged cooler, #7BD107.

Work with #c3cf09 in the Color Lab