#CEC668#CEC668

#CEC668 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.117 H 104.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CEC668
RGBrgb(206, 198, 104)
HSLhsl(55, 51%, 61%)
HSVhsv(55, 50%, 81%)
CMYKcmyk(0%, 3.9%, 49.5%, 19.2%)
CIE-LABlab(78.76, -9.86, 47.68)
CIE-LCHlch(78.76, 48.69, 101.69°)
OKLaboklab(81.35% -0.0289 0.1131)
OKLCHoklch(81.35% 0.117 104.3)
XYZxyz(48.1476, 54.5109, 21.0794)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC668 #6870CE
analogous
#CE9368 #CEC668 #A3CE68
triadic
#CEC668 #68CEC6 #C668CE
tetradic
#CEC668 #68CE93 #6870CE #CE68A3
square
#CEC668 #68CE93 #6870CE #CE68A3
split-complementary
#CEC668 #68A3CE #9368CE
monochromatic
#8E862E #BCB23D #CEC668 #DDD796 #ECE9C4

Accessibility & contrast

On white

1.76
#CEC668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CEC668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC668
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC668#FFFFFF#000000##000000
##CEC6681.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C060
Deuteranopia (green-blind)
#D7C56C
Tritanopia (blue-blind)
#DBBBB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec668;
/* rgb */ color: rgb(206, 198, 104);
/* oklch */ color: oklch(81.3% 0.117 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfd795',
    500: '#cec668',
    950: '#000000',
  },
}
SCSS
$custom: #cec668;
$custom-light: #dfd795;
$custom-dark: #000000;
JSON
{
  "hex": "#cec668",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 104
  },
  "hsl": {
    "h": 55.294,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81347,
    "c": 0.1167,
    "h": 104.3
  },
  "luminance": 0.54509
}

Semantic roles & 50–950 ramp

primary
#CEC668
secondary
#464C94
accent
#33BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC668

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

Preview Lab → · Contrast checker → · Palette generator →

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