#CECC6A#CECC6A

#CECC6A is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.121 H 107.7°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CECC6A
RGBrgb(206, 204, 106)
HSLhsl(59, 51%, 61%)
HSVhsv(59, 49%, 81%)
CMYKcmyk(0%, 1%, 48.5%, 19.2%)
CIE-LABlab(80.38, -12.73, 48.65)
CIE-LCHlch(80.38, 50.29, 104.67°)
OKLaboklab(82.64% -0.0369 0.1154)
OKLCHoklch(82.64% 0.121 107.7)
XYZxyz(49.6491, 57.3494, 22.0870)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC6A #6A6CCE
analogous
#CE9A6A #CECC6A #9ECE6A
triadic
#CECC6A #6ACECC #CC6ACE
tetradic
#CECC6A #6ACE9A #6A6CCE #CE6A9E
square
#CECC6A #6ACE9A #6A6CCE #CE6A9E
split-complementary
#CECC6A #6A9ECE #9A6ACE
monochromatic
#8F8D2F #BDBA3E #CECC6A #DDDC98 #ECECC6

Accessibility & contrast

On white

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

On black

12.47
#CECC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC6A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC6A#FFFFFF#000000##000000
##CECC6A1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC561
Deuteranopia (green-blind)
#DCC96F
Tritanopia (blue-blind)
#DAC1B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecc6a;
/* rgb */ color: rgb(206, 204, 106);
/* oklch */ color: oklch(82.6% 0.121 107.7);
Tailwind
colors: {
  custom: {
    50: '#dfdb97',
    500: '#cecc6a',
    950: '#000000',
  },
}
SCSS
$custom: #cecc6a;
$custom-light: #dfdb97;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc6a",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 106
  },
  "hsl": {
    "h": 58.8,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8264,
    "c": 0.12112,
    "h": 107.7
  },
  "luminance": 0.57348
}

Semantic roles & 50–950 ramp

primary
#CECC6A
secondary
#474995
accent
#2BBE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CECC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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