#CCCD4A#CCCD4A

#CCCD4A is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.3% C 0.150 H 109.7°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#CCCD4A
RGBrgb(204, 205, 74)
HSLhsl(60, 57%, 55%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0.5%, 0%, 63.9%, 19.6%)
CIE-LABlab(80.18, -16.47, 62.64)
CIE-LCHlch(80.18, 64.77, 104.73°)
OKLaboklab(82.34% -0.0507 0.1416)
OKLCHoklch(82.34% 0.15 109.7)
XYZxyz(47.9707, 56.9957, 14.9516)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD4A #4B4ACD
analogous
#CD8D4A #CCCD4A #8BCD4A
triadic
#CCCD4A #4ACCCD #CD4ACC
tetradic
#CCCD4A #4ACD8D #4B4ACD #CD4A8B
square
#CCCD4A #4ACD8D #4B4ACD #CD4A8B
split-complementary
#CCCD4A #4A8BCD #8D4ACD
monochromatic
#7A7B22 #AAAB2F #CCCD4A #DADA7A #E7E7AA

Accessibility & contrast

On white

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

On black

12.40
#CCCD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD4A
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD4A#FFFFFF#000000##000000
##CCCD4A1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC539
Deuteranopia (green-blind)
#DEC952
Tritanopia (blue-blind)
#DAC1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd4a;
/* rgb */ color: rgb(204, 205, 74);
/* oklch */ color: oklch(82.3% 0.150 109.7);
Tailwind
colors: {
  custom: {
    50: '#dfdc83',
    500: '#cccd4a',
    950: '#000000',
  },
}
SCSS
$custom: #cccd4a;
$custom-light: #dfdc83;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd4a",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 60.458,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82344,
    "c": 0.15043,
    "h": 109.7
  },
  "luminance": 0.56994
}

Semantic roles & 50–950 ramp

primary
#CCCD4A
secondary
#393883
accent
#48E049
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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