#CEC378#CEC378

#CEC378 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.097 H 101.0°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CEC378
RGBrgb(206, 195, 120)
HSLhsl(52, 47%, 64%)
HSVhsv(52, 42%, 81%)
CMYKcmyk(0%, 5.3%, 41.7%, 19.2%)
CIE-LABlab(78.17, -6.76, 39.02)
CIE-LCHlch(78.17, 39.60, 99.83°)
OKLaboklab(80.95% -0.0184 0.0949)
OKLCHoklch(80.95% 0.097 101)
XYZxyz(48.3599, 53.5095, 25.5466)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC378 #7883CE
analogous
#CE9878 #CEC378 #AECE78
triadic
#CEC378 #78CEC3 #C378CE
tetradic
#CEC378 #78CE98 #7883CE #CE78AE
square
#CEC378 #78CE98 #7883CE #CE78AE
split-complementary
#CEC378 #78AECE #9878CE
monochromatic
#958936 #BEAF4B #CEC378 #DED7A5 #EFEBD2

Accessibility & contrast

On white

1.79
#CEC378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CEC378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC378
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC378#FFFFFF#000000##000000
##CEC3781.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec378;
/* rgb */ color: rgb(206, 195, 120);
/* oklch */ color: oklch(81.0% 0.097 101.0);
Tailwind
colors: {
  custom: {
    50: '#ded5a0',
    500: '#cec378',
    950: '#000000',
  },
}
SCSS
$custom: #cec378;
$custom-light: #ded5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cec378",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 120
  },
  "hsl": {
    "h": 52.326,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80951,
    "c": 0.09665,
    "h": 101
  },
  "luminance": 0.53508
}

Semantic roles & 50–950 ramp

primary
#CEC378
secondary
#4F599B
accent
#3EBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC378

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

Preview Lab → · Contrast checker → · Palette generator →

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