Skip to content

#d0eb98

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

RGB
208, 235, 152
HSL
80°, 68%, 76%
CMYK
12, 0, 35, 8
Luminance
0.7509

Every format

HEX#d0eb98
RGBrgb(208, 235, 152)
HSLhsl(80, 68%, 76%)
CMYKcmyk(12%, 0%, 35%, 8%)
LABlab(89.4 -22.3 37.4)
LCHlch(89.4 43.5 120.8)
OKLCHoklch(0.901 0.111 123.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0eb98 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#d0eb98 on black: 16.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green92.2%
Blue59.6%

CMYK percentages

Cyan11.5%
Magenta0.0%
Yellow35.3%
Key (black)7.8%

Color previews

#d0eb98 text on a black background

contrast 16.02:1

Card sample

#d0eb98 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 235, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 235, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0eb98;
background: linear-gradient(135deg, #d0eb98, #99EB98);

Monochromatic scale

Palettes built from #d0eb98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0eb98 in the Color Lab