#CECC6F#CECC6F

#CECC6F is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.116 H 107.6°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CECC6F
RGBrgb(206, 204, 111)
HSLhsl(59, 49%, 62%)
HSVhsv(59, 46%, 81%)
CMYKcmyk(0%, 1%, 46.1%, 19.2%)
CIE-LABlab(80.44, -12.27, 46.31)
CIE-LCHlch(80.44, 47.90, 104.84°)
OKLaboklab(82.71% -0.0351 0.1106)
OKLCHoklch(82.71% 0.116 107.6)
XYZxyz(49.9168, 57.4565, 23.4966)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC6F #6F71CE
analogous
#CE9D6F #CECC6F #A1CE6F
triadic
#CECC6F #6FCECC #CC6FCE
tetradic
#CECC6F #6FCE9D #6F71CE #CE6FA1
square
#CECC6F #6FCE9D #6F71CE #CE6FA1
split-complementary
#CECC6F #6FA1CE #9D6FCE
monochromatic
#918F31 #BEBC41 #CECC6F #DEDC9D #EDECCA

Accessibility & contrast

On white

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

On black

12.49
#CECC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC6F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC6F#FFFFFF#000000##000000
##CECC6F1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C567
Deuteranopia (green-blind)
#DBC973
Tritanopia (blue-blind)
#DAC2B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecc6f;
/* rgb */ color: rgb(206, 204, 111);
/* oklch */ color: oklch(82.7% 0.116 107.6);
Tailwind
colors: {
  custom: {
    50: '#dfdb9a',
    500: '#cecc6f',
    950: '#000000',
  },
}
SCSS
$custom: #cecc6f;
$custom-light: #dfdb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc6f",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 111
  },
  "hsl": {
    "h": 58.737,
    "s": 49.223,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82707,
    "c": 0.11604,
    "h": 107.6
  },
  "luminance": 0.57455
}

Semantic roles & 50–950 ramp

primary
#CECC6F
secondary
#4A4B97
accent
#2CBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CECC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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