#CEC86E#CEC86E

#CEC86E is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.113 H 105.2°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CEC86E
RGBrgb(206, 200, 110)
HSLhsl(56, 49%, 62%)
HSVhsv(56, 47%, 81%)
CMYKcmyk(0%, 2.9%, 46.6%, 19.2%)
CIE-LABlab(79.36, -10.33, 45.49)
CIE-LCHlch(79.36, 46.64, 102.80°)
OKLaboklab(81.85% -0.0296 0.1087)
OKLCHoklch(81.85% 0.113 105.2)
XYZxyz(48.9235, 55.5575, 22.8954)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC86E #6E74CE
analogous
#CE986E #CEC86E #A4CE6E
triadic
#CEC86E #6ECEC8 #C86ECE
tetradic
#CEC86E #6ECE98 #6E74CE #CE6EA4
square
#CEC86E #6ECE98 #6E74CE #CE6EA4
split-complementary
#CEC86E #6EA4CE #986ECE
monochromatic
#918B31 #BEB740 #CEC86E #DDD99C #EDEBC9

Accessibility & contrast

On white

1.73
#CEC86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CEC86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC86E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC86E#FFFFFF#000000##000000
##CEC86E1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C266
Deuteranopia (green-blind)
#D8C772
Tritanopia (blue-blind)
#DABEB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cec86e;
/* rgb */ color: rgb(206, 200, 110);
/* oklch */ color: oklch(81.8% 0.113 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfd899',
    500: '#cec86e',
    950: '#000000',
  },
}
SCSS
$custom: #cec86e;
$custom-light: #dfd899;
$custom-dark: #000000;
JSON
{
  "hex": "#cec86e",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 110
  },
  "hsl": {
    "h": 56.25,
    "s": 49.485,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81849,
    "c": 0.11268,
    "h": 105.2
  },
  "luminance": 0.55556
}

Semantic roles & 50–950 ramp

primary
#CEC86E
secondary
#494E97
accent
#32BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC86E

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

Preview Lab → · Contrast checker → · Palette generator →

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