#CEC486#CEC486

#CEC486 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.082 H 100.1°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CEC486
RGBrgb(206, 196, 134)
HSLhsl(52, 42%, 67%)
HSVhsv(52, 35%, 81%)
CMYKcmyk(0%, 4.9%, 35%, 19.2%)
CIE-LABlab(78.65, -5.71, 32.43)
CIE-LCHlch(78.65, 32.93, 99.98°)
OKLaboklab(81.4% -0.0144 0.0803)
OKLCHoklch(81.4% 0.082 100.1)
XYZxyz(49.4973, 54.3242, 30.4279)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC486 #8690CE
analogous
#CEA086 #CEC486 #B4CE86
triadic
#CEC486 #86CEC4 #C486CE
tetradic
#CEC486 #86CEA0 #8690CE #CE86B4
square
#CEC486 #86CEA0 #8690CE #CE86B4
split-complementary
#CEC486 #86B4CE #A086CE
monochromatic
#9B8E3F #BCAF5A #CEC486 #E0D9B2 #F1EEDD

Accessibility & contrast

On white

1.77
#CEC486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CEC486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC486
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC486#FFFFFF#000000##000000
##CEC4861.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC082
Deuteranopia (green-blind)
#D2C588
Tritanopia (blue-blind)
#D8BCB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec486;
/* rgb */ color: rgb(206, 196, 134);
/* oklch */ color: oklch(81.4% 0.082 100.1);
Tailwind
colors: {
  custom: {
    50: '#ded5aa',
    500: '#cec486',
    950: '#000000',
  },
}
SCSS
$custom: #cec486;
$custom-light: #ded5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cec486",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 134
  },
  "hsl": {
    "h": 51.667,
    "s": 42.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81397,
    "c": 0.08161,
    "h": 100.1
  },
  "luminance": 0.54323
}

Semantic roles & 50–950 ramp

primary
#CEC486
secondary
#5762A1
accent
#43B530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CEC486

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

Preview Lab → · Contrast checker → · Palette generator →

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