#CCCB78#CCCB78

#CCCB78 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.105 H 107.9°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CCCB78
RGBrgb(204, 203, 120)
HSLhsl(59, 45%, 64%)
HSVhsv(59, 41%, 80%)
CMYKcmyk(0%, 0.5%, 41.2%, 20%)
CIE-LABlab(80.13, -11.66, 41.44)
CIE-LCHlch(80.13, 43.05, 105.71°)
OKLaboklab(82.46% -0.0324 0.1004)
OKLCHoklch(82.46% 0.105 107.9)
XYZxyz(49.6487, 56.9064, 26.1343)
Luminance0.5690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB78 #7879CC
analogous
#CCA178 #CCCB78 #A3CC78
triadic
#CCCB78 #78CCCB #CB78CC
tetradic
#CCCB78 #78CCA1 #7879CC #CC78A3
square
#CCCB78 #78CCA1 #7879CC #CC78A3
split-complementary
#CCCB78 #78A3CC #A178CC
monochromatic
#929137 #BBBA4C #CCCB78 #DDDCA4 #EEEDD1

Accessibility & contrast

On white

1.70
#CCCB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CCCB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB78
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB78#FFFFFF#000000##000000
##CCCB781.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C571
Deuteranopia (green-blind)
#D9C87C
Tritanopia (blue-blind)
#D7C1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccb78;
/* rgb */ color: rgb(204, 203, 120);
/* oklch */ color: oklch(82.5% 0.105 107.9);
Tailwind
colors: {
  custom: {
    50: '#dddaa0',
    500: '#cccb78',
    950: '#000000',
  },
}
SCSS
$custom: #cccb78;
$custom-light: #dddaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb78",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 120
  },
  "hsl": {
    "h": 59.286,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8246,
    "c": 0.10548,
    "h": 107.9
  },
  "luminance": 0.56905
}

Semantic roles & 50–950 ramp

primary
#CCCB78
secondary
#4F5099
accent
#2FB82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCB78

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

Preview Lab → · Contrast checker → · Palette generator →

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