#CEC960#CEC960

#CEC960 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.128 H 106.4°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CEC960
RGBrgb(206, 201, 96)
HSLhsl(57, 53%, 59%)
HSVhsv(57, 53%, 81%)
CMYKcmyk(0%, 2.4%, 53.4%, 19.2%)
CIE-LABlab(79.47, -12.07, 52.31)
CIE-LCHlch(79.47, 53.68, 103.00°)
OKLaboklab(81.88% -0.036 0.1224)
OKLCHoklch(81.88% 0.128 106.4)
XYZxyz(48.4529, 55.7410, 19.2708)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC960 #6065CE
analogous
#CE9260 #CEC960 #9CCE60
triadic
#CEC960 #60CEC9 #C960CE
tetradic
#CEC960 #60CE92 #6065CE #CE609C
square
#CEC960 #60CE92 #6065CE #CE609C
split-complementary
#CEC960 #609CCE #9260CE
monochromatic
#89852A #B8B239 #CEC960 #DCD98F #EBE9BE

Accessibility & contrast

On white

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

On black

12.15
#CEC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC960
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC960#FFFFFF#000000##000000
##CEC9601.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C256
Deuteranopia (green-blind)
#DAC765
Tritanopia (blue-blind)
#DBBEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cec960;
/* rgb */ color: rgb(206, 201, 96);
/* oklch */ color: oklch(81.9% 0.128 106.4);
Tailwind
colors: {
  custom: {
    50: '#dfd990',
    500: '#cec960',
    950: '#000000',
  },
}
SCSS
$custom: #cec960;
$custom-light: #dfd990;
$custom-dark: #000000;
JSON
{
  "hex": "#cec960",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 57.273,
    "s": 52.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8188,
    "c": 0.12757,
    "h": 106.4
  },
  "luminance": 0.5574
}

Semantic roles & 50–950 ramp

primary
#CEC960
secondary
#424690
accent
#52DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC960

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

Preview Lab → · Contrast checker → · Palette generator →

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