#CCC185#CCC185

#CCC185 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.079 H 99.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CCC185
RGBrgb(204, 193, 133)
HSLhsl(51, 41%, 66%)
HSVhsv(51, 35%, 80%)
CMYKcmyk(0%, 5.4%, 34.8%, 20%)
CIE-LABlab(77.68, -5.06, 31.65)
CIE-LCHlch(77.68, 32.05, 99.08°)
OKLaboklab(80.58% -0.0125 0.0785)
OKLCHoklch(80.58% 0.079 99)
XYZxyz(48.2061, 52.6720, 29.8131)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC185 #8590CC
analogous
#CC9D85 #CCC185 #B3CC85
triadic
#CCC185 #85CCC1 #C185CC
tetradic
#CCC185 #85CC9D #8590CC #CC85B3
square
#CCC185 #85CC9D #8590CC #CC85B3
split-complementary
#CCC185 #85B3CC #9D85CC
monochromatic
#978A3F #BAAB5A #CCC185 #DED7B0 #F0EDDB

Accessibility & contrast

On white

1.82
#CCC185 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CCC185 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC185
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC185#FFFFFF#000000##000000
##CCC1851.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD81
Deuteranopia (green-blind)
#CFC287
Tritanopia (blue-blind)
#D6B9B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc185;
/* rgb */ color: rgb(204, 193, 133);
/* oklch */ color: oklch(80.6% 0.079 99.0);
Tailwind
colors: {
  custom: {
    50: '#dcd3a9',
    500: '#ccc185',
    950: '#000000',
  },
}
SCSS
$custom: #ccc185;
$custom-light: #dcd3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc185",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 133
  },
  "hsl": {
    "h": 50.704,
    "s": 41.04,
    "l": 66.078
  },
  "oklch": {
    "l": 0.80584,
    "c": 0.07947,
    "h": 99
  },
  "luminance": 0.52671
}

Semantic roles & 50–950 ramp

primary
#CCC185
secondary
#57629E
accent
#46B431
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CCC185

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

Preview Lab → · Contrast checker → · Palette generator →

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