Skip to content

#cddb0c

a balanced, electric yellow · cool · closest name: yellow

RGB
205, 219, 12
HSL
64°, 90%, 45%
CMYK
6, 0, 95, 14
Luminance
0.6367

Every format

HEX#cddb0c
RGBrgb(205, 219, 12)
HSLhsl(64, 90%, 45%)
CMYKcmyk(6%, 0%, 95%, 14%)
LABlab(83.8 -25.0 81.9)
LCHlch(83.8 85.6 107.0)
OKLCHoklch(0.852 0.190 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green85.9%
Blue4.7%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow94.5%
Key (black)14.1%

Color previews

#cddb0c text on a black background

contrast 13.73:1

Card sample

#cddb0c text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 219, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 219, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cddb0c;
background: linear-gradient(135deg, #cddb0c, #43DB0C);

Monochromatic scale

Palettes built from #cddb0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb0c in the Color Lab