#CCCF78#CCCF78

#CCCF78 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.3% C 0.110 H 110.3°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CCCF78
RGBrgb(204, 207, 120)
HSLhsl(62, 48%, 64%)
HSVhsv(62, 42%, 81%)
CMYKcmyk(1.4%, 0%, 42%, 18.8%)
CIE-LABlab(81.19, -13.68, 42.78)
CIE-LCHlch(81.19, 44.91, 107.74°)
OKLaboklab(83.31% -0.0382 0.1034)
OKLCHoklch(83.31% 0.11 110.3)
XYZxyz(50.6056, 58.8200, 26.4532)
Luminance0.5882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF78 #7B78CF
analogous
#CFA778 #CCCF78 #A1CF78
triadic
#CCCF78 #78CCCF #CF78CC
tetradic
#CCCF78 #78CFA7 #7B78CF #CF78A1
square
#CCCF78 #78CFA7 #7B78CF #CF78A1
split-complementary
#CCCF78 #78A1CF #A778CF
monochromatic
#949736 #BBBF4B #CCCF78 #DDDFA5 #EEEFD2

Accessibility & contrast

On white

1.65
#CCCF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CCCF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF78
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF78#FFFFFF#000000##000000
##CCCF781.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#DCCB7C
Tritanopia (blue-blind)
#D7C5BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccf78;
/* rgb */ color: rgb(204, 207, 120);
/* oklch */ color: oklch(83.3% 0.110 110.3);
Tailwind
colors: {
  custom: {
    50: '#dddda0',
    500: '#cccf78',
    950: '#000000',
  },
}
SCSS
$custom: #cccf78;
$custom-light: #dddda0;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf78",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 120
  },
  "hsl": {
    "h": 62.069,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83308,
    "c": 0.11021,
    "h": 110.3
  },
  "luminance": 0.58819
}

Semantic roles & 50–950 ramp

primary
#CCCF78
secondary
#514E9D
accent
#2BBB30
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCF78

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

Preview Lab → · Contrast checker → · Palette generator →

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