#CDC06C#CDC06C

#CDC06C is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.107 H 100.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CDC06C
RGBrgb(205, 192, 108)
HSLhsl(52, 49%, 61%)
HSVhsv(52, 47%, 80%)
CMYKcmyk(0%, 6.3%, 47.3%, 19.6%)
CIE-LABlab(77.14, -6.82, 43.74)
CIE-LCHlch(77.14, 44.26, 98.86°)
OKLaboklab(80.06% -0.0197 0.1047)
OKLCHoklch(80.06% 0.107 100.6)
XYZxyz(46.7345, 51.7627, 21.7139)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC06C #6C79CD
analogous
#CD906C #CDC06C #AACD6C
triadic
#CDC06C #6CCDC0 #C06CCD
tetradic
#CDC06C #6CCD90 #6C79CD #CD6CAA
square
#CDC06C #6CCD90 #6C79CD #CD6CAA
split-complementary
#CDC06C #6CAACD #906CCD
monochromatic
#8E8230 #BCAB40 #CDC06C #DDD49A #ECE7C7

Accessibility & contrast

On white

1.85
#CDC06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CDC06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC06C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC06C#FFFFFF#000000##000000
##CDC06C1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB65
Deuteranopia (green-blind)
#D2C170
Tritanopia (blue-blind)
#DAB5AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc06c;
/* rgb */ color: rgb(205, 192, 108);
/* oklch */ color: oklch(80.1% 0.107 100.6);
Tailwind
colors: {
  custom: {
    50: '#ded298',
    500: '#cdc06c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc06c;
$custom-light: #ded298;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc06c",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 108
  },
  "hsl": {
    "h": 51.959,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80057,
    "c": 0.10654,
    "h": 100.6
  },
  "luminance": 0.51761
}

Semantic roles & 50–950 ramp

primary
#CDC06C
secondary
#485395
accent
#3DBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC06C

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

Preview Lab → · Contrast checker → · Palette generator →

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