#CCCC45#CCCC45

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

Color values

HEX#CCCC45
RGBrgb(204, 204, 69)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0%, 66.2%, 20%)
CIE-LABlab(79.87, -16.26, 64.30)
CIE-LCHlch(79.87, 66.33, 104.19°)
OKLaboklab(82.09% -0.0507 0.1443)
OKLCHoklch(82.09% 0.153 109.3)
XYZxyz(47.5705, 56.4541, 14.0199)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC45 #4545CC
analogous
#CC8845 #CCCC45 #88CC45
triadic
#CCCC45 #45CCCC #CC45CC
tetradic
#CCCC45 #45CC88 #4545CC #CC4588
square
#CCCC45 #45CC88 #4545CC #CC4588
split-complementary
#CCCC45 #4588CC #8845CC
monochromatic
#767620 #A6A62E #CCCC45 #D9D975 #E6E6A5

Accessibility & contrast

On white

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

On black

12.29
#CCCC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC45
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC45#FFFFFF#000000##000000
##CCCC451.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC431
Deuteranopia (green-blind)
#DEC84E
Tritanopia (blue-blind)
#DABFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc45;
/* rgb */ color: rgb(204, 204, 69);
/* oklch */ color: oklch(82.1% 0.153 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdb80',
    500: '#cccc45',
    950: '#000000',
  },
}
SCSS
$custom: #cccc45;
$custom-light: #dfdb80;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc45",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82088,
    "c": 0.15298,
    "h": 109.3
  },
  "luminance": 0.56453
}

Semantic roles & 50–950 ramp

primary
#CCCC45
secondary
#36367F
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCC45

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

Preview Lab → · Contrast checker → · Palette generator →

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