#CCCC86#CCCC86

#CCCC86 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.091 H 108.2°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CCCC86
RGBrgb(204, 204, 134)
HSLhsl(60, 41%, 66%)
HSVhsv(60, 34%, 80%)
CMYKcmyk(0%, 0%, 34.3%, 20%)
CIE-LABlab(80.60, -10.60, 34.95)
CIE-LCHlch(80.60, 36.52, 106.88°)
OKLaboklab(82.9% -0.0284 0.0862)
OKLCHoklch(82.9% 0.091 108.2)
XYZxyz(50.7983, 57.7453, 31.0196)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC86 #8686CC
analogous
#CCA986 #CCCC86 #A9CC86
triadic
#CCCC86 #86CCCC #CC86CC
tetradic
#CCCC86 #86CCA9 #8686CC #CC86A9
square
#CCCC86 #86CCA9 #8686CC #CC86A9
split-complementary
#CCCC86 #86A9CC #A986CC
monochromatic
#989840 #BABA5B #CCCC86 #DEDEB1 #F0F0DC

Accessibility & contrast

On white

1.67
#CCCC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CCCC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC86
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC86#FFFFFF#000000##000000
##CCCC861.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C681
Deuteranopia (green-blind)
#D8C989
Tritanopia (blue-blind)
#D6C4BA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc86;
/* rgb */ color: rgb(204, 204, 134);
/* oklch */ color: oklch(82.9% 0.091 108.2);
Tailwind
colors: {
  custom: {
    50: '#dcdbaa',
    500: '#cccc86',
    950: '#000000',
  },
}
SCSS
$custom: #cccc86;
$custom-light: #dcdbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc86",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 134
  },
  "hsl": {
    "h": 60,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82901,
    "c": 0.09074,
    "h": 108.2
  },
  "luminance": 0.57744
}

Semantic roles & 50–950 ramp

primary
#CCCC86
secondary
#58589E
accent
#32B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCC86

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

Preview Lab → · Contrast checker → · Palette generator →

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