#CCC385#CCC385

#CCC385 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.082 H 101.0°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CCC385
RGBrgb(204, 195, 133)
HSLhsl(52, 41%, 66%)
HSVhsv(52, 35%, 80%)
CMYKcmyk(0%, 4.4%, 34.8%, 20%)
CIE-LABlab(78.21, -6.09, 32.34)
CIE-LCHlch(78.21, 32.91, 100.67°)
OKLaboklab(81% -0.0155 0.0801)
OKLCHoklch(81% 0.082 101)
XYZxyz(48.6512, 53.5622, 29.9615)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC385 #858ECC
analogous
#CC9F85 #CCC385 #B1CC85
triadic
#CCC385 #85CCC3 #C385CC
tetradic
#CCC385 #85CC9F #858ECC #CC85B1
square
#CCC385 #85CC9F #858ECC #CC85B1
split-complementary
#CCC385 #85B1CC #9F85CC
monochromatic
#978C3F #BAAE5A #CCC385 #DED8B0 #F0EDDB

Accessibility & contrast

On white

1.79
#CCC385 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CCC385 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC385
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC385#FFFFFF#000000##000000
##CCC3851.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF81
Deuteranopia (green-blind)
#D1C387
Tritanopia (blue-blind)
#D6BBB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc385;
/* rgb */ color: rgb(204, 195, 133);
/* oklch */ color: oklch(81.0% 0.082 101.0);
Tailwind
colors: {
  custom: {
    50: '#dcd5a9',
    500: '#ccc385',
    950: '#000000',
  },
}
SCSS
$custom: #ccc385;
$custom-light: #dcd5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc385",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 133
  },
  "hsl": {
    "h": 52.394,
    "s": 41.04,
    "l": 66.078
  },
  "oklch": {
    "l": 0.81,
    "c": 0.08158,
    "h": 101
  },
  "luminance": 0.53561
}

Semantic roles & 50–950 ramp

primary
#CCC385
secondary
#57609E
accent
#42B431
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CCC385

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

Preview Lab → · Contrast checker → · Palette generator →

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