#CECC78#CECC78

#CECC78 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.106 H 107.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CECC78
RGBrgb(206, 204, 120)
HSLhsl(59, 47%, 64%)
HSVhsv(59, 42%, 81%)
CMYKcmyk(0%, 1%, 41.7%, 19.2%)
CIE-LABlab(80.55, -11.37, 42.01)
CIE-LCHlch(80.55, 43.52, 105.15°)
OKLaboklab(82.84% -0.0317 0.1016)
OKLCHoklch(82.84% 0.106 107.3)
XYZxyz(50.4375, 57.6648, 26.2391)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC78 #787ACE
analogous
#CEA178 #CECC78 #A5CE78
triadic
#CECC78 #78CECC #CC78CE
tetradic
#CECC78 #78CEA1 #787ACE #CE78A5
square
#CECC78 #78CEA1 #787ACE #CE78A5
split-complementary
#CECC78 #78A5CE #A178CE
monochromatic
#959336 #BEBB4B #CECC78 #DEDDA5 #EFEED2

Accessibility & contrast

On white

1.68
#CECC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#CECC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC78
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC78#FFFFFF#000000##000000
##CECC781.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecc78;
/* rgb */ color: rgb(206, 204, 120);
/* oklch */ color: oklch(82.8% 0.106 107.3);
Tailwind
colors: {
  custom: {
    50: '#dedba0',
    500: '#cecc78',
    950: '#000000',
  },
}
SCSS
$custom: #cecc78;
$custom-light: #dedba0;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc78",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 120
  },
  "hsl": {
    "h": 58.605,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82837,
    "c": 0.10646,
    "h": 107.3
  },
  "luminance": 0.57664
}

Semantic roles & 50–950 ramp

primary
#CECC78
secondary
#4F519B
accent
#2FBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CECC78

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

Preview Lab → · Contrast checker → · Palette generator →

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