#CCC784#CCC784

#CCC784 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.087 H 104.5°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CCC784
RGBrgb(204, 199, 132)
HSLhsl(56, 41%, 66%)
HSVhsv(56, 35%, 80%)
CMYKcmyk(0%, 2.5%, 35.3%, 20%)
CIE-LABlab(79.24, -8.28, 34.21)
CIE-LCHlch(79.24, 35.20, 103.60°)
OKLaboklab(81.82% -0.0218 0.0844)
OKLCHoklch(81.82% 0.087 104.5)
XYZxyz(49.4907, 55.3513, 29.9021)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC784 #8489CC
analogous
#CCA384 #CCC784 #ADCC84
triadic
#CCC784 #84CCC7 #C784CC
tetradic
#CCC784 #84CCA3 #8489CC #CC84AD
square
#CCC784 #84CCA3 #8489CC #CC84AD
split-complementary
#CCC784 #84ADCC #A384CC
monochromatic
#97913F #BAB359 #CCC784 #DEDBAF #F0EEDB

Accessibility & contrast

On white

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

On black

12.07
#CCC784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC784
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC784#FFFFFF#000000##000000
##CCC7841.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27F
Deuteranopia (green-blind)
#D4C687
Tritanopia (blue-blind)
#D6BFB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc784;
/* rgb */ color: rgb(204, 199, 132);
/* oklch */ color: oklch(81.8% 0.087 104.5);
Tailwind
colors: {
  custom: {
    50: '#dcd7a8',
    500: '#ccc784',
    950: '#000000',
  },
}
SCSS
$custom: #ccc784;
$custom-light: #dcd7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc784",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 132
  },
  "hsl": {
    "h": 55.833,
    "s": 41.379,
    "l": 65.882
  },
  "oklch": {
    "l": 0.81816,
    "c": 0.08719,
    "h": 104.5
  },
  "luminance": 0.5535
}

Semantic roles & 50–950 ramp

primary
#CCC784
secondary
#575C9D
accent
#3AB431
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CCC784

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

Preview Lab → · Contrast checker → · Palette generator →

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