#CECD8A#CECD8A

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

Color values

HEX#CECD8A
RGBrgb(206, 205, 138)
HSLhsl(59, 41%, 67%)
HSVhsv(59, 33%, 81%)
CMYKcmyk(0%, 0.5%, 33%, 19.2%)
CIE-LABlab(81.08, -9.85, 33.56)
CIE-LCHlch(81.08, 34.97, 106.37°)
OKLaboklab(83.35% -0.0261 0.0831)
OKLCHoklch(83.35% 0.087 107.4)
XYZxyz(51.8728, 58.6204, 32.6221)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD8A #8A8BCE
analogous
#CEAB8A #CECD8A #ADCE8A
triadic
#CECD8A #8ACECD #CD8ACE
tetradic
#CECD8A #8ACEAB #8A8BCE #CE8AAD
square
#CECD8A #8ACEAB #8A8BCE #CE8AAD
split-complementary
#CECD8A #8AADCE #AB8ACE
monochromatic
#9C9B41 #BCBB5F #CECD8A #E0DFB5 #F2F2E0

Accessibility & contrast

On white

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

On black

12.72
#CECD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD8A
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD8A#FFFFFF#000000##000000
##CECD8A1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecd8a;
/* rgb */ color: rgb(206, 205, 138);
/* oklch */ color: oklch(83.3% 0.087 107.4);
Tailwind
colors: {
  custom: {
    50: '#dedcad',
    500: '#cecd8a',
    950: '#000000',
  },
}
SCSS
$custom: #cecd8a;
$custom-light: #dedcad;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd8a",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 59.118,
    "s": 40.964,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83345,
    "c": 0.08707,
    "h": 107.4
  },
  "luminance": 0.58619
}

Semantic roles & 50–950 ramp

primary
#CECD8A
secondary
#5A5BA2
accent
#33B431
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CECD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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