#CEC356#CEC356

#CEC356 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#CEC356
RGBrgb(206, 195, 86)
HSLhsl(55, 55%, 57%)
HSVhsv(55, 58%, 81%)
CMYKcmyk(0%, 5.3%, 58.3%, 19.2%)
CIE-LABlab(77.77, -9.79, 54.96)
CIE-LCHlch(77.77, 55.82, 100.10°)
OKLaboklab(80.5% -0.0306 0.1269)
OKLCHoklch(80.5% 0.131 103.6)
XYZxyz(46.6500, 52.8256, 16.5413)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC356 #5661CE
analogous
#CE8756 #CEC356 #9DCE56
triadic
#CEC356 #56CEC3 #C356CE
tetradic
#CEC356 #56CE87 #5661CE #CE569D
square
#CEC356 #56CE87 #5661CE #CE569D
split-complementary
#CEC356 #569DCE #8756CE
monochromatic
#837B26 #B3A734 #CEC356 #DCD485 #EAE5B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC356#FFFFFF#000000##000000
##CEC3561.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)
#D3BD4A
Deuteranopia (green-blind)
#D6C35C
Tritanopia (blue-blind)
#DCB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec356;
/* rgb */ color: rgb(206, 195, 86);
/* oklch */ color: oklch(80.5% 0.131 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d489',
    500: '#cec356',
    950: '#000000',
  },
}
SCSS
$custom: #cec356;
$custom-light: #e0d489;
$custom-dark: #000000;
JSON
{
  "hex": "#cec356",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 86
  },
  "hsl": {
    "h": 54.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80501,
    "c": 0.13057,
    "h": 103.6
  },
  "luminance": 0.52824
}

Semantic roles & 50–950 ramp

primary
#CEC356
secondary
#3E458B
accent
#57DE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC356

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

Preview Lab → · Contrast checker → · Palette generator →

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