#CECB97#CECB97

#CECB97 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.069 H 105.0°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CECB97
RGBrgb(206, 203, 151)
HSLhsl(57, 36%, 70%)
HSVhsv(57, 27%, 81%)
CMYKcmyk(0%, 1.5%, 26.7%, 19.2%)
CIE-LABlab(80.78, -7.17, 26.39)
CIE-LCHlch(80.78, 27.35, 105.20°)
OKLaboklab(83.18% -0.0178 0.0665)
OKLCHoklch(83.18% 0.069 105)
XYZxyz(52.3956, 58.0689, 37.7204)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB97 #979ACE
analogous
#CEAF97 #CECB97 #B6CE97
triadic
#CECB97 #97CECB #CB97CE
tetradic
#CECB97 #97CEAF #979ACE #CE97B6
square
#CECB97 #97CEAF #979ACE #CE97B6
split-complementary
#CECB97 #97B6CE #AF97CE
monochromatic
#9F9B4B #BAB66D #CECB97 #E2E0C1 #F5F5EA

Accessibility & contrast

On white

1.66
#CECB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#CECB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB97
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB97#FFFFFF#000000##000000
##CECB971.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C794
Deuteranopia (green-blind)
#D6CA99
Tritanopia (blue-blind)
#D6C4BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecb97;
/* rgb */ color: rgb(206, 203, 151);
/* oklch */ color: oklch(83.2% 0.069 105.0);
Tailwind
colors: {
  custom: {
    50: '#dddab6',
    500: '#cecb97',
    950: '#000000',
  },
}
SCSS
$custom: #cecb97;
$custom-light: #dddab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb97",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 151
  },
  "hsl": {
    "h": 56.727,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.83176,
    "c": 0.06881,
    "h": 105
  },
  "luminance": 0.58068
}

Semantic roles & 50–950 ramp

primary
#CECB97
secondary
#6669A3
accent
#3DAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CECB97

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

Preview Lab → · Contrast checker → · Palette generator →

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