#CEC688#CEC688

#CEC688 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.081 H 101.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CEC688
RGBrgb(206, 198, 136)
HSLhsl(53, 42%, 67%)
HSVhsv(53, 34%, 81%)
CMYKcmyk(0%, 3.9%, 34%, 19.2%)
CIE-LABlab(79.21, -6.50, 32.13)
CIE-LCHlch(79.21, 32.78, 101.44°)
OKLaboklab(81.85% -0.0165 0.0797)
OKLCHoklch(81.85% 0.081 101.7)
XYZxyz(50.0922, 55.2887, 31.3208)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC688 #8890CE
analogous
#CEA388 #CEC688 #B3CE88
triadic
#CEC688 #88CEC6 #C688CE
tetradic
#CEC688 #88CEA3 #8890CE #CE88B3
square
#CEC688 #88CEA3 #8890CE #CE88B3
split-complementary
#CEC688 #88B3CE #A388CE
monochromatic
#9C9140 #BCB15D #CEC688 #E0DBB3 #F2F0DF

Accessibility & contrast

On white

1.74
#CEC688 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CEC688 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC688
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC688#FFFFFF#000000##000000
##CEC6881.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C284
Deuteranopia (green-blind)
#D4C68A
Tritanopia (blue-blind)
#D8BEB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec688;
/* rgb */ color: rgb(206, 198, 136);
/* oklch */ color: oklch(81.8% 0.081 101.7);
Tailwind
colors: {
  custom: {
    50: '#ded7ab',
    500: '#cec688',
    950: '#000000',
  },
}
SCSS
$custom: #cec688;
$custom-light: #ded7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cec688",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 136
  },
  "hsl": {
    "h": 53.143,
    "s": 41.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81848,
    "c": 0.08138,
    "h": 101.7
  },
  "luminance": 0.55288
}

Semantic roles & 50–950 ramp

primary
#CEC688
secondary
#5961A2
accent
#40B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC688

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

Preview Lab → · Contrast checker → · Palette generator →

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