#CEC86C#CEC86C

#CEC86C is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.115 H 105.3°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CEC86C
RGBrgb(206, 200, 108)
HSLhsl(56, 50%, 62%)
HSVhsv(56, 48%, 81%)
CMYKcmyk(0%, 2.9%, 47.6%, 19.2%)
CIE-LABlab(79.34, -10.52, 46.43)
CIE-LCHlch(79.34, 47.61, 102.76°)
OKLaboklab(81.82% -0.0304 0.1107)
OKLCHoklch(81.82% 0.115 105.3)
XYZxyz(48.8158, 55.5144, 22.3283)
Luminance0.5551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC86C #6C72CE
analogous
#CE976C #CEC86C #A3CE6C
triadic
#CEC86C #6CCEC8 #C86CCE
tetradic
#CEC86C #6CCE97 #6C72CE #CE6CA3
square
#CEC86C #6CCE97 #6C72CE #CE6CA3
split-complementary
#CEC86C #6CA3CE #976CCE
monochromatic
#908A30 #BEB63F #CEC86C #DDD99A #EDEAC8

Accessibility & contrast

On white

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

On black

12.10
#CEC86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC86C
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC86C#FFFFFF#000000##000000
##CEC86C1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C264
Deuteranopia (green-blind)
#D8C770
Tritanopia (blue-blind)
#DABDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec86c;
/* rgb */ color: rgb(206, 200, 108);
/* oklch */ color: oklch(81.8% 0.115 105.3);
Tailwind
colors: {
  custom: {
    50: '#dfd898',
    500: '#cec86c',
    950: '#000000',
  },
}
SCSS
$custom: #cec86c;
$custom-light: #dfd898;
$custom-dark: #000000;
JSON
{
  "hex": "#cec86c",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 108
  },
  "hsl": {
    "h": 56.327,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81821,
    "c": 0.11475,
    "h": 105.3
  },
  "luminance": 0.55513
}

Semantic roles & 50–950 ramp

primary
#CEC86C
secondary
#484D96
accent
#31BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC86C

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

Preview Lab → · Contrast checker → · Palette generator →

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