#CCC686#CCC686

#CCC686 is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.6% C 0.084 H 103.5°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CCC686
RGBrgb(204, 198, 134)
HSLhsl(55, 41%, 66%)
HSVhsv(55, 34%, 80%)
CMYKcmyk(0%, 2.9%, 34.3%, 20%)
CIE-LABlab(79.01, -7.53, 32.88)
CIE-LCHlch(79.01, 33.73, 102.89°)
OKLaboklab(81.64% -0.0196 0.0814)
OKLCHoklch(81.64% 0.084 103.5)
XYZxyz(49.3996, 54.9479, 30.5534)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC686 #868CCC
analogous
#CCA386 #CCC686 #AFCC86
triadic
#CCC686 #86CCC6 #C686CC
tetradic
#CCC686 #86CCA3 #868CCC #CC86AF
square
#CCC686 #86CCA3 #868CCC #CC86AF
split-complementary
#CCC686 #86AFCC #A386CC
monochromatic
#989040 #BAB25B #CCC686 #DEDAB1 #F0EFDC

Accessibility & contrast

On white

1.75
#CCC686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CCC686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC686
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC686#FFFFFF#000000##000000
##CCC6861.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C281
Deuteranopia (green-blind)
#D3C588
Tritanopia (blue-blind)
#D6BEB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc686;
/* rgb */ color: rgb(204, 198, 134);
/* oklch */ color: oklch(81.6% 0.084 103.5);
Tailwind
colors: {
  custom: {
    50: '#dcd7aa',
    500: '#ccc686',
    950: '#000000',
  },
}
SCSS
$custom: #ccc686;
$custom-light: #dcd7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc686",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 134
  },
  "hsl": {
    "h": 54.857,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.81643,
    "c": 0.08369,
    "h": 103.5
  },
  "luminance": 0.54947
}

Semantic roles & 50–950 ramp

primary
#CCC686
secondary
#585E9E
accent
#3DB432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC686

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

Preview Lab → · Contrast checker → · Palette generator →

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