#CCC388#CCC388

#CCC388 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.078 H 100.5°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CCC388
RGBrgb(204, 195, 136)
HSLhsl(52, 40%, 67%)
HSVhsv(52, 33%, 80%)
CMYKcmyk(0%, 4.4%, 33.3%, 20%)
CIE-LABlab(78.25, -5.73, 30.84)
CIE-LCHlch(78.25, 31.37, 100.53°)
OKLaboklab(81.05% -0.0143 0.0767)
OKLCHoklch(81.05% 0.078 100.5)
XYZxyz(48.8614, 53.6463, 31.0686)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC388 #8891CC
analogous
#CCA188 #CCC388 #B3CC88
triadic
#CCC388 #88CCC3 #C388CC
tetradic
#CCC388 #88CCA1 #8891CC #CC88B3
square
#CCC388 #88CCA1 #8891CC #CC88B3
split-complementary
#CCC388 #88B3CC #A188CC
monochromatic
#988D41 #BAAD5D #CCC388 #DED9B3 #F1EEDE

Accessibility & contrast

On white

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

On black

11.73
#CCC388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC388
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC388#FFFFFF#000000##000000
##CCC3881.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF84
Deuteranopia (green-blind)
#D1C38A
Tritanopia (blue-blind)
#D6BBB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc388;
/* rgb */ color: rgb(204, 195, 136);
/* oklch */ color: oklch(81.1% 0.078 100.5);
Tailwind
colors: {
  custom: {
    50: '#dcd5ab',
    500: '#ccc388',
    950: '#000000',
  },
}
SCSS
$custom: #ccc388;
$custom-light: #dcd5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc388",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 136
  },
  "hsl": {
    "h": 52.059,
    "s": 40,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81055,
    "c": 0.078,
    "h": 100.5
  },
  "luminance": 0.53645
}

Semantic roles & 50–950 ramp

primary
#CCC388
secondary
#59639F
accent
#43B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC388

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

Preview Lab → · Contrast checker → · Palette generator →

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