#CECD87#CECD87

#CECD87 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.091 H 107.5°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CECD87
RGBrgb(206, 205, 135)
HSLhsl(59, 42%, 67%)
HSVhsv(59, 34%, 81%)
CMYKcmyk(0%, 0.5%, 34.5%, 19.2%)
CIE-LABlab(81.04, -10.21, 35.03)
CIE-LCHlch(81.04, 36.49, 106.25°)
OKLaboklab(83.29% -0.0273 0.0864)
OKLCHoklch(83.29% 0.091 107.5)
XYZxyz(51.6586, 58.5347, 31.4940)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD87 #8788CE
analogous
#CEAA87 #CECD87 #ACCE87
triadic
#CECD87 #87CECD #CD87CE
tetradic
#CECD87 #87CEAA #8788CE #CE87AC
square
#CECD87 #87CEAA #8788CE #CE87AC
split-complementary
#CECD87 #87ACCE #AA87CE
monochromatic
#9B9A3F #BCBB5C #CECD87 #E0DFB2 #F1F1DE

Accessibility & contrast

On white

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

On black

12.71
#CECD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD87
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD87#FFFFFF#000000##000000
##CECD871.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C882
Deuteranopia (green-blind)
#D9CB8A
Tritanopia (blue-blind)
#D8C5BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd87;
/* rgb */ color: rgb(206, 205, 135);
/* oklch */ color: oklch(83.3% 0.091 107.5);
Tailwind
colors: {
  custom: {
    50: '#dedcaa',
    500: '#cecd87',
    950: '#000000',
  },
}
SCSS
$custom: #cecd87;
$custom-light: #dedcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd87",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 59.155,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83292,
    "c": 0.09062,
    "h": 107.5
  },
  "luminance": 0.58534
}

Semantic roles & 50–950 ramp

primary
#CECD87
secondary
#5859A1
accent
#32B530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CECD87

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

Preview Lab → · Contrast checker → · Palette generator →

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