#CCCF79#CCCF79

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

Color values

HEX#CCCF79
RGBrgb(204, 207, 121)
HSLhsl(62, 47%, 64%)
HSVhsv(62, 42%, 81%)
CMYKcmyk(1.4%, 0%, 41.5%, 18.8%)
CIE-LABlab(81.21, -13.58, 42.30)
CIE-LCHlch(81.21, 44.42, 107.80°)
OKLaboklab(83.32% -0.0378 0.1024)
OKLCHoklch(83.32% 0.109 110.3)
XYZxyz(50.6666, 58.8444, 26.7745)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF79 #7C79CF
analogous
#CFA779 #CCCF79 #A1CF79
triadic
#CCCF79 #79CCCF #CF79CC
tetradic
#CCCF79 #79CFA7 #7C79CF #CF79A1
square
#CCCF79 #79CFA7 #7C79CF #CF79A1
split-complementary
#CCCF79 #79A1CF #A779CF
monochromatic
#949736 #BBBF4C #CCCF79 #DDDFA6 #EEEFD3

Accessibility & contrast

On white

1.64
#CCCF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#CCCF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF79
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF79#FFFFFF#000000##000000
##CCCF791.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC872
Deuteranopia (green-blind)
#DCCB7D
Tritanopia (blue-blind)
#D7C6BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccf79;
/* rgb */ color: rgb(204, 207, 121);
/* oklch */ color: oklch(83.3% 0.109 110.3);
Tailwind
colors: {
  custom: {
    50: '#dddda1',
    500: '#cccf79',
    950: '#000000',
  },
}
SCSS
$custom: #cccf79;
$custom-light: #dddda1;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf79",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 62.093,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83323,
    "c": 0.10912,
    "h": 110.3
  },
  "luminance": 0.58843
}

Semantic roles & 50–950 ramp

primary
#CCCF79
secondary
#524F9D
accent
#2BBB30
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCF79

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

Preview Lab → · Contrast checker → · Palette generator →

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