Skip to content

#d2d68f

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

RGB
210, 214, 143
HSL
63°, 46%, 70%
CMYK
2, 0, 33, 16
Luminance
0.6378

Every format

HEX#d2d68f
RGBrgb(210, 214, 143)
HSLhsl(63, 46%, 70%)
CMYKcmyk(2%, 0%, 33%, 16%)
LABlab(83.8 -12.3 34.7)
LCHlch(83.8 36.8 109.5)
OKLCHoklch(0.857 0.092 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2d68f on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#d2d68f on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green83.9%
Blue56.1%

CMYK percentages

Cyan1.9%
Magenta0.0%
Yellow33.2%
Key (black)16.1%

Color previews

#d2d68f text on a black background

contrast 13.76:1

Card sample

#d2d68f text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 214, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 214, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2d68f;
background: linear-gradient(135deg, #d2d68f, #A3D68F);

Monochromatic scale

Palettes built from #d2d68f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2d68f in the Color Lab