Skip to content

#cdfb0a

a balanced, electric green · warm · closest name: Green Yellow

RGB
205, 251, 10
HSL
72°, 97%, 51%
CMYK
18, 0, 96, 2
Luminance
0.8200

At a glance

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

Hex
#cdfb0a
Hue
72°
green
Saturation
97%
electric
Lightness
51%
balanced
Brightness
98%
HSV value
Perceived
87%
weighted brightness
Luminance
0.8200
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.40:1
Closest name
Green Yellow
ΔE2000 5.7
Where it sits
Hue72° of 360°
Saturation97%
Lightness51%
Temperature
Warm ← → Cool35% 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#cdfb0a
RGBrgb(205, 251, 10)
HSLhsl(72, 97%, 51%)
CMYKcmyk(18%, 0%, 96%, 2%)
LABlab(92.6 -39.7 88.8)
LCHlch(92.6 97.3 114.1)
OKLCHoklch(0.922 0.223 122.2)
Decimal13499146
Display P3color(display-p3 0.804 0.984 0.039)

Copy-ready code

/* CSS */
color: #cdfb0a;
background-color: #cdfb0a;
/* Tailwind (arbitrary) */
class="text-[#cdfb0a] bg-[#cdfb0a]"
/* SCSS */
$brand: #cdfb0a;
/* SwiftUI */
Color(red: 0.804, green: 0.984, blue: 0.039)
/* Android */
Color.parseColor("#cdfb0a")
/* Flutter */
Color(0xFFCDFB0A)
/* Python / OpenCV (BGR) */
(10, 251, 205)

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

Accessibility — WCAG contrast

Aa
#cdfb0a on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#cdfb0a on black: 17.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEB00
deuteranopia · #FFEA36
tritanopia · #D9EDD6

Color scale — 50 to 950

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

#FBFDF1
#F7FCE4
#F0FBC1
#E8FD91
#DDFC59
#D2FB22
#cdfb0a
#A3C903
#82A103
#5F7407
#3B4804
Base = 600Lightest = 50 · #FBFDF1Darkest = 950 · #3B4804
:root {
  --brand-50: #FBFDF1;
  --brand-100: #F7FCE4;
  --brand-200: #F0FBC1;
  --brand-300: #E8FD91;
  --brand-400: #DDFC59;
  --brand-500: #D2FB22;
  --brand-600: #cdfb0a;
  --brand-700: #A3C903;
  --brand-800: #82A103;
  --brand-900: #5F7407;
  --brand-950: #3B4804;
  --brand: #cdfb0a;
  --brand-ink: #000000;
}

Colors that work with #cdfb0a

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#F9FAF4
Tinted page background
Border#E4EDC0
Hairlines and dividers
Muted text#8C9B4B
Captions on the surface
Accent#0615FF
Second voice, not a rival
Dark variant#667D02
Hover, pressed, headers
Light variant#FAFFE6
Selected rows, tints
Dark surface#212414
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 #cdfb0a

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
  • 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#380AFB
Analogous left#FBB10A
Analogous right#54FB0A
Split-complement 1#0A54FB
Split-complement 2#B10AFB
Triadic 1#0ACDFB
Triadic 2#FB0ACD
Tetradic#0AFBB1

RGB percentages

Red80.4%
Green98.4%
Blue3.9%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow96.0%
Key (black)1.6%

Color previews

#cdfb0a text on a black background

contrast 17.40:1

Card sample

#cdfb0a text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 251, 10, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 251, 10, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdfb0a;
background: linear-gradient(135deg, #cdfb0a, #2CFB0A);

Monochromatic scale

Palettes built from #cdfb0a

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.

#cdfb0a in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#cdfb0a, answered

What color is #cdfb0a?

#cdfb0a is a balanced electric green, closest to Green Yellow (ΔE2000 5.7). It sits at 72° on the hue wheel with 97% saturation and 51% lightness, which reads as warm.

What is the RGB value of #cdfb0a?

rgb(205, 251, 10) — 205 red, 251 green and 10 blue out of 255, or 80.4% / 98.4% / 3.9% by channel.

Is #cdfb0a a light or a dark color?

It is a light color. Relative luminance is 0.8200 and perceived brightness is 87%, so black text on it reaches 17.40:1.

Should I use black or white text on #cdfb0a?

Black. It scores 17.40:1 against #cdfb0a, versus 1.21:1 for white — AAA at any size.

What is the complementary color of #cdfb0a?

#380AFB sits directly opposite on the wheel. Softer options are the split-complements #0A54FB and #B10AFB, which give the same contrast with far less vibration.

What colors go well with #cdfb0a?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8C9B4B for secondary text, #0615FF as an accent and #667D02 for hover and pressed states. For a palette, the analogous pair #FBB10A and #54FB0A stays calm, while #380AFB is the loudest partner.

What is #cdfb0a in CMYK for printing?

cmyk(18%, 0%, 96%, 2%). 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 #cdfb0a warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FBD10A; nudged cooler, #74FE08.

Work with #cdfb0a in the Color Lab