#CDDC42#CDDC42

#CDDC42 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.6% C 0.171 H 114.9°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#CDDC42
RGBrgb(205, 220, 66)
HSLhsl(66, 69%, 56%)
HSVhsv(66, 70%, 86%)
CMYKcmyk(6.8%, 0%, 70%, 13.7%)
CIE-LABlab(84.26, -23.84, 69.82)
CIE-LCHlch(84.26, 73.78, 108.86°)
OKLaboklab(85.61% -0.0722 0.1555)
OKLCHoklch(85.61% 0.171 114.9)
XYZxyz(51.7548, 64.5598, 14.8881)
Luminance0.6456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDC42 #5142DC
analogous
#DC9E42 #CDDC42 #80DC42
triadic
#CDDC42 #42CDDC #DC42CD
tetradic
#CDDC42 #42DC9E #5142DC #DC4280
square
#CDDC42 #42DC9E #5142DC #DC4280
split-complementary
#CDDC42 #4280DC #9E42DC
monochromatic
#7F8A1A #AFBE23 #CDDC42 #DBE676 #E8EFA9

Accessibility & contrast

On white

1.51
#CDDC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#CDDC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDC42
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDC42#FFFFFF#000000##000000
##CDDC421.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD127
Deuteranopia (green-blind)
#EBD34E
Tritanopia (blue-blind)
#DACFBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cddc42;
/* rgb */ color: rgb(205, 220, 66);
/* oklch */ color: oklch(85.6% 0.171 114.9);
Tailwind
colors: {
  custom: {
    50: '#e0e680',
    500: '#cddc42',
    950: '#000000',
  },
}
SCSS
$custom: #cddc42;
$custom-light: #e0e680;
$custom-dark: #000000;
JSON
{
  "hex": "#cddc42",
  "rgb": {
    "r": 205,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 65.844,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8561,
    "c": 0.17141,
    "h": 114.9
  },
  "luminance": 0.64559
}

Semantic roles & 50–950 ramp

primary
#CDDC42
secondary
#3B3290
accent
#3CEC4D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDDC42

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CDDC42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva