#CCCC4A#CCCC4A

#CCCC4A is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.149 H 109.3°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CCCC4A
RGBrgb(204, 204, 74)
HSLhsl(60, 56%, 55%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0%, 0%, 63.7%, 20%)
CIE-LABlab(79.91, -15.97, 62.36)
CIE-LCHlch(79.91, 64.37, 104.36°)
OKLaboklab(82.13% -0.0493 0.141)
OKLCHoklch(82.13% 0.149 109.3)
XYZxyz(47.7323, 56.5189, 14.8721)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC4A #4A4ACC
analogous
#CC8B4A #CCCC4A #8BCC4A
triadic
#CCCC4A #4ACCCC #CC4ACC
tetradic
#CCCC4A #4ACC8B #4A4ACC #CC4A8B
square
#CCCC4A #4ACC8B #4A4ACC #CC4A8B
split-complementary
#CCCC4A #4A8BCC #8B4ACC
monochromatic
#797922 #A9A930 #CCCC4A #D9D97A #E7E7A9

Accessibility & contrast

On white

1.71
#CCCC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CCCC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC4A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC4A#FFFFFF#000000##000000
##CCCC4A1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC439
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#DAC0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc4a;
/* rgb */ color: rgb(204, 204, 74);
/* oklch */ color: oklch(82.1% 0.149 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdb83',
    500: '#cccc4a',
    950: '#000000',
  },
}
SCSS
$custom: #cccc4a;
$custom-light: #dfdb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc4a",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82129,
    "c": 0.1494,
    "h": 109.3
  },
  "luminance": 0.56518
}

Semantic roles & 50–950 ramp

primary
#CCCC4A
secondary
#393982
accent
#48DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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