Skip to content

#dfe112

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

RGB
223, 225, 18
HSL
61°, 85%, 48%
CMYK
1, 0, 92, 12
Luminance
0.6958

At a glance

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

Hex
#dfe112
Hue
61°
yellow
Saturation
85%
electric
Lightness
48%
balanced
Brightness
88%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6958
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
14.92:1
Closest name
Yellow
ΔE2000 6.7
Where it sits
Hue61° of 360°
Saturation85%
Lightness48%
Temperature
Warm ← → Cool26% 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#dfe112
RGBrgb(223, 225, 18)
HSLhsl(61, 85%, 48%)
CMYKcmyk(1%, 0%, 92%, 12%)
LABlab(86.8 -20.3 84.2)
LCHlch(86.8 86.6 103.5)
OKLCHoklch(0.879 0.190 110.4)
Decimal14672146
Display P3color(display-p3 0.875 0.882 0.071)

Copy-ready code

/* CSS */
color: #dfe112;
background-color: #dfe112;
/* Tailwind (arbitrary) */
class="text-[#dfe112] bg-[#dfe112]"
/* SCSS */
$brand: #dfe112;
/* SwiftUI */
Color(red: 0.875, green: 0.882, blue: 0.071)
/* Android */
Color.parseColor("#dfe112")
/* Flutter */
Color(0xFFDFE112)
/* Python / OpenCV (BGR) */
(18, 225, 223)

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

Accessibility — WCAG contrast

Aa
#dfe112 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#dfe112 on black: 14.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4D700
deuteranopia · #F6DC30
tritanopia · #F0D2C0

Color scale — 50 to 950

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

#FCFCF2
#FAFAE5
#F6F7C5
#F6F797
#F1F363
#ECEE2F
#dfe112
#BBBD0F
#96970C
#6C6D0D
#444408
Base = 600Lightest = 50 · #FCFCF2Darkest = 950 · #444408
:root {
  --brand-50: #FCFCF2;
  --brand-100: #FAFAE5;
  --brand-200: #F6F7C5;
  --brand-300: #F6F797;
  --brand-400: #F1F363;
  --brand-500: #ECEE2F;
  --brand-600: #dfe112;
  --brand-700: #BBBD0F;
  --brand-800: #96970C;
  --brand-900: #6C6D0D;
  --brand-950: #444408;
  --brand: #dfe112;
  --brand-ink: #000000;
}

Colors that work with #dfe112

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#ECEDC0
Hairlines and dividers
Muted text#9A9B4B
Captions on the surface
Accent#0D41E6
Second voice, not a rival
Dark variant#757609
Hover, pressed, headers
Light variant#FDFDE7
Selected rows, tints
Dark surface#242414
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 #dfe112

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#1412E1
Analogous left#E17B12
Analogous right#77E112
Split-complement 1#1277E1
Split-complement 2#7B12E1
Triadic 1#12DFE1
Triadic 2#E112DF
Tetradic#12E17B

RGB percentages

Red87.5%
Green88.2%
Blue7.1%

CMYK percentages

Cyan0.9%
Magenta0.0%
Yellow92.0%
Key (black)11.8%

Color previews

#dfe112 text on a black background

contrast 14.92:1

Card sample

#dfe112 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 225, 18, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 225, 18, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfe112;
background: linear-gradient(135deg, #dfe112, #55E112);

Monochromatic scale

Palettes built from #dfe112

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.

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

#dfe112, answered

What color is #dfe112?

#dfe112 is a balanced electric yellow, closest to Yellow (ΔE2000 6.7). It sits at 61° on the hue wheel with 85% saturation and 48% lightness, which reads as warm.

What is the RGB value of #dfe112?

rgb(223, 225, 18) — 223 red, 225 green and 18 blue out of 255, or 87.5% / 88.2% / 7.1% by channel.

Is #dfe112 a light or a dark color?

It is a light color. Relative luminance is 0.6958 and perceived brightness is 83%, so black text on it reaches 14.92:1.

Should I use black or white text on #dfe112?

Black. It scores 14.92:1 against #dfe112, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #dfe112?

#1412E1 sits directly opposite on the wheel. Softer options are the split-complements #1277E1 and #7B12E1, which give the same contrast with far less vibration.

What colors go well with #dfe112?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #0D41E6 as an accent and #757609 for hover and pressed states. For a palette, the analogous pair #E17B12 and #77E112 stays calm, while #1412E1 is the loudest partner.

What is #dfe112 in CMYK for printing?

cmyk(1%, 0%, 92%, 12%). 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 #dfe112 warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E1A312; nudged cooler, #93E310.

Work with #dfe112 in the Color Lab