#CCC08C#CCC08C

#CCC08C is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.070 H 96.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CCC08C
RGBrgb(204, 192, 140)
HSLhsl(49, 39%, 67%)
HSVhsv(49, 31%, 80%)
CMYKcmyk(0%, 5.9%, 31.4%, 20%)
CIE-LABlab(77.54, -3.67, 27.79)
CIE-LCHlch(77.54, 28.03, 97.53°)
OKLaboklab(80.51% -0.0081 0.0696)
OKLCHoklch(80.51% 0.07 96.7)
XYZxyz(48.4856, 52.4313, 32.3720)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC08C #8C98CC
analogous
#CCA08C #CCC08C #B8CC8C
triadic
#CCC08C #8CCCC0 #C08CCC
tetradic
#CCC08C #8CCCA0 #8C98CC #CC8CB8
square
#CCC08C #8CCCA0 #8C98CC #CC8CB8
split-complementary
#CCC08C #8CB8CC #A08CCC
monochromatic
#9A8944 #B9A962 #CCC08C #DFD7B6 #F2EEE1

Accessibility & contrast

On white

1.83
#CCC08C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CCC08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC08C
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC08C#FFFFFF#000000##000000
##CCC08C1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD89
Deuteranopia (green-blind)
#CEC18E
Tritanopia (blue-blind)
#D6B8B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc08c;
/* rgb */ color: rgb(204, 192, 140);
/* oklch */ color: oklch(80.5% 0.070 96.7);
Tailwind
colors: {
  custom: {
    50: '#dcd2ae',
    500: '#ccc08c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc08c;
$custom-light: #dcd2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc08c",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 140
  },
  "hsl": {
    "h": 48.75,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8051,
    "c": 0.07005,
    "h": 96.7
  },
  "luminance": 0.5243
}

Semantic roles & 50–950 ramp

primary
#CCC08C
secondary
#5C69A0
accent
#4CB234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC08C

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

Preview Lab → · Contrast checker → · Palette generator →

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