Skip to content

#dbf166

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

RGB
219, 241, 102
HSL
70°, 83%, 67%
CMYK
9, 0, 58, 6
Luminance
0.7893

At a glance

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

Hex
#dbf166
Hue
70°
yellow
Saturation
83%
electric
Lightness
67%
light
Brightness
95%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7893
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
16.79:1
Closest name
Green Yellow
ΔE2000 8.9
Where it sits
Hue70° of 360°
Saturation83%
Lightness67%
Temperature
Warm ← → Cool33% 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#dbf166
RGBrgb(219, 241, 102)
HSLhsl(70, 83%, 67%)
CMYKcmyk(9%, 0%, 58%, 6%)
LABlab(91.2 -26.0 63.2)
LCHlch(91.2 68.3 112.3)
OKLCHoklch(0.915 0.165 117.3)
Decimal14414182
Display P3color(display-p3 0.859 0.945 0.400)

Copy-ready code

/* CSS */
color: #dbf166;
background-color: #dbf166;
/* Tailwind (arbitrary) */
class="text-[#dbf166] bg-[#dbf166]"
/* SCSS */
$brand: #dbf166;
/* SwiftUI */
Color(red: 0.859, green: 0.945, blue: 0.400)
/* Android */
Color.parseColor("#dbf166")
/* Flutter */
Color(0xFFDBF166)
/* Python / OpenCV (BGR) */
(102, 241, 219)

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

Accessibility — WCAG contrast

Aa
#dbf166 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#dbf166 on black: 16.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE557
deuteranopia · #FEE76F
tritanopia · #E7E5D3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dbf166 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFCF2
#F7FAE6
#EEF6C6
#E7F698
#dbf166
#CFEC31
#C0E015
#A0BB11
#80950E
#5D6C0E
#3A4409
Base = 400Lightest = 50 · #FBFCF2Darkest = 950 · #3A4409
:root {
  --brand-50: #FBFCF2;
  --brand-100: #F7FAE6;
  --brand-200: #EEF6C6;
  --brand-300: #E7F698;
  --brand-400: #dbf166;
  --brand-500: #CFEC31;
  --brand-600: #C0E015;
  --brand-700: #A0BB11;
  --brand-800: #80950E;
  --brand-900: #5D6C0E;
  --brand-950: #3A4409;
  --brand: #dbf166;
  --brand-ink: #000000;
}

Colors that work with #dbf166

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#E6EDC0
Hairlines and dividers
Muted text#8E9B4B
Captions on the surface
Accent#6370F4
Second voice, not a rival
Dark variant#64750B
Hover, pressed, headers
Light variant#F9FDE8
Selected rows, tints
Dark surface#222414
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 #dbf166

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
  • Card and section backgrounds
  • 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
  • White 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#7C66F1
Analogous left#F1C266
Analogous right#96F166
Split-complement 1#6696F1
Split-complement 2#C266F1
Triadic 1#66DBF1
Triadic 2#F166DB
Tetradic#66F1C2

RGB percentages

Red85.9%
Green94.5%
Blue40.0%

CMYK percentages

Cyan9.1%
Magenta0.0%
Yellow57.7%
Key (black)5.5%

Color previews

#dbf166 text on a black background

contrast 16.79:1

Card sample

#dbf166 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 241, 102, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 241, 102, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbf166;
background: linear-gradient(135deg, #dbf166, #7FF166);

Monochromatic scale

Palettes built from #dbf166

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.

#dbf166 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#dbf166, answered

What color is #dbf166?

#dbf166 is a light electric yellow, closest to Green Yellow (ΔE2000 8.9). It sits at 70° on the hue wheel with 83% saturation and 67% lightness, which reads as warm.

What is the RGB value of #dbf166?

rgb(219, 241, 102) — 219 red, 241 green and 102 blue out of 255, or 85.9% / 94.5% / 40% by channel.

Is #dbf166 a light or a dark color?

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

Should I use black or white text on #dbf166?

Black. It scores 16.79:1 against #dbf166, versus 1.25:1 for white — AAA at any size.

What is the complementary color of #dbf166?

#7C66F1 sits directly opposite on the wheel. Softer options are the split-complements #6696F1 and #C266F1, which give the same contrast with far less vibration.

What colors go well with #dbf166?

For interface work: #F9FAF4 as the surface, #E6EDC0 for borders, #8E9B4B for secondary text, #6370F4 as an accent and #64750B for hover and pressed states. For a palette, the analogous pair #F1C266 and #96F166 stays calm, while #7C66F1 is the loudest partner.

What is #dbf166 in CMYK for printing?

cmyk(9%, 0%, 58%, 6%). 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 #dbf166 warm or cool?

Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F1D466; nudged cooler, #A8F365.

Work with #dbf166 in the Color Lab