#CECD8E#CECD8E

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

Color values

HEX#CECD8E
RGBrgb(206, 205, 142)
HSLhsl(59, 40%, 68%)
HSVhsv(59, 31%, 81%)
CMYKcmyk(0%, 0.5%, 31.1%, 19.2%)
CIE-LABlab(81.15, -9.36, 31.58)
CIE-LCHlch(81.15, 32.94, 106.51°)
OKLaboklab(83.42% -0.0244 0.0786)
OKLCHoklch(83.42% 0.082 107.3)
XYZxyz(52.1677, 58.7384, 34.1754)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD8E #8E8FCE
analogous
#CEAD8E #CECD8E #AFCE8E
triadic
#CECD8E #8ECECD #CD8ECE
tetradic
#CECD8E #8ECEAD #8E8FCE #CE8EAF
square
#CECD8E #8ECEAD #8E8FCE #CE8EAF
split-complementary
#CECD8E #8EAFCE #AD8ECE
monochromatic
#9D9C44 #BBBA63 #CECD8E #E1E0B9 #F3F3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECD8E#FFFFFF#000000##000000
##CECD8E1.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)
#D7C88A
Deuteranopia (green-blind)
#D9CB90
Tritanopia (blue-blind)
#D7C5BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cecd8e;
/* rgb */ color: rgb(206, 205, 142);
/* oklch */ color: oklch(83.4% 0.082 107.3);
Tailwind
colors: {
  custom: {
    50: '#dedcaf',
    500: '#cecd8e',
    950: '#000000',
  },
}
SCSS
$custom: #cecd8e;
$custom-light: #dedcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd8e",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 142
  },
  "hsl": {
    "h": 59.063,
    "s": 39.506,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83418,
    "c": 0.08229,
    "h": 107.3
  },
  "luminance": 0.58737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CECD8E

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

Preview Lab → · Contrast checker → · Palette generator →

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