#CECC79#CECC79

#CECC79 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.105 H 107.3°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CECC79
RGBrgb(206, 204, 121)
HSLhsl(59, 46%, 64%)
HSVhsv(59, 41%, 81%)
CMYKcmyk(0%, 1%, 41.3%, 19.2%)
CIE-LABlab(80.57, -11.27, 41.53)
CIE-LCHlch(80.57, 43.03, 105.18°)
OKLaboklab(82.85% -0.0313 0.1006)
OKLCHoklch(82.85% 0.105 107.3)
XYZxyz(50.4985, 57.6892, 26.5604)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC79 #797BCE
analogous
#CEA279 #CECC79 #A6CE79
triadic
#CECC79 #79CECC #CC79CE
tetradic
#CECC79 #79CEA2 #797BCE #CE79A6
square
#CECC79 #79CEA2 #797BCE #CE79A6
split-complementary
#CECC79 #79A6CE #A279CE
monochromatic
#969437 #BEBB4C #CECC79 #DEDDA6 #EFEED3

Accessibility & contrast

On white

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

On black

12.54
#CECC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC79
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC79#FFFFFF#000000##000000
##CECC791.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C672
Deuteranopia (green-blind)
#DACA7D
Tritanopia (blue-blind)
#D9C2B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecc79;
/* rgb */ color: rgb(206, 204, 121);
/* oklch */ color: oklch(82.9% 0.105 107.3);
Tailwind
colors: {
  custom: {
    50: '#dedba1',
    500: '#cecc79',
    950: '#000000',
  },
}
SCSS
$custom: #cecc79;
$custom-light: #dedba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc79",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 58.588,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82853,
    "c": 0.10536,
    "h": 107.3
  },
  "luminance": 0.57688
}

Semantic roles & 50–950 ramp

primary
#CECC79
secondary
#4F519C
accent
#2FBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CECC79

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

Preview Lab → · Contrast checker → · Palette generator →

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