#CECD8B#CECD8B

#CECD8B is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.086 H 107.4°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CECD8B
RGBrgb(206, 205, 139)
HSLhsl(59, 41%, 68%)
HSVhsv(59, 33%, 81%)
CMYKcmyk(0%, 0.5%, 32.5%, 19.2%)
CIE-LABlab(81.10, -9.73, 33.06)
CIE-LCHlch(81.10, 34.46, 106.40°)
OKLaboklab(83.36% -0.0257 0.082)
OKLCHoklch(83.36% 0.086 107.4)
XYZxyz(51.9455, 58.6495, 33.0051)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD8B #8B8CCE
analogous
#CEAB8B #CECD8B #AECE8B
triadic
#CECD8B #8BCECD #CD8BCE
tetradic
#CECD8B #8BCEAB #8B8CCE #CE8BAE
square
#CECD8B #8BCEAB #8B8CCE #CE8BAE
split-complementary
#CECD8B #8BAECE #AB8BCE
monochromatic
#9C9B42 #BCBA60 #CECD8B #E0E0B6 #F2F2E1

Accessibility & contrast

On white

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

On black

12.73
#CECD8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD8B
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD8B#FFFFFF#000000##000000
##CECD8B1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C886
Deuteranopia (green-blind)
#D9CB8E
Tritanopia (blue-blind)
#D7C5BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd8b;
/* rgb */ color: rgb(206, 205, 139);
/* oklch */ color: oklch(83.4% 0.086 107.4);
Tailwind
colors: {
  custom: {
    50: '#dedcad',
    500: '#cecd8b',
    950: '#000000',
  },
}
SCSS
$custom: #cecd8b;
$custom-light: #dedcad;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd8b",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 139
  },
  "hsl": {
    "h": 59.104,
    "s": 40.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83363,
    "c": 0.08589,
    "h": 107.4
  },
  "luminance": 0.58649
}

Semantic roles & 50–950 ramp

primary
#CECD8B
secondary
#5B5CA3
accent
#34B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CECD8B

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

Preview Lab → · Contrast checker → · Palette generator →

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