#CECC76#CECC76

#CECC76 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.109 H 107.4°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CECC76
RGBrgb(206, 204, 118)
HSLhsl(59, 47%, 64%)
HSVhsv(59, 43%, 81%)
CMYKcmyk(0%, 1%, 42.7%, 19.2%)
CIE-LABlab(80.53, -11.58, 42.97)
CIE-LCHlch(80.53, 44.50, 105.08°)
OKLaboklab(82.81% -0.0325 0.1037)
OKLCHoklch(82.81% 0.109 107.4)
XYZxyz(50.3174, 57.6167, 25.6066)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC76 #7678CE
analogous
#CEA076 #CECC76 #A4CE76
triadic
#CECC76 #76CECC #CC76CE
tetradic
#CECC76 #76CEA0 #7678CE #CE76A4
square
#CECC76 #76CEA0 #7678CE #CE76A4
split-complementary
#CECC76 #76A4CE #A076CE
monochromatic
#949235 #BEBB49 #CECC76 #DEDDA3 #EEEED0

Accessibility & contrast

On white

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

On black

12.52
#CECC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC76
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC76#FFFFFF#000000##000000
##CECC761.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66F
Deuteranopia (green-blind)
#DBCA7A
Tritanopia (blue-blind)
#D9C2B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecc76;
/* rgb */ color: rgb(206, 204, 118);
/* oklch */ color: oklch(82.8% 0.109 107.4);
Tailwind
colors: {
  custom: {
    50: '#dedb9f',
    500: '#cecc76',
    950: '#000000',
  },
}
SCSS
$custom: #cecc76;
$custom-light: #dedb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc76",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 118
  },
  "hsl": {
    "h": 58.636,
    "s": 47.312,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82807,
    "c": 0.10863,
    "h": 107.4
  },
  "luminance": 0.57616
}

Semantic roles & 50–950 ramp

primary
#CECC76
secondary
#4E4F9B
accent
#2EBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CECC76

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

Preview Lab → · Contrast checker → · Palette generator →

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