#CEC560#CEC560

#CEC560 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.123 H 104.2°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CEC560
RGBrgb(206, 197, 96)
HSLhsl(55, 53%, 59%)
HSVhsv(55, 53%, 81%)
CMYKcmyk(0%, 4.4%, 53.4%, 19.2%)
CIE-LABlab(78.40, -10.04, 51.07)
CIE-LCHlch(78.40, 52.05, 101.12°)
OKLaboklab(81.04% -0.0302 0.1197)
OKLCHoklch(81.04% 0.123 104.2)
XYZxyz(47.5326, 53.9004, 18.9640)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC560 #6069CE
analogous
#CE8E60 #CEC560 #A0CE60
triadic
#CEC560 #60CEC5 #C560CE
tetradic
#CEC560 #60CE8E #6069CE #CE60A0
square
#CEC560 #60CE8E #6069CE #CE60A0
split-complementary
#CEC560 #60A0CE #8E60CE
monochromatic
#89822A #B8AE39 #CEC560 #DCD68F #EBE7BE

Accessibility & contrast

On white

1.78
#CEC560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CEC560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC560
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC560#FFFFFF#000000##000000
##CEC5601.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#DBBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec560;
/* rgb */ color: rgb(206, 197, 96);
/* oklch */ color: oklch(81.0% 0.123 104.2);
Tailwind
colors: {
  custom: {
    50: '#dfd690',
    500: '#cec560',
    950: '#000000',
  },
}
SCSS
$custom: #cec560;
$custom-light: #dfd690;
$custom-dark: #000000;
JSON
{
  "hex": "#cec560",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 96
  },
  "hsl": {
    "h": 55.091,
    "s": 52.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81035,
    "c": 0.12347,
    "h": 104.2
  },
  "luminance": 0.53899
}

Semantic roles & 50–950 ramp

primary
#CEC560
secondary
#424990
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC560

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

Preview Lab → · Contrast checker → · Palette generator →

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