#CCC378#CCC378

#CCC378 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.097 H 102.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CCC378
RGBrgb(204, 195, 120)
HSLhsl(54, 45%, 64%)
HSVhsv(54, 41%, 80%)
CMYKcmyk(0%, 4.4%, 41.2%, 20%)
CIE-LABlab(78.01, -7.56, 38.77)
CIE-LCHlch(78.01, 39.50, 101.04°)
OKLaboklab(80.78% -0.0207 0.0943)
OKLCHoklch(80.78% 0.097 102.4)
XYZxyz(47.8080, 53.2250, 25.5207)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC378 #7881CC
analogous
#CC9978 #CCC378 #ABCC78
triadic
#CCC378 #78CCC3 #C378CC
tetradic
#CCC378 #78CC99 #7881CC #CC78AB
square
#CCC378 #78CC99 #7881CC #CC78AB
split-complementary
#CCC378 #78ABCC #9978CC
monochromatic
#928937 #BBAF4C #CCC378 #DDD7A4 #EEEAD1

Accessibility & contrast

On white

1.80
#CCC378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CCC378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC378
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC378#FFFFFF#000000##000000
##CCC3781.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE72
Deuteranopia (green-blind)
#D3C37B
Tritanopia (blue-blind)
#D7BAB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc378;
/* rgb */ color: rgb(204, 195, 120);
/* oklch */ color: oklch(80.8% 0.097 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddd5a0',
    500: '#ccc378',
    950: '#000000',
  },
}
SCSS
$custom: #ccc378;
$custom-light: #ddd5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc378",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 120
  },
  "hsl": {
    "h": 53.571,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80778,
    "c": 0.09657,
    "h": 102.4
  },
  "luminance": 0.53224
}

Semantic roles & 50–950 ramp

primary
#CCC378
secondary
#4F5799
accent
#3CB82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC378

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

Preview Lab → · Contrast checker → · Palette generator →

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