#CCCC4B#CCCC4B

#CCCC4B 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.31:1 contrast (WCAG AA passes).

Color values

HEX#CCCC4B
RGBrgb(204, 204, 75)
HSLhsl(60, 56%, 55%)
HSVhsv(60, 63%, 80%)
CMYKcmyk(0%, 0%, 63.2%, 20%)
CIE-LABlab(79.92, -15.91, 61.96)
CIE-LCHlch(79.92, 63.97, 104.40°)
OKLaboklab(82.14% -0.0491 0.1403)
OKLCHoklch(82.14% 0.149 109.3)
XYZxyz(47.7662, 56.5324, 15.0509)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC4B #4B4BCC
analogous
#CC8C4B #CCCC4B #8CCC4B
triadic
#CCCC4B #4BCCCC #CC4BCC
tetradic
#CCCC4B #4BCC8C #4B4BCC #CC4B8C
square
#CCCC4B #4BCC8C #4B4BCC #CC4B8C
split-complementary
#CCCC4B #4B8CCC #8C4BCC
monochromatic
#7A7A23 #AAAA30 #CCCC4B #DADA7B #E7E7AA

Accessibility & contrast

On white

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

On black

12.31
#CCCC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC4B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC4B#FFFFFF#000000##000000
##CCCC4B1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccc4b;
/* rgb */ color: rgb(204, 204, 75);
/* oklch */ color: oklch(82.1% 0.149 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdb83',
    500: '#cccc4b',
    950: '#000000',
  },
}
SCSS
$custom: #cccc4b;
$custom-light: #dfdb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc4b",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82138,
    "c": 0.14866,
    "h": 109.3
  },
  "luminance": 0.56531
}

Semantic roles & 50–950 ramp

primary
#CCCC4B
secondary
#393982
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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