#CECD96#CECD96

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

Color values

HEX#CECD96
RGBrgb(206, 205, 150)
HSLhsl(59, 36%, 70%)
HSVhsv(59, 27%, 81%)
CMYKcmyk(0%, 0.5%, 27.2%, 19.2%)
CIE-LABlab(81.28, -8.33, 27.60)
CIE-LCHlch(81.28, 28.83, 106.80°)
OKLaboklab(83.57% -0.0212 0.0693)
OKLCHoklch(83.57% 0.073 107)
XYZxyz(52.7901, 58.9873, 37.4530)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD96 #9697CE
analogous
#CEB196 #CECD96 #B3CE96
triadic
#CECD96 #96CECD #CD96CE
tetradic
#CECD96 #96CEB1 #9697CE #CE96B3
square
#CECD96 #96CEB1 #9697CE #CE96B3
split-complementary
#CECD96 #96B3CE #B196CE
monochromatic
#9F9E4A #BBB96C #CECD96 #E1E1C0 #F5F5E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECD96#FFFFFF#000000##000000
##CECD961.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)
#D6C992
Deuteranopia (green-blind)
#D7CB98
Tritanopia (blue-blind)
#D6C6BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cecd96;
/* rgb */ color: rgb(206, 205, 150);
/* oklch */ color: oklch(83.6% 0.072 107.0);
Tailwind
colors: {
  custom: {
    50: '#dddcb5',
    500: '#cecd96',
    950: '#000000',
  },
}
SCSS
$custom: #cecd96;
$custom-light: #dddcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd96",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 150
  },
  "hsl": {
    "h": 58.929,
    "s": 36.364,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83572,
    "c": 0.0725,
    "h": 107
  },
  "luminance": 0.58986
}

Semantic roles & 50–950 ramp

primary
#CECD96
secondary
#6566A3
accent
#38AF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CECD96

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

Preview Lab → · Contrast checker → · Palette generator →

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