Skip to content

#edef1f

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

RGB
237, 239, 31
HSL
61°, 87%, 53%
CMYK
1, 0, 87, 6
Luminance
0.7984

Every format

HEX#edef1f
RGBrgb(237, 239, 31)
HSLhsl(61, 87%, 53%)
CMYKcmyk(1%, 0%, 87%, 6%)
LABlab(91.6 -21.0 86.5)
LCHlch(91.6 89.0 103.6)
OKLCHoklch(0.920 0.197 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.9%
Green93.7%
Blue12.2%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#edef1f text on a black background

contrast 16.97:1

Card sample

#edef1f text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edef1f in the Color Lab