#CECD78#CECD78

#CECD78 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.108 H 107.9°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CECD78
RGBrgb(206, 205, 120)
HSLhsl(59, 47%, 64%)
HSVhsv(59, 42%, 81%)
CMYKcmyk(0%, 0.5%, 41.7%, 19.2%)
CIE-LABlab(80.82, -11.88, 42.34)
CIE-LCHlch(80.82, 43.98, 105.67°)
OKLaboklab(83.05% -0.0331 0.1024)
OKLCHoklch(83.05% 0.108 107.9)
XYZxyz(50.6759, 58.1416, 26.3186)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD78 #7879CE
analogous
#CEA278 #CECD78 #A4CE78
triadic
#CECD78 #78CECD #CD78CE
tetradic
#CECD78 #78CEA2 #7879CE #CE78A4
square
#CECD78 #78CEA2 #7879CE #CE78A4
split-complementary
#CECD78 #78A4CE #A278CE
monochromatic
#959436 #BEBC4B #CECD78 #DEDEA5 #EFEED2

Accessibility & contrast

On white

1.66
#CECD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CECD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD78
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD78#FFFFFF#000000##000000
##CECD781.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#DBCA7C
Tritanopia (blue-blind)
#D9C3B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd78;
/* rgb */ color: rgb(206, 205, 120);
/* oklch */ color: oklch(83.0% 0.108 107.9);
Tailwind
colors: {
  custom: {
    50: '#dedca0',
    500: '#cecd78',
    950: '#000000',
  },
}
SCSS
$custom: #cecd78;
$custom-light: #dedca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd78",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 59.302,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83048,
    "c": 0.10761,
    "h": 107.9
  },
  "luminance": 0.58141
}

Semantic roles & 50–950 ramp

primary
#CECD78
secondary
#4F509B
accent
#2DBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CECD78

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

Preview Lab → · Contrast checker → · Palette generator →

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