Skip to content

#d3e27b

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

RGB
211, 226, 123
HSL
69°, 64%, 68%
CMYK
7, 0, 46, 11
Luminance
0.6967

Every format

HEX#d3e27b
RGBrgb(211, 226, 123)
HSLhsl(69, 64%, 68%)
CMYKcmyk(7%, 0%, 46%, 11%)
LABlab(86.8 -20.1 48.4)
LCHlch(86.8 52.4 112.5)
OKLCHoklch(0.879 0.129 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3e27b on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#d3e27b on black: 14.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green88.6%
Blue48.2%

CMYK percentages

Cyan6.6%
Magenta0.0%
Yellow45.6%
Key (black)11.4%

Color previews

#d3e27b text on a black background

contrast 14.93:1

Card sample

#d3e27b text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(211, 226, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 226, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d3e27b;
background: linear-gradient(135deg, #d3e27b, #8EE27B);

Monochromatic scale

Palettes built from #d3e27b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3e27b in the Color Lab