Skip to content

#d3e310

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

RGB
211, 227, 16
HSL
65°, 87%, 48%
CMYK
7, 0, 93, 11
Luminance
0.6882

At a glance

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

Hex
#d3e310
Hue
65°
yellow
Saturation
87%
electric
Lightness
48%
balanced
Brightness
89%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6882
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
14.76:1
Closest name
Yellow
ΔE2000 7.7
Where it sits
Hue65° of 360°
Saturation87%
Lightness48%
Temperature
Warm ← → Cool29% 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#d3e310
RGBrgb(211, 227, 16)
HSLhsl(65, 87%, 48%)
CMYKcmyk(7%, 0%, 93%, 11%)
LABlab(86.4 -26.3 83.7)
LCHlch(86.4 87.7 107.4)
OKLCHoklch(0.874 0.196 114.8)
Decimal13886224
Display P3color(display-p3 0.827 0.890 0.063)

Copy-ready code

/* CSS */
color: #d3e310;
background-color: #d3e310;
/* Tailwind (arbitrary) */
class="text-[#d3e310] bg-[#d3e310]"
/* SCSS */
$brand: #d3e310;
/* SwiftUI */
Color(red: 0.827, green: 0.890, blue: 0.063)
/* Android */
Color.parseColor("#d3e310")
/* Flutter */
Color(0xFFD3E310)
/* Python / OpenCV (BGR) */
(16, 227, 211)

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

Accessibility — WCAG contrast

Aa
#d3e310 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#d3e310 on black: 14.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F4D700
deuteranopia · #F3DA31
tritanopia · #E2D5C1

Color scale — 50 to 950

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

#FCFDF2
#F9FAE5
#F3F7C4
#F0F896
#E9F462
#E2F02D
#d3e310
#B1BF0D
#8E980B
#676E0C
#404508
Base = 600Lightest = 50 · #FCFDF2Darkest = 950 · #404508
:root {
  --brand-50: #FCFDF2;
  --brand-100: #F9FAE5;
  --brand-200: #F3F7C4;
  --brand-300: #F0F896;
  --brand-400: #E9F462;
  --brand-500: #E2F02D;
  --brand-600: #d3e310;
  --brand-700: #B1BF0D;
  --brand-800: #8E980B;
  --brand-900: #676E0C;
  --brand-950: #404508;
  --brand: #d3e310;
  --brand-ink: #000000;
}

Colors that work with #d3e310

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#E9EDC0
Hairlines and dividers
Muted text#959B4B
Captions on the surface
Accent#0B32E8
Second voice, not a rival
Dark variant#6F7708
Hover, pressed, headers
Light variant#FCFDE7
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 #d3e310

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#2010E3
Analogous left#E38910
Analogous right#6AE310
Split-complement 1#106AE3
Split-complement 2#8910E3
Triadic 1#10D3E3
Triadic 2#E310D3
Tetradic#10E389

RGB percentages

Red82.7%
Green89.0%
Blue6.3%

CMYK percentages

Cyan7.0%
Magenta0.0%
Yellow93.0%
Key (black)11.0%

Color previews

#d3e310 text on a black background

contrast 14.76:1

Card sample

#d3e310 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(211, 227, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 227, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d3e310;
background: linear-gradient(135deg, #d3e310, #46E310);

Monochromatic scale

Palettes built from #d3e310

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.

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

#d3e310, answered

What color is #d3e310?

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

What is the RGB value of #d3e310?

rgb(211, 227, 16) — 211 red, 227 green and 16 blue out of 255, or 82.7% / 89% / 6.3% by channel.

Is #d3e310 a light or a dark color?

It is a light color. Relative luminance is 0.6882 and perceived brightness is 82%, so black text on it reaches 14.76:1.

Should I use black or white text on #d3e310?

Black. It scores 14.76:1 against #d3e310, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #d3e310?

#2010E3 sits directly opposite on the wheel. Softer options are the split-complements #106AE3 and #8910E3, which give the same contrast with far less vibration.

What colors go well with #d3e310?

For interface work: #FAFAF4 as the surface, #E9EDC0 for borders, #959B4B for secondary text, #0B32E8 as an accent and #6F7708 for hover and pressed states. For a palette, the analogous pair #E38910 and #6AE310 stays calm, while #2010E3 is the loudest partner.

What is #d3e310 in CMYK for printing?

cmyk(7%, 0%, 93%, 11%). 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 #d3e310 warm or cool?

Warm — it scores 29 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E3A910; nudged cooler, #86E50E.

Work with #d3e310 in the Color Lab