Skip to content

#d2f136

a balanced, electric yellow · cool · closest name: yellow

RGB
210, 241, 54
HSL
70°, 87%, 58%
CMYK
13, 0, 78, 6
Luminance
0.7688

Every format

HEX#d2f136
RGBrgb(210, 241, 54)
HSLhsl(70, 87%, 58%)
CMYKcmyk(13%, 0%, 78%, 6%)
LABlab(90.3 -32.2 79.4)
LCHlch(90.3 85.7 112.1)
OKLCHoklch(0.905 0.199 119.1)

Copy-ready code

/* CSS */
color: #d2f136;
background-color: #d2f136;
/* Tailwind (arbitrary) */
class="text-[#d2f136] bg-[#d2f136]"
/* SCSS */
$brand: #d2f136;
/* SwiftUI */
Color(red: 0.824, green: 0.945, blue: 0.212)
/* Android */
Color.parseColor("#d2f136")

Accessibility — WCAG contrast

Aa
#d2f136 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#d2f136 on black: 16.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green94.5%
Blue21.2%

CMYK percentages

Cyan12.9%
Magenta0.0%
Yellow77.6%
Key (black)5.5%

Color previews

#d2f136 text on a black background

contrast 16.38:1

Card sample

#d2f136 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 241, 54, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 241, 54, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f136;
background: linear-gradient(135deg, #d2f136, #55F136);

Monochromatic scale

Palettes built from #d2f136

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f136 in the Color Lab