Skip to content

#ddf0ba

a light, vivid green · cool · closest name: beige

RGB
221, 240, 186
HSL
81°, 64%, 84%
CMYK
8, 0, 23, 6
Luminance
0.8124

Every format

HEX#ddf0ba
RGBrgb(221, 240, 186)
HSLhsl(81, 64%, 84%)
CMYKcmyk(8%, 0%, 23%, 6%)
LABlab(92.2 -15.3 24.1)
LCHlch(92.2 28.6 122.5)
OKLCHoklch(0.928 0.073 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf0ba on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#ddf0ba on black: 17.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.1%
Blue72.9%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow22.5%
Key (black)5.9%

Color previews

#ddf0ba text on a black background

contrast 17.25:1

Card sample

#ddf0ba text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf0ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf0ba in the Color Lab