#CEC355#CEC355

#CEC355 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.131 H 103.6°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CEC355
RGBrgb(206, 195, 85)
HSLhsl(55, 55%, 57%)
HSVhsv(55, 59%, 81%)
CMYKcmyk(0%, 5.3%, 58.7%, 19.2%)
CIE-LABlab(77.76, -9.86, 55.40)
CIE-LCHlch(77.76, 56.27, 100.09°)
OKLaboklab(80.49% -0.0309 0.1277)
OKLCHoklch(80.49% 0.131 103.6)
XYZxyz(46.6100, 52.8096, 16.3306)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC355 #5560CE
analogous
#CE8655 #CEC355 #9DCE55
triadic
#CEC355 #55CEC3 #C355CE
tetradic
#CEC355 #55CE86 #5560CE #CE559D
square
#CEC355 #55CE86 #5560CE #CE559D
split-complementary
#CEC355 #559DCE #8655CE
monochromatic
#837A26 #B2A733 #CEC355 #DCD485 #E9E5B4

Accessibility & contrast

On white

1.82
#CEC355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CEC355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC355
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC355#FFFFFF#000000##000000
##CEC3551.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD49
Deuteranopia (green-blind)
#D6C35B
Tritanopia (blue-blind)
#DCB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec355;
/* rgb */ color: rgb(206, 195, 85);
/* oklch */ color: oklch(80.5% 0.131 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d489',
    500: '#cec355',
    950: '#000000',
  },
}
SCSS
$custom: #cec355;
$custom-light: #e0d489;
$custom-dark: #000000;
JSON
{
  "hex": "#cec355",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 85
  },
  "hsl": {
    "h": 54.545,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8049,
    "c": 0.13143,
    "h": 103.6
  },
  "luminance": 0.52808
}

Semantic roles & 50–950 ramp

primary
#CEC355
secondary
#3D448A
accent
#57DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC355

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

Preview Lab → · Contrast checker → · Palette generator →

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