#CECC7D#CECC7D

#CECC7D is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.101 H 107.2°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CECC7D
RGBrgb(206, 204, 125)
HSLhsl(59, 45%, 65%)
HSVhsv(59, 39%, 81%)
CMYKcmyk(0%, 1%, 39.3%, 19.2%)
CIE-LABlab(80.62, -10.84, 39.59)
CIE-LCHlch(80.62, 41.05, 105.31°)
OKLaboklab(82.92% -0.0298 0.0964)
OKLCHoklch(82.92% 0.101 107.2)
XYZxyz(50.7489, 57.7893, 27.8792)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC7D #7D7FCE
analogous
#CEA47D #CECC7D #A7CE7D
triadic
#CECC7D #7DCECC #CC7DCE
tetradic
#CECC7D #7DCEA4 #7D7FCE #CE7DA7
square
#CECC7D #7DCEA4 #7D7FCE #CE7DA7
split-complementary
#CECC7D #7DA7CE #A47DCE
monochromatic
#979539 #BDBB51 #CECC7D #DFDDA9 #F0EFD6

Accessibility & contrast

On white

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

On black

12.56
#CECC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC7D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC7D#FFFFFF#000000##000000
##CECC7D1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C677
Deuteranopia (green-blind)
#DACA80
Tritanopia (blue-blind)
#D9C3B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecc7d;
/* rgb */ color: rgb(206, 204, 125);
/* oklch */ color: oklch(82.9% 0.101 107.2);
Tailwind
colors: {
  custom: {
    50: '#dedba4',
    500: '#cecc7d',
    950: '#000000',
  },
}
SCSS
$custom: #cecc7d;
$custom-light: #dedba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc7d",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 58.519,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82915,
    "c": 0.10092,
    "h": 107.2
  },
  "luminance": 0.57788
}

Semantic roles & 50–950 ramp

primary
#CECC7D
secondary
#52549D
accent
#31B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CECC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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