#CDDC40#CDDC40

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

Color values

HEX#CDDC40
RGBrgb(205, 220, 64)
HSLhsl(66, 69%, 56%)
HSVhsv(66, 71%, 86%)
CMYKcmyk(6.8%, 0%, 70.9%, 13.7%)
CIE-LABlab(84.24, -23.95, 70.51)
CIE-LCHlch(84.24, 74.46, 108.76°)
OKLaboklab(85.6% -0.0727 0.1566)
OKLCHoklch(85.6% 0.173 114.9)
XYZxyz(51.6969, 64.5366, 14.5830)
Luminance0.6454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDC40 #4F40DC
analogous
#DC9D40 #CDDC40 #7FDC40
triadic
#CDDC40 #40CDDC #DC40CD
tetradic
#CDDC40 #40DC9D #4F40DC #DC407F
square
#CDDC40 #40DC9D #4F40DC #DC407F
split-complementary
#CDDC40 #407FDC #9D40DC
monochromatic
#7E8919 #AEBC23 #CDDC40 #DBE574 #E8EFA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDDC40#FFFFFF#000000##000000
##CDDC401.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)
#ECD123
Deuteranopia (green-blind)
#EBD34C
Tritanopia (blue-blind)
#DACFBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cddc40;
/* rgb */ color: rgb(205, 220, 64);
/* oklch */ color: oklch(85.6% 0.173 114.9);
Tailwind
colors: {
  custom: {
    50: '#e0e67f',
    500: '#cddc40',
    950: '#000000',
  },
}
SCSS
$custom: #cddc40;
$custom-light: #e0e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cddc40",
  "rgb": {
    "r": 205,
    "g": 220,
    "b": 64
  },
  "hsl": {
    "h": 65.769,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85596,
    "c": 0.17262,
    "h": 114.9
  },
  "luminance": 0.64536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDDC40

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

Preview Lab → · Contrast checker → · Palette generator →

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