#CCCD78#CCCD78

#CCCD78 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.108 H 109.1°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CCCD78
RGBrgb(204, 205, 120)
HSLhsl(61, 46%, 64%)
HSVhsv(61, 41%, 80%)
CMYKcmyk(0.5%, 0%, 41.5%, 19.6%)
CIE-LABlab(80.66, -12.67, 42.11)
CIE-LCHlch(80.66, 43.98, 106.75°)
OKLaboklab(82.88% -0.0353 0.1019)
OKLCHoklch(82.88% 0.108 109.1)
XYZxyz(50.1241, 57.8571, 26.2927)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD78 #7978CD
analogous
#CDA378 #CCCD78 #A1CD78
triadic
#CCCD78 #78CCCD #CD78CC
tetradic
#CCCD78 #78CDA3 #7978CD #CD78A1
square
#CCCD78 #78CDA3 #7978CD #CD78A1
split-complementary
#CCCD78 #78A1CD #A378CD
monochromatic
#939437 #BBBC4B #CCCD78 #DDDEA5 #EEEED1

Accessibility & contrast

On white

1.67
#CCCD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#CCCD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD78
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD78#FFFFFF#000000##000000
##CCCD781.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C671
Deuteranopia (green-blind)
#DACA7C
Tritanopia (blue-blind)
#D7C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd78;
/* rgb */ color: rgb(204, 205, 120);
/* oklch */ color: oklch(82.9% 0.108 109.1);
Tailwind
colors: {
  custom: {
    50: '#dddca0',
    500: '#cccd78',
    950: '#000000',
  },
}
SCSS
$custom: #cccd78;
$custom-light: #dddca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd78",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 60.706,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82884,
    "c": 0.10783,
    "h": 109.1
  },
  "luminance": 0.57856
}

Semantic roles & 50–950 ramp

primary
#CCCD78
secondary
#504F9A
accent
#2CB92E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCD78

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

Preview Lab → · Contrast checker → · Palette generator →

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