#CEC156#CEC156

#CEC156 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.129 H 102.4°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CEC156
RGBrgb(206, 193, 86)
HSLhsl(54, 55%, 57%)
HSVhsv(54, 58%, 81%)
CMYKcmyk(0%, 6.3%, 58.3%, 19.2%)
CIE-LABlab(77.24, -8.76, 54.37)
CIE-LCHlch(77.24, 55.07, 99.15°)
OKLaboklab(80.08% -0.0277 0.1257)
OKLCHoklch(80.08% 0.129 102.4)
XYZxyz(46.2049, 51.9353, 16.3930)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC156 #5663CE
analogous
#CE8556 #CEC156 #9FCE56
triadic
#CEC156 #56CEC1 #C156CE
tetradic
#CEC156 #56CE85 #5663CE #CE569F
square
#CEC156 #56CE85 #5663CE #CE569F
split-complementary
#CEC156 #569FCE #8556CE
monochromatic
#837926 #B3A534 #CEC156 #DCD285 #EAE4B5

Accessibility & contrast

On white

1.84
#CEC156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CEC156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC156
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC156#FFFFFF#000000##000000
##CEC1561.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB4B
Deuteranopia (green-blind)
#D5C15B
Tritanopia (blue-blind)
#DCB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec156;
/* rgb */ color: rgb(206, 193, 86);
/* oklch */ color: oklch(80.1% 0.129 102.4);
Tailwind
colors: {
  custom: {
    50: '#e0d389',
    500: '#cec156',
    950: '#000000',
  },
}
SCSS
$custom: #cec156;
$custom-light: #e0d389;
$custom-dark: #000000;
JSON
{
  "hex": "#cec156",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 53.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8008,
    "c": 0.12867,
    "h": 102.4
  },
  "luminance": 0.51934
}

Semantic roles & 50–950 ramp

primary
#CEC156
secondary
#3E468B
accent
#5ADE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC156

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

Preview Lab → · Contrast checker → · Palette generator →

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