#CDCC64#CDCC64

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

Color values

HEX#CDCC64
RGBrgb(205, 204, 100)
HSLhsl(59, 51%, 60%)
HSVhsv(59, 51%, 80%)
CMYKcmyk(0%, 0.5%, 51.2%, 19.6%)
CIE-LABlab(80.23, -13.66, 51.30)
CIE-LCHlch(80.23, 53.09, 104.91°)
OKLaboklab(82.48% -0.0401 0.1206)
OKLCHoklch(82.48% 0.127 108.4)
XYZxyz(49.0712, 57.0862, 20.4879)
Luminance0.5708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC64 #6465CD
analogous
#CD9864 #CDCC64 #99CD64
triadic
#CDCC64 #64CDCC #CC64CD
tetradic
#CDCC64 #64CD98 #6465CD #CD6499
square
#CDCC64 #64CD98 #6465CD #CD6499
split-complementary
#CDCC64 #6499CD #9864CD
monochromatic
#8A892D #B8B73B #CDCC64 #DCDB92 #EBEAC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCC64#FFFFFF#000000##000000
##CDCC641.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)
#DAC55A
Deuteranopia (green-blind)
#DCC969
Tritanopia (blue-blind)
#D9C1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc64;
/* rgb */ color: rgb(205, 204, 100);
/* oklch */ color: oklch(82.5% 0.127 108.4);
Tailwind
colors: {
  custom: {
    50: '#dedb93',
    500: '#cdcc64',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc64;
$custom-light: #dedb93;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc64",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 100
  },
  "hsl": {
    "h": 59.429,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82481,
    "c": 0.12711,
    "h": 108.4
  },
  "luminance": 0.57085
}

Semantic roles & 50–950 ramp

primary
#CDCC64
secondary
#444591
accent
#4EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCC64

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

Preview Lab → · Contrast checker → · Palette generator →

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