Skip to content

#edef1c

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

RGB
237, 239, 28
HSL
61°, 87%, 52%
CMYK
1, 0, 88, 6
Luminance
0.7982

Every format

HEX#edef1c
RGBrgb(237, 239, 28)
HSLhsl(61, 87%, 52%)
CMYKcmyk(1%, 0%, 88%, 6%)
LABlab(91.6 -21.1 87.0)
LCHlch(91.6 89.5 103.6)
OKLCHoklch(0.920 0.197 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#edef1c on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#edef1c on black: 16.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green93.7%
Blue11.0%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow88.3%
Key (black)6.3%

Color previews

#edef1c text on a black background

contrast 16.96:1

Card sample

#edef1c text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(237, 239, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(237, 239, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #edef1c;
background: linear-gradient(135deg, #edef1c, #60EF1C);

Monochromatic scale

Palettes built from #edef1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edef1c in the Color Lab