#CECD7E#CECD7E

#CECD7E is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.101 H 107.8°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CECD7E
RGBrgb(206, 205, 126)
HSLhsl(59, 45%, 65%)
HSVhsv(59, 39%, 81%)
CMYKcmyk(0%, 0.5%, 38.8%, 19.2%)
CIE-LABlab(80.90, -11.24, 39.44)
CIE-LCHlch(80.90, 41.01, 105.91°)
OKLaboklab(83.14% -0.0308 0.0961)
OKLCHoklch(83.14% 0.101 107.8)
XYZxyz(51.0515, 58.2919, 28.2968)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD7E #7E7FCE
analogous
#CEA57E #CECD7E #A7CE7E
triadic
#CECD7E #7ECECD #CD7ECE
tetradic
#CECD7E #7ECEA5 #7E7FCE #CE7EA7
square
#CECD7E #7ECEA5 #7E7FCE #CE7EA7
split-complementary
#CECD7E #7EA7CE #A57ECE
monochromatic
#98973A #BDBC52 #CECD7E #DFDEAA #F0EFD7

Accessibility & contrast

On white

1.66
#CECD7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CECD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD7E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD7E#FFFFFF#000000##000000
##CECD7E1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C778
Deuteranopia (green-blind)
#DACA81
Tritanopia (blue-blind)
#D9C4BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd7e;
/* rgb */ color: rgb(206, 205, 126);
/* oklch */ color: oklch(83.1% 0.101 107.8);
Tailwind
colors: {
  custom: {
    50: '#dedca4',
    500: '#cecd7e',
    950: '#000000',
  },
}
SCSS
$custom: #cecd7e;
$custom-light: #dedca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd7e",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 59.25,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83142,
    "c": 0.10096,
    "h": 107.8
  },
  "luminance": 0.58291
}

Semantic roles & 50–950 ramp

primary
#CECD7E
secondary
#52539E
accent
#2FB82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CECD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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