Skip to content

#edf0b2

a light, vivid yellow · cool · closest name: khaki

RGB
237, 240, 178
HSL
63°, 67%, 82%
CMYK
1, 0, 26, 6
Luminance
0.8354

Every format

HEX#edf0b2
RGBrgb(237, 240, 178)
HSLhsl(63, 67%, 82%)
CMYKcmyk(1%, 0%, 26%, 6%)
LABlab(93.3 -10.7 29.7)
LCHlch(93.3 31.6 109.8)
OKLCHoklch(0.938 0.080 110.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#edf0b2 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#edf0b2 on black: 17.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green94.1%
Blue69.8%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow25.8%
Key (black)5.9%

Color previews

#edf0b2 text on a black background

contrast 17.71:1

Card sample

#edf0b2 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(237, 240, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(237, 240, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #edf0b2;
background: linear-gradient(135deg, #edf0b2, #C4F0B2);

Monochromatic scale

Palettes built from #edf0b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edf0b2 in the Color Lab