Skip to content

#cedf2f

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

RGB
206, 223, 47
HSL
66°, 73%, 53%
CMYK
8, 0, 79, 13
Luminance
0.6610

Every format

HEX#cedf2f
RGBrgb(206, 223, 47)
HSLhsl(66, 73%, 53%)
CMYKcmyk(8%, 0%, 79%, 13%)
LABlab(85.0 -25.7 76.5)
LCHlch(85.0 80.7 108.6)
OKLCHoklch(0.862 0.184 115.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cedf2f on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#cedf2f on black: 14.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green87.5%
Blue18.4%

CMYK percentages

Cyan7.6%
Magenta0.0%
Yellow78.9%
Key (black)12.5%

Color previews

#cedf2f text on a black background

contrast 14.22:1

Card sample

#cedf2f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 223, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 223, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cedf2f;
background: linear-gradient(135deg, #cedf2f, #59DF2F);

Monochromatic scale

Palettes built from #cedf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cedf2f in the Color Lab