#CECC97#CECC97

#CECC97 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.070 H 106.0°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CECC97
RGBrgb(206, 204, 151)
HSLhsl(58, 36%, 70%)
HSVhsv(58, 27%, 81%)
CMYKcmyk(0%, 1%, 26.7%, 19.2%)
CIE-LABlab(81.04, -7.68, 26.75)
CIE-LCHlch(81.04, 27.83, 106.03°)
OKLaboklab(83.38% -0.0193 0.0673)
OKLCHoklch(83.38% 0.07 106)
XYZxyz(52.6325, 58.5427, 37.7994)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC97 #9799CE
analogous
#CEB097 #CECC97 #B5CE97
triadic
#CECC97 #97CECC #CC97CE
tetradic
#CECC97 #97CEB0 #9799CE #CE97B5
square
#CECC97 #97CEB0 #9799CE #CE97B5
split-complementary
#CECC97 #97B5CE #B097CE
monochromatic
#9F9C4B #BAB86D #CECC97 #E2E0C1 #F5F5EA

Accessibility & contrast

On white

1.65
#CECC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CECC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC97
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC97#FFFFFF#000000##000000
##CECC971.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C894
Deuteranopia (green-blind)
#D6CA99
Tritanopia (blue-blind)
#D6C5BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecc97;
/* rgb */ color: rgb(206, 204, 151);
/* oklch */ color: oklch(83.4% 0.070 106.0);
Tailwind
colors: {
  custom: {
    50: '#dddbb6',
    500: '#cecc97',
    950: '#000000',
  },
}
SCSS
$custom: #cecc97;
$custom-light: #dddbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc97",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 151
  },
  "hsl": {
    "h": 57.818,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.83383,
    "c": 0.07003,
    "h": 106
  },
  "luminance": 0.58542
}

Semantic roles & 50–950 ramp

primary
#CECC97
secondary
#6668A3
accent
#3BAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CECC97

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

Preview Lab → · Contrast checker → · Palette generator →

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