#CCCD48#CCCD48

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

Color values

HEX#CCCD48
RGBrgb(204, 205, 72)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0.5%, 0%, 64.9%, 19.6%)
CIE-LABlab(80.16, -16.58, 63.42)
CIE-LCHlch(80.16, 65.56, 104.65°)
OKLaboklab(82.33% -0.0513 0.143)
OKLCHoklch(82.33% 0.152 109.7)
XYZxyz(47.9044, 56.9692, 14.6023)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD48 #4948CD
analogous
#CD8C48 #CCCD48 #8ACD48
triadic
#CCCD48 #48CCCD #CD48CC
tetradic
#CCCD48 #48CD8C #4948CD #CD488A
square
#CCCD48 #48CD8C #4948CD #CD488A
split-complementary
#CCCD48 #488ACD #8C48CD
monochromatic
#797921 #A9A92E #CCCD48 #D9DA78 #E7E7A8

Accessibility & contrast

On white

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

On black

12.39
#CCCD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD48
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD48#FFFFFF#000000##000000
##CCCD481.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccd48;
/* rgb */ color: rgb(204, 205, 72);
/* oklch */ color: oklch(82.3% 0.152 109.7);
Tailwind
colors: {
  custom: {
    50: '#dfdc82',
    500: '#cccd48',
    950: '#000000',
  },
}
SCSS
$custom: #cccd48;
$custom-light: #dfdc82;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd48",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 60.451,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82327,
    "c": 0.15188,
    "h": 109.7
  },
  "luminance": 0.56968
}

Semantic roles & 50–950 ramp

primary
#CCCD48
secondary
#383882
accent
#47E049
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCCD48

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

Preview Lab → · Contrast checker → · Palette generator →

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