#CECD8F#CECD8F

#CECD8F is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.081 H 107.3°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#CECD8F
RGBrgb(206, 205, 143)
HSLhsl(59, 39%, 68%)
HSVhsv(59, 31%, 81%)
CMYKcmyk(0%, 0.5%, 30.6%, 19.2%)
CIE-LABlab(81.16, -9.24, 31.08)
CIE-LCHlch(81.16, 32.42, 106.55°)
OKLaboklab(83.44% -0.024 0.0774)
OKLCHoklch(83.44% 0.081 107.3)
XYZxyz(52.2432, 58.7685, 34.5726)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD8F #8F90CE
analogous
#CEAD8F #CECD8F #AFCE8F
triadic
#CECD8F #8FCECD #CD8FCE
tetradic
#CECD8F #8FCEAD #8F90CE #CE8FAF
square
#CECD8F #8FCEAD #8F90CE #CE8FAF
split-complementary
#CECD8F #8FAFCE #AD8FCE
monochromatic
#9E9C45 #BBBA64 #CECD8F #E1E0BA #F3F3E4

Accessibility & contrast

On white

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

On black

12.75
#CECD8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD8F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD8F#FFFFFF#000000##000000
##CECD8F1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88B
Deuteranopia (green-blind)
#D8CB91
Tritanopia (blue-blind)
#D7C5BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cecd8f;
/* rgb */ color: rgb(206, 205, 143);
/* oklch */ color: oklch(83.4% 0.081 107.3);
Tailwind
colors: {
  custom: {
    50: '#dddcb0',
    500: '#cecd8f',
    950: '#000000',
  },
}
SCSS
$custom: #cecd8f;
$custom-light: #dddcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd8f",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 143
  },
  "hsl": {
    "h": 59.048,
    "s": 39.13,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83437,
    "c": 0.08108,
    "h": 107.3
  },
  "luminance": 0.58768
}

Semantic roles & 50–950 ramp

primary
#CECD8F
secondary
#5E5FA3
accent
#35B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CECD8F

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

Preview Lab → · Contrast checker → · Palette generator →

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