#CEC780#CEC780

#CEC780 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.092 H 103.4°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CEC780
RGBrgb(206, 199, 128)
HSLhsl(55, 44%, 65%)
HSVhsv(55, 38%, 81%)
CMYKcmyk(0%, 3.4%, 37.9%, 19.2%)
CIE-LABlab(79.34, -7.95, 36.43)
CIE-LCHlch(79.34, 37.29, 102.31°)
OKLaboklab(81.92% -0.0212 0.0894)
OKLCHoklch(81.92% 0.092 103.4)
XYZxyz(49.7741, 55.5284, 28.5140)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC780 #8087CE
analogous
#CEA080 #CEC780 #AECE80
triadic
#CEC780 #80CEC7 #C780CE
tetradic
#CEC780 #80CEA0 #8087CE #CE80AE
square
#CEC780 #80CEA0 #8087CE #CE80AE
split-complementary
#CEC780 #80AECE #A080CE
monochromatic
#99903B #BDB454 #CEC780 #DFDAAC #F0EED8

Accessibility & contrast

On white

1.73
#CEC780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CEC780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC780
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC780#FFFFFF#000000##000000
##CEC7801.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27B
Deuteranopia (green-blind)
#D6C683
Tritanopia (blue-blind)
#D9BEB5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cec780;
/* rgb */ color: rgb(206, 199, 128);
/* oklch */ color: oklch(81.9% 0.092 103.4);
Tailwind
colors: {
  custom: {
    50: '#ded7a5',
    500: '#cec780',
    950: '#000000',
  },
}
SCSS
$custom: #cec780;
$custom-light: #ded7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cec780",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 128
  },
  "hsl": {
    "h": 54.615,
    "s": 44.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81916,
    "c": 0.09185,
    "h": 103.4
  },
  "luminance": 0.55527
}

Semantic roles & 50–950 ramp

primary
#CEC780
secondary
#545A9F
accent
#3AB72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC780

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

Preview Lab → · Contrast checker → · Palette generator →

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