#CECD97#CECD97

#CECD97 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.071 H 107.0°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#CECD97
RGBrgb(206, 205, 151)
HSLhsl(59, 36%, 70%)
HSVhsv(59, 27%, 81%)
CMYKcmyk(0%, 0.5%, 26.7%, 19.2%)
CIE-LABlab(81.30, -8.20, 27.10)
CIE-LCHlch(81.30, 28.31, 106.83°)
OKLaboklab(83.59% -0.0208 0.0682)
OKLCHoklch(83.59% 0.071 107)
XYZxyz(52.8709, 59.0196, 37.8789)
Luminance0.5902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD97 #9798CE
analogous
#CEB197 #CECD97 #B4CE97
triadic
#CECD97 #97CECD #CD97CE
tetradic
#CECD97 #97CEB1 #9798CE #CE97B4
square
#CECD97 #97CEB1 #9798CE #CE97B4
split-complementary
#CECD97 #97B4CE #B197CE
monochromatic
#9F9E4B #BAB96D #CECD97 #E2E1C1 #F5F5EA

Accessibility & contrast

On white

1.64
#CECD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#CECD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD97
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD97#FFFFFF#000000##000000
##CECD971.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C993
Deuteranopia (green-blind)
#D7CB99
Tritanopia (blue-blind)
#D6C6BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cecd97;
/* rgb */ color: rgb(206, 205, 151);
/* oklch */ color: oklch(83.6% 0.071 107.0);
Tailwind
colors: {
  custom: {
    50: '#dddcb6',
    500: '#cecd97',
    950: '#000000',
  },
}
SCSS
$custom: #cecd97;
$custom-light: #dddcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd97",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 58.909,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.83592,
    "c": 0.07126,
    "h": 107
  },
  "luminance": 0.59019
}

Semantic roles & 50–950 ramp

primary
#CECD97
secondary
#6667A3
accent
#39AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CECD97

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

Preview Lab → · Contrast checker → · Palette generator →

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