#CCD378#CCD378

#CCD378 is a very light, moderate yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.115 H 112.4°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#CCD378
RGBrgb(204, 211, 120)
HSLhsl(65, 51%, 65%)
HSVhsv(65, 43%, 83%)
CMYKcmyk(3.3%, 0%, 43.1%, 17.3%)
CIE-LABlab(82.26, -15.69, 44.11)
CIE-LCHlch(82.26, 46.82, 109.58°)
OKLaboklab(84.16% -0.0439 0.1064)
OKLCHoklch(84.16% 0.115 112.4)
XYZxyz(51.5869, 60.7828, 26.7804)
Luminance0.6078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD378 #7F78D3
analogous
#D3AC78 #CCD378 #9FD378
triadic
#CCD378 #78CCD3 #D378CC
tetradic
#CCD378 #78D3AC #7F78D3 #D3789F
square
#CCD378 #78D3AC #7F78D3 #D3789F
split-complementary
#CCD378 #789FD3 #AC78D3
monochromatic
#959D33 #BBC44A #CCD378 #DDE2A6 #EFF1D4

Accessibility & contrast

On white

1.60
#CCD378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#CCD378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD378
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD378#FFFFFF#000000##000000
##CCD3781.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB71
Deuteranopia (green-blind)
#DFCE7C
Tritanopia (blue-blind)
#D6C9BD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd378;
/* rgb */ color: rgb(204, 211, 120);
/* oklch */ color: oklch(84.2% 0.115 112.4);
Tailwind
colors: {
  custom: {
    50: '#dde0a0',
    500: '#ccd378',
    950: '#000000',
  },
}
SCSS
$custom: #ccd378;
$custom-light: #dde0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd378",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 120
  },
  "hsl": {
    "h": 64.615,
    "s": 50.838,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8416,
    "c": 0.11508,
    "h": 112.4
  },
  "luminance": 0.60782
}

Semantic roles & 50–950 ramp

primary
#CCD378
secondary
#544DA2
accent
#27BE33
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD378

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

Preview Lab → · Contrast checker → · Palette generator →

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