#CECD79#CECD79

#CECD79 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.107 H 107.9°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CECD79
RGBrgb(206, 205, 121)
HSLhsl(59, 46%, 64%)
HSVhsv(59, 41%, 81%)
CMYKcmyk(0%, 0.5%, 41.3%, 19.2%)
CIE-LABlab(80.83, -11.77, 41.86)
CIE-LCHlch(80.83, 43.48, 105.71°)
OKLaboklab(83.06% -0.0328 0.1014)
OKLCHoklch(83.06% 0.107 107.9)
XYZxyz(50.7369, 58.1660, 26.6399)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD79 #797ACE
analogous
#CEA379 #CECD79 #A5CE79
triadic
#CECD79 #79CECD #CD79CE
tetradic
#CECD79 #79CEA3 #797ACE #CE79A5
square
#CECD79 #79CEA3 #797ACE #CE79A5
split-complementary
#CECD79 #79A5CE #A379CE
monochromatic
#969537 #BEBC4C #CECD79 #DEDEA6 #EFEED3

Accessibility & contrast

On white

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

On black

12.63
#CECD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD79
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD79#FFFFFF#000000##000000
##CECD791.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C772
Deuteranopia (green-blind)
#DBCA7D
Tritanopia (blue-blind)
#D9C3B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cecd79;
/* rgb */ color: rgb(206, 205, 121);
/* oklch */ color: oklch(83.1% 0.107 107.9);
Tailwind
colors: {
  custom: {
    50: '#dedca1',
    500: '#cecd79',
    950: '#000000',
  },
}
SCSS
$custom: #cecd79;
$custom-light: #dedca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd79",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 59.294,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83064,
    "c": 0.10652,
    "h": 107.9
  },
  "luminance": 0.58165
}

Semantic roles & 50–950 ramp

primary
#CECD79
secondary
#4F509C
accent
#2DBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CECD79

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

Preview Lab → · Contrast checker → · Palette generator →

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