#CDC64C#CDC64C

#CDC64C is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.142 H 106.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CDC64C
RGBrgb(205, 198, 76)
HSLhsl(57, 56%, 55%)
HSVhsv(57, 63%, 80%)
CMYKcmyk(0%, 3.4%, 62.9%, 19.6%)
CIE-LABlab(78.40, -12.41, 59.97)
CIE-LCHlch(78.40, 61.24, 101.69°)
OKLaboklab(80.95% -0.0391 0.1363)
OKLCHoklch(80.95% 0.142 106)
XYZxyz(46.6771, 53.8907, 14.7793)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC64C #4C53CD
analogous
#CD854C #CDC64C #94CD4C
triadic
#CDC64C #4CCDC6 #C64CCD
tetradic
#CDC64C #4CCD85 #4C53CD #CD4C94
square
#CDC64C #4CCD85 #4C53CD #CD4C94
split-complementary
#CDC64C #4C94CD #854CCD
monochromatic
#7C7723 #ACA530 #CDC64C #DAD57C #E8E4AC

Accessibility & contrast

On white

1.78
#CDC64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CDC64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC64C
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC64C#FFFFFF#000000##000000
##CDC64C1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3D
Deuteranopia (green-blind)
#D9C453
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc64c;
/* rgb */ color: rgb(205, 198, 76);
/* oklch */ color: oklch(81.0% 0.142 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfd784',
    500: '#cdc64c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc64c;
$custom-light: #dfd784;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc64c",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 76
  },
  "hsl": {
    "h": 56.744,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8095,
    "c": 0.14175,
    "h": 106
  },
  "luminance": 0.53889
}

Semantic roles & 50–950 ramp

primary
#CDC64C
secondary
#393D84
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC64C

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

Preview Lab → · Contrast checker → · Palette generator →

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