#CDCC66#CDCC66

#CDCC66 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.125 H 108.3°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CDCC66
RGBrgb(205, 204, 102)
HSLhsl(59, 51%, 60%)
HSVhsv(59, 50%, 80%)
CMYKcmyk(0%, 0.5%, 50.2%, 19.6%)
CIE-LABlab(80.25, -13.49, 50.39)
CIE-LCHlch(80.25, 52.16, 104.99°)
OKLaboklab(82.51% -0.0394 0.1188)
OKLCHoklch(82.51% 0.125 108.3)
XYZxyz(49.1691, 57.1254, 21.0040)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC66 #6667CD
analogous
#CD9866 #CDCC66 #9BCD66
triadic
#CDCC66 #66CDCC #CC66CD
tetradic
#CDCC66 #66CD98 #6667CD #CD669B
square
#CDCC66 #66CD98 #6667CD #CD669B
split-complementary
#CDCC66 #669BCD #9866CD
monochromatic
#8B8A2D #B9B83D #CDCC66 #DCDB94 #EBEBC2

Accessibility & contrast

On white

1.69
#CDCC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CDCC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC66
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC66#FFFFFF#000000##000000
##CDCC661.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55D
Deuteranopia (green-blind)
#DCC96B
Tritanopia (blue-blind)
#D9C1B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc66;
/* rgb */ color: rgb(205, 204, 102);
/* oklch */ color: oklch(82.5% 0.125 108.3);
Tailwind
colors: {
  custom: {
    50: '#dedb94',
    500: '#cdcc66',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc66;
$custom-light: #dedb94;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc66",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 59.417,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82506,
    "c": 0.12519,
    "h": 108.3
  },
  "luminance": 0.57124
}

Semantic roles & 50–950 ramp

primary
#CDCC66
secondary
#454692
accent
#29BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCC66

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

Preview Lab → · Contrast checker → · Palette generator →

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