#CDC06D#CDC06D

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

Color values

HEX#CDC06D
RGBrgb(205, 192, 109)
HSLhsl(52, 49%, 62%)
HSVhsv(52, 47%, 80%)
CMYKcmyk(0%, 6.3%, 46.8%, 19.6%)
CIE-LABlab(77.15, -6.72, 43.25)
CIE-LCHlch(77.15, 43.77, 98.83°)
OKLaboklab(80.07% -0.0193 0.1037)
OKLCHoklch(80.07% 0.105 100.5)
XYZxyz(46.7880, 51.7841, 21.9958)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC06D #6D7ACD
analogous
#CD906D #CDC06D #AACD6D
triadic
#CDC06D #6DCDC0 #C06DCD
tetradic
#CDC06D #6DCD90 #6D7ACD #CD6DAA
square
#CDC06D #6DCD90 #6D7ACD #CD6DAA
split-complementary
#CDC06D #6DAACD #906DCD
monochromatic
#8F8231 #BCAC40 #CDC06D #DDD49B #ECE7C8

Accessibility & contrast

On white

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

On black

11.36
#CDC06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC06D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC06D#FFFFFF#000000##000000
##CDC06D1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB66
Deuteranopia (green-blind)
#D2C171
Tritanopia (blue-blind)
#DAB6AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc06d;
/* rgb */ color: rgb(205, 192, 109);
/* oklch */ color: oklch(80.1% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#ded298',
    500: '#cdc06d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc06d;
$custom-light: #ded298;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc06d",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 109
  },
  "hsl": {
    "h": 51.875,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80071,
    "c": 0.10549,
    "h": 100.5
  },
  "luminance": 0.51783
}

Semantic roles & 50–950 ramp

primary
#CDC06D
secondary
#495395
accent
#3DBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC06D

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

Preview Lab → · Contrast checker → · Palette generator →

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