Skip to content

#d0d68f

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

RGB
208, 214, 143
HSL
65°, 46%, 70%
CMYK
3, 0, 33, 16
Luminance
0.6349

Every format

HEX#d0d68f
RGBrgb(208, 214, 143)
HSLhsl(65, 46%, 70%)
CMYKcmyk(3%, 0%, 33%, 16%)
LABlab(83.7 -13.0 34.5)
LCHlch(83.7 36.8 110.7)
OKLCHoklch(0.855 0.092 112.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green83.9%
Blue56.1%

CMYK percentages

Cyan2.8%
Magenta0.0%
Yellow33.2%
Key (black)16.1%

Color previews

#d0d68f text on a black background

contrast 13.70:1

Card sample

#d0d68f text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0d68f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0d68f in the Color Lab