#CECC82#CECC82

#CECC82 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.095 H 107.0°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CECC82
RGBrgb(206, 204, 130)
HSLhsl(58, 44%, 66%)
HSVhsv(58, 37%, 81%)
CMYKcmyk(0%, 1%, 36.9%, 19.2%)
CIE-LABlab(80.69, -10.28, 37.15)
CIE-LCHlch(80.69, 38.55, 105.47°)
OKLaboklab(83% -0.0278 0.0911)
OKLCHoklch(83% 0.095 107)
XYZxyz(51.0764, 57.9203, 29.6039)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC82 #8284CE
analogous
#CEA682 #CECC82 #AACE82
triadic
#CECC82 #82CECC #CC82CE
tetradic
#CECC82 #82CEA6 #8284CE #CE82AA
square
#CECC82 #82CEA6 #8284CE #CE82AA
split-complementary
#CECC82 #82AACE #A682CE
monochromatic
#99973C #BDBA56 #CECC82 #DFDEAE #F0F0DA

Accessibility & contrast

On white

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

On black

12.58
#CECC82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC82
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC82#FFFFFF#000000##000000
##CECC821.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C67D
Deuteranopia (green-blind)
#D9CA85
Tritanopia (blue-blind)
#D8C3BA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecc82;
/* rgb */ color: rgb(206, 204, 130);
/* oklch */ color: oklch(83.0% 0.095 107.0);
Tailwind
colors: {
  custom: {
    50: '#dedba7',
    500: '#cecc82',
    950: '#000000',
  },
}
SCSS
$custom: #cecc82;
$custom-light: #dedba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc82",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 130
  },
  "hsl": {
    "h": 58.421,
    "s": 43.678,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82997,
    "c": 0.09524,
    "h": 107
  },
  "luminance": 0.57919
}

Semantic roles & 50–950 ramp

primary
#CECC82
secondary
#55579F
accent
#32B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CECC82

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

Preview Lab → · Contrast checker → · Palette generator →

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