#c9df30
a balanced, vivid yellow · warm · closest name: Yellow Green
At a glance
Every number on this page in one read: what #c9df30 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #c9df30 |
| RGB | rgb(201, 223, 48) |
| HSL | hsl(68, 73%, 53%) |
| CMYK | cmyk(10%, 0%, 79%, 13%) |
| LAB | lab(84.7 -27.7 75.8) |
| LCH | lch(84.7 80.7 110.1) |
| OKLCH | oklch(0.859 0.185 117.0) |
| Decimal | 13229872 |
| Display P3 | color(display-p3 0.788 0.875 0.188) |
Copy-ready code
/* CSS */
color: #c9df30;
background-color: #c9df30;
/* Tailwind (arbitrary) */
class="text-[#c9df30] bg-[#c9df30]"
/* SCSS */
$brand: #c9df30;
/* SwiftUI */
Color(red: 0.788, green: 0.875, blue: 0.188)
/* Android */
Color.parseColor("#c9df30")
/* Flutter */
Color(0xFFC9DF30)
/* Python / OpenCV (BGR) */
(48, 223, 201)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #c9df30 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FBFCF3;
--brand-100: #F6F8E7;
--brand-200: #EEF3C8;
--brand-300: #E6F09E;
--brand-400: #D9E86D;
--brand-500: #c9df30;
--brand-600: #BED421;
--brand-700: #9EB11B;
--brand-800: #7E8D16;
--brand-900: #5C6614;
--brand-950: #3A400C;
--brand: #c9df30;
--brand-ink: #000000;
}Colors that work with #c9df30
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #c9df30
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #4630DF | Directly opposite — maximum tension | |
| Analogous left | #DF9D30 | Neighbour, quieter | |
| Analogous right | #72DF30 | Neighbour, quieter | |
| Split-complement 1 | #3072DF | Contrast without the clash | |
| Split-complement 2 | #9D30DF | Contrast without the clash | |
| Triadic 1 | #30C9DF | Even thirds — balanced and loud | |
| Triadic 2 | #DF30C9 | Even thirds — balanced and loud | |
| Tetradic | #30DF9D | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#c9df30 text on a black background
contrast 14.08:1
#c9df30 text on a white background
contrast 1.49:1
CSS3 live lab
The quick brown fox
color: #c9df30;
background-color: #c9df30;
Glowing headline
text-shadow: 2px 2px 8px #c9df30;
Soft neon halo
text-shadow: 0 0 14px rgba(201, 223, 48, 0.45);
box-shadow: 0 12px 32px -8px rgba(201, 223, 48, 0.45);
border: 3px solid #c9df30; background: linear-gradient(135deg, #c9df30, #54DF30);
Monochromatic scale
Palettes built from #c9df30
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.
Closest color with a full write-up: Dandelion (#f0e130) — ΔE2000 8.4 away, with its history, psychology and brand usage.
#c9df30 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#c9df30, answered
What color is #c9df30?
#c9df30 is a balanced vivid yellow, closest to Yellow Green (ΔE2000 8.3). It sits at 68° on the hue wheel with 73% saturation and 53% lightness, which reads as warm.
What is the RGB value of #c9df30?
rgb(201, 223, 48) — 201 red, 223 green and 48 blue out of 255, or 78.8% / 87.5% / 18.8% by channel.
Is #c9df30 a light or a dark color?
It is a light color. Relative luminance is 0.6541 and perceived brightness is 80%, so black text on it reaches 14.08:1.
Should I use black or white text on #c9df30?
Black. It scores 14.08:1 against #c9df30, versus 1.49:1 for white — AAA at any size.
What is the complementary color of #c9df30?
#4630DF sits directly opposite on the wheel. Softer options are the split-complements #3072DF and #9D30DF, which give the same contrast with far less vibration.
What colors go well with #c9df30?
For interface work: #FAFAF4 as the surface, #E7EDC0 for borders, #919B4B for secondary text, #2B42E4 as an accent and #636E11 for hover and pressed states. For a palette, the analogous pair #DF9D30 and #72DF30 stays calm, while #4630DF is the loudest partner.
What is #c9df30 in CMYK for printing?
cmyk(10%, 0%, 79%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #c9df30 warm or cool?
Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DFB530; nudged cooler, #89E12D.