#CEC080#CEC080

#CEC080 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.085 H 97.3°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CEC080
RGBrgb(206, 192, 128)
HSLhsl(49, 44%, 65%)
HSVhsv(49, 38%, 81%)
CMYKcmyk(0%, 6.8%, 37.9%, 19.2%)
CIE-LABlab(77.51, -4.33, 34.05)
CIE-LCHlch(77.51, 34.33, 97.24°)
OKLaboklab(80.46% -0.0108 0.0839)
OKLCHoklch(80.46% 0.085 97.3)
XYZxyz(48.2004, 52.3810, 27.9894)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC080 #808ECE
analogous
#CE9980 #CEC080 #B5CE80
triadic
#CEC080 #80CEC0 #C080CE
tetradic
#CEC080 #80CE99 #808ECE #CE80B5
square
#CEC080 #80CE99 #808ECE #CE80B5
split-complementary
#CEC080 #80B5CE #9980CE
monochromatic
#99883B #BDAA54 #CEC080 #DFD6AC #F0ECD8

Accessibility & contrast

On white

1.83
#CEC080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CEC080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC080
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC080#FFFFFF#000000##000000
##CEC0801.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD7B
Deuteranopia (green-blind)
#D0C282
Tritanopia (blue-blind)
#D9B7B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec080;
/* rgb */ color: rgb(206, 192, 128);
/* oklch */ color: oklch(80.5% 0.085 97.3);
Tailwind
colors: {
  custom: {
    50: '#ded2a5',
    500: '#cec080',
    950: '#000000',
  },
}
SCSS
$custom: #cec080;
$custom-light: #ded2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cec080",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 128
  },
  "hsl": {
    "h": 49.231,
    "s": 44.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.80462,
    "c": 0.08457,
    "h": 97.3
  },
  "luminance": 0.5238
}

Semantic roles & 50–950 ramp

primary
#CEC080
secondary
#54619F
accent
#47B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CEC080

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

Preview Lab → · Contrast checker → · Palette generator →

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