#CECD99#CECD99

#CECD99 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.069 H 106.9°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CECD99
RGBrgb(206, 205, 153)
HSLhsl(59, 35%, 70%)
HSVhsv(59, 26%, 81%)
CMYKcmyk(0%, 0.5%, 25.7%, 19.2%)
CIE-LABlab(81.34, -7.93, 26.10)
CIE-LCHlch(81.34, 27.28, 106.90°)
OKLaboklab(83.63% -0.02 0.0658)
OKLCHoklch(83.63% 0.069 106.9)
XYZxyz(53.0347, 59.0851, 38.7416)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD99 #999ACE
analogous
#CEB299 #CECD99 #B4CE99
triadic
#CECD99 #99CECD #CD99CE
tetradic
#CECD99 #99CEB2 #999ACE #CE99B4
square
#CECD99 #99CEB2 #999ACE #CE99B4
split-complementary
#CECD99 #99B4CE #B299CE
monochromatic
#A09E4D #BAB970 #CECD99 #E2E1C2 #F5F5EA

Accessibility & contrast

On white

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

On black

12.82
#CECD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD99
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD99#FFFFFF#000000##000000
##CECD991.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecd99;
/* rgb */ color: rgb(206, 205, 153);
/* oklch */ color: oklch(83.6% 0.069 106.9);
Tailwind
colors: {
  custom: {
    50: '#dddcb7',
    500: '#cecd99',
    950: '#000000',
  },
}
SCSS
$custom: #cecd99;
$custom-light: #dddcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd99",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 58.868,
    "s": 35.099,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83632,
    "c": 0.06876,
    "h": 106.9
  },
  "luminance": 0.59084
}

Semantic roles & 50–950 ramp

primary
#CECD99
secondary
#6869A3
accent
#3AAE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CECD99

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

Preview Lab → · Contrast checker → · Palette generator →

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