#CECB78#CECB78

#CECB78 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.105 H 106.7°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#CECB78
RGBrgb(206, 203, 120)
HSLhsl(58, 47%, 64%)
HSVhsv(58, 42%, 81%)
CMYKcmyk(0%, 1.5%, 41.7%, 19.2%)
CIE-LABlab(80.29, -10.86, 41.68)
CIE-LCHlch(80.29, 43.07, 104.61°)
OKLaboklab(82.63% -0.0302 0.1009)
OKLCHoklch(82.63% 0.105 106.7)
XYZxyz(50.2006, 57.1909, 26.1602)
Luminance0.5719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB78 #787BCE
analogous
#CEA078 #CECB78 #A6CE78
triadic
#CECB78 #78CECB #CB78CE
tetradic
#CECB78 #78CEA0 #787BCE #CE78A6
square
#CECB78 #78CEA0 #787BCE #CE78A6
split-complementary
#CECB78 #78A6CE #A078CE
monochromatic
#959236 #BEBA4B #CECB78 #DEDCA5 #EFEED2

Accessibility & contrast

On white

1.69
#CECB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#CECB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB78
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB78#FFFFFF#000000##000000
##CECB781.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C571
Deuteranopia (green-blind)
#DAC97C
Tritanopia (blue-blind)
#D9C1B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecb78;
/* rgb */ color: rgb(206, 203, 120);
/* oklch */ color: oklch(82.6% 0.105 106.7);
Tailwind
colors: {
  custom: {
    50: '#dedaa0',
    500: '#cecb78',
    950: '#000000',
  },
}
SCSS
$custom: #cecb78;
$custom-light: #dedaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb78",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 120
  },
  "hsl": {
    "h": 57.907,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82627,
    "c": 0.10531,
    "h": 106.7
  },
  "luminance": 0.5719
}

Semantic roles & 50–950 ramp

primary
#CECB78
secondary
#4F519B
accent
#30BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CECB78

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

Preview Lab → · Contrast checker → · Palette generator →

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