#CECC6D#CECC6D

#CECC6D is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.118 H 107.7°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CECC6D
RGBrgb(206, 204, 109)
HSLhsl(59, 50%, 62%)
HSVhsv(59, 47%, 81%)
CMYKcmyk(0%, 1%, 47.1%, 19.2%)
CIE-LABlab(80.41, -12.46, 47.25)
CIE-LCHlch(80.41, 48.86, 104.77°)
OKLaboklab(82.68% -0.0358 0.1125)
OKLCHoklch(82.68% 0.118 107.7)
XYZxyz(49.8079, 57.4129, 22.9231)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC6D #6D6FCE
analogous
#CE9C6D #CECC6D #A0CE6D
triadic
#CECC6D #6DCECC #CC6DCE
tetradic
#CECC6D #6DCE9C #6D6FCE #CE6DA0
square
#CECC6D #6DCE9C #6D6FCE #CE6DA0
split-complementary
#CECC6D #6DA0CE #9C6DCE
monochromatic
#908E30 #BEBB40 #CECC6D #DDDC9B #EDECC9

Accessibility & contrast

On white

1.68
#CECC6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CECC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC6D
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC6D#FFFFFF#000000##000000
##CECC6D1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC565
Deuteranopia (green-blind)
#DBC972
Tritanopia (blue-blind)
#DAC1B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecc6d;
/* rgb */ color: rgb(206, 204, 109);
/* oklch */ color: oklch(82.7% 0.118 107.7);
Tailwind
colors: {
  custom: {
    50: '#dfdb99',
    500: '#cecc6d',
    950: '#000000',
  },
}
SCSS
$custom: #cecc6d;
$custom-light: #dfdb99;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc6d",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 109
  },
  "hsl": {
    "h": 58.763,
    "s": 49.744,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8268,
    "c": 0.11809,
    "h": 107.7
  },
  "luminance": 0.57412
}

Semantic roles & 50–950 ramp

primary
#CECC6D
secondary
#494A96
accent
#2BBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CECC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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