#CECB56#CECB56

#CECB56 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.139 H 107.7°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CECB56
RGBrgb(206, 203, 86)
HSLhsl(59, 55%, 57%)
HSVhsv(59, 58%, 81%)
CMYKcmyk(0%, 1.5%, 58.3%, 19.2%)
CIE-LABlab(79.90, -13.84, 57.33)
CIE-LCHlch(79.90, 58.97, 103.58°)
OKLaboklab(82.2% -0.0422 0.132)
OKLCHoklch(82.2% 0.139 107.7)
XYZxyz(48.4907, 56.5070, 17.1549)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB56 #5659CE
analogous
#CE8F56 #CECB56 #95CE56
triadic
#CECB56 #56CECB #CB56CE
tetradic
#CECB56 #56CE8F #5659CE #CE5695
square
#CECB56 #56CE8F #5659CE #CE5695
split-complementary
#CECB56 #5695CE #8F56CE
monochromatic
#838126 #B3B034 #CECB56 #DCDA85 #EAE8B5

Accessibility & contrast

On white

1.71
#CECB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CECB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB56
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB56#FFFFFF#000000##000000
##CECB561.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC449
Deuteranopia (green-blind)
#DDC85D
Tritanopia (blue-blind)
#DCBFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb56;
/* rgb */ color: rgb(206, 203, 86);
/* oklch */ color: oklch(82.2% 0.139 107.7);
Tailwind
colors: {
  custom: {
    50: '#e0da8a',
    500: '#cecb56',
    950: '#000000',
  },
}
SCSS
$custom: #cecb56;
$custom-light: #e0da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb56",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 58.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82195,
    "c": 0.13855,
    "h": 107.7
  },
  "luminance": 0.56506
}

Semantic roles & 50–950 ramp

primary
#CECB56
secondary
#3E3F8B
accent
#4DDE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CECB56

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

Preview Lab → · Contrast checker → · Palette generator →

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