#CEC186#CEC186

#CEC186 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.079 H 97.2°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CEC186
RGBrgb(206, 193, 134)
HSLhsl(49, 42%, 67%)
HSVhsv(49, 35%, 81%)
CMYKcmyk(0%, 6.3%, 35%, 19.2%)
CIE-LABlab(77.87, -4.15, 31.40)
CIE-LCHlch(77.87, 31.67, 97.52°)
OKLaboklab(80.78% -0.0099 0.0779)
OKLCHoklch(80.78% 0.079 97.2)
XYZxyz(48.8274, 52.9843, 30.2045)
Luminance0.5298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC186 #8693CE
analogous
#CE9D86 #CEC186 #B7CE86
triadic
#CEC186 #86CEC1 #C186CE
tetradic
#CEC186 #86CE9D #8693CE #CE86B7
square
#CEC186 #86CE9D #8693CE #CE86B7
split-complementary
#CEC186 #86B7CE #9D86CE
monochromatic
#9B8A3F #BCAB5A #CEC186 #E0D7B2 #F1EEDD

Accessibility & contrast

On white

1.81
#CEC186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CEC186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC186
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC186#FFFFFF#000000##000000
##CEC1861.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBE82
Deuteranopia (green-blind)
#D0C388
Tritanopia (blue-blind)
#D9B9B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec186;
/* rgb */ color: rgb(206, 193, 134);
/* oklch */ color: oklch(80.8% 0.079 97.2);
Tailwind
colors: {
  custom: {
    50: '#ded3aa',
    500: '#cec186',
    950: '#000000',
  },
}
SCSS
$custom: #cec186;
$custom-light: #ded3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cec186",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 134
  },
  "hsl": {
    "h": 49.167,
    "s": 42.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.80776,
    "c": 0.07854,
    "h": 97.2
  },
  "luminance": 0.52983
}

Semantic roles & 50–950 ramp

primary
#CEC186
secondary
#5765A1
accent
#48B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CEC186

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

Preview Lab → · Contrast checker → · Palette generator →

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