#CECB8D#CECB8D

#CECB8D is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.081 H 105.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CECB8D
RGBrgb(206, 203, 141)
HSLhsl(57, 40%, 68%)
HSVhsv(57, 32%, 81%)
CMYKcmyk(0%, 1.5%, 31.6%, 19.2%)
CIE-LABlab(80.60, -8.46, 31.37)
CIE-LCHlch(80.60, 32.50, 105.09°)
OKLaboklab(82.98% -0.0219 0.0781)
OKLCHoklch(82.98% 0.081 105.7)
XYZxyz(51.6176, 57.7577, 33.6234)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB8D #8D90CE
analogous
#CEAA8D #CECB8D #B0CE8D
triadic
#CECB8D #8DCECB #CB8DCE
tetradic
#CECB8D #8DCEAA #8D90CE #CE8DB0
square
#CECB8D #8DCEAA #8D90CE #CE8DB0
split-complementary
#CECB8D #8DB0CE #AA8DCE
monochromatic
#9D9944 #BCB762 #CECB8D #E0DFB8 #F3F2E3

Accessibility & contrast

On white

1.67
#CECB8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CECB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB8D
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB8D#FFFFFF#000000##000000
##CECB8D1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C689
Deuteranopia (green-blind)
#D7C98F
Tritanopia (blue-blind)
#D7C3BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecb8d;
/* rgb */ color: rgb(206, 203, 141);
/* oklch */ color: oklch(83.0% 0.081 105.7);
Tailwind
colors: {
  custom: {
    50: '#dedaaf',
    500: '#cecb8d',
    950: '#000000',
  },
}
SCSS
$custom: #cecb8d;
$custom-light: #dedaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb8d",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 141
  },
  "hsl": {
    "h": 57.231,
    "s": 39.877,
    "l": 68.039
  },
  "oklch": {
    "l": 0.82982,
    "c": 0.08109,
    "h": 105.7
  },
  "luminance": 0.57757
}

Semantic roles & 50–950 ramp

primary
#CECB8D
secondary
#5C5FA3
accent
#39B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CECB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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