#CEC86B#CEC86B

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

Color values

HEX#CEC86B
RGBrgb(206, 200, 107)
HSLhsl(56, 50%, 61%)
HSVhsv(56, 48%, 81%)
CMYKcmyk(0%, 2.9%, 48.1%, 19.2%)
CIE-LABlab(79.32, -10.61, 46.91)
CIE-LCHlch(79.32, 48.09, 102.75°)
OKLaboklab(81.81% -0.0307 0.1116)
OKLCHoklch(81.81% 0.116 105.4)
XYZxyz(48.7629, 55.4933, 22.0497)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC86B #6B71CE
analogous
#CE976B #CEC86B #A3CE6B
triadic
#CEC86B #6BCEC8 #C86BCE
tetradic
#CEC86B #6BCE97 #6B71CE #CE6BA3
square
#CEC86B #6BCE97 #6B71CE #CE6BA3
split-complementary
#CEC86B #6BA3CE #976BCE
monochromatic
#8F892F #BDB63F #CEC86B #DDD999 #ECEAC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC86B#FFFFFF#000000##000000
##CEC86B1.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)
#D6C263
Deuteranopia (green-blind)
#D9C76F
Tritanopia (blue-blind)
#DABDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec86b;
/* rgb */ color: rgb(206, 200, 107);
/* oklch */ color: oklch(81.8% 0.116 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfd897',
    500: '#cec86b',
    950: '#000000',
  },
}
SCSS
$custom: #cec86b;
$custom-light: #dfd897;
$custom-dark: #000000;
JSON
{
  "hex": "#cec86b",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 107
  },
  "hsl": {
    "h": 56.364,
    "s": 50.254,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81808,
    "c": 0.11577,
    "h": 105.4
  },
  "luminance": 0.55492
}

Semantic roles & 50–950 ramp

primary
#CEC86B
secondary
#484C96
accent
#31BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC86B

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

Preview Lab → · Contrast checker → · Palette generator →

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