#CEC686#CEC686

#CEC686 is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.084 H 102.0°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CEC686
RGBrgb(206, 198, 134)
HSLhsl(53, 42%, 67%)
HSVhsv(53, 35%, 81%)
CMYKcmyk(0%, 3.9%, 35%, 19.2%)
CIE-LABlab(79.17, -6.74, 33.12)
CIE-LCHlch(79.17, 33.80, 101.50°)
OKLaboklab(81.81% -0.0174 0.0819)
OKLCHoklch(81.81% 0.084 102)
XYZxyz(49.9514, 55.2324, 30.5792)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC686 #868ECE
analogous
#CEA286 #CEC686 #B2CE86
triadic
#CEC686 #86CEC6 #C686CE
tetradic
#CEC686 #86CEA2 #868ECE #CE86B2
square
#CEC686 #86CEA2 #868ECE #CE86B2
split-complementary
#CEC686 #86B2CE #A286CE
monochromatic
#9B913F #BCB15A #CEC686 #E0DBB2 #F1EFDD

Accessibility & contrast

On white

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

On black

12.05
#CEC686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC686
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC686#FFFFFF#000000##000000
##CEC6861.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec686;
/* rgb */ color: rgb(206, 198, 134);
/* oklch */ color: oklch(81.8% 0.084 102.0);
Tailwind
colors: {
  custom: {
    50: '#ded7aa',
    500: '#cec686',
    950: '#000000',
  },
}
SCSS
$custom: #cec686;
$custom-light: #ded7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cec686",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 134
  },
  "hsl": {
    "h": 53.333,
    "s": 42.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81812,
    "c": 0.08376,
    "h": 102
  },
  "luminance": 0.55231
}

Semantic roles & 50–950 ramp

primary
#CEC686
secondary
#575FA1
accent
#3FB530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC686

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

Preview Lab → · Contrast checker → · Palette generator →

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