#CDC16C#CDC16C

#CDC16C is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.108 H 101.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CDC16C
RGBrgb(205, 193, 108)
HSLhsl(53, 49%, 61%)
HSVhsv(53, 47%, 80%)
CMYKcmyk(0%, 5.9%, 47.3%, 19.6%)
CIE-LABlab(77.40, -7.33, 44.06)
CIE-LCHlch(77.40, 44.66, 99.45°)
OKLaboklab(80.27% -0.0211 0.1054)
OKLCHoklch(80.27% 0.108 101.3)
XYZxyz(46.9548, 52.2033, 21.7873)
Luminance0.5220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC16C #6C78CD
analogous
#CD916C #CDC16C #A9CD6C
triadic
#CDC16C #6CCDC1 #C16CCD
tetradic
#CDC16C #6CCD91 #6C78CD #CD6CA9
square
#CDC16C #6CCD91 #6C78CD #CD6CA9
split-complementary
#CDC16C #6CA9CD #916CCD
monochromatic
#8E8330 #BCAD40 #CDC16C #DDD49A #ECE8C7

Accessibility & contrast

On white

1.84
#CDC16C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CDC16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC16C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC16C#FFFFFF#000000##000000
##CDC16C1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC65
Deuteranopia (green-blind)
#D3C270
Tritanopia (blue-blind)
#DAB6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc16c;
/* rgb */ color: rgb(205, 193, 108);
/* oklch */ color: oklch(80.3% 0.108 101.3);
Tailwind
colors: {
  custom: {
    50: '#ded398',
    500: '#cdc16c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc16c;
$custom-light: #ded398;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc16c",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 108
  },
  "hsl": {
    "h": 52.577,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80266,
    "c": 0.10752,
    "h": 101.3
  },
  "luminance": 0.52202
}

Semantic roles & 50–950 ramp

primary
#CDC16C
secondary
#485295
accent
#3BBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC16C

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

Preview Lab → · Contrast checker → · Palette generator →

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