#CCCB8D#CCCB8D

#CCCB8D is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.081 H 107.3°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CCCB8D
RGBrgb(204, 203, 141)
HSLhsl(59, 38%, 68%)
HSVhsv(59, 31%, 80%)
CMYKcmyk(0%, 0.5%, 30.9%, 20%)
CIE-LABlab(80.44, -9.24, 31.14)
CIE-LCHlch(80.44, 32.48, 106.52°)
OKLaboklab(82.82% -0.0241 0.0775)
OKLCHoklch(82.82% 0.081 107.3)
XYZxyz(51.0658, 57.4732, 33.5975)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB8D #8D8ECC
analogous
#CCAC8D #CCCB8D #ADCC8D
triadic
#CCCB8D #8DCCCB #CB8DCC
tetradic
#CCCB8D #8DCCAC #8D8ECC #CC8DAD
square
#CCCB8D #8DCCAC #8D8ECC #CC8DAD
split-complementary
#CCCB8D #8DADCC #AC8DCC
monochromatic
#9A9845 #B9B863 #CCCB8D #DFDEB7 #F2F2E2

Accessibility & contrast

On white

1.68
#CCCB8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CCCB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB8D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB8D#FFFFFF#000000##000000
##CCCB8D1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C689
Deuteranopia (green-blind)
#D6C98F
Tritanopia (blue-blind)
#D5C3BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccb8d;
/* rgb */ color: rgb(204, 203, 141);
/* oklch */ color: oklch(82.8% 0.081 107.3);
Tailwind
colors: {
  custom: {
    50: '#dcdaaf',
    500: '#cccb8d',
    950: '#000000',
  },
}
SCSS
$custom: #cccb8d;
$custom-light: #dcdaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb8d",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 141
  },
  "hsl": {
    "h": 59.048,
    "s": 38.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.82817,
    "c": 0.08118,
    "h": 107.3
  },
  "luminance": 0.57472
}

Semantic roles & 50–950 ramp

primary
#CCCB8D
secondary
#5D5EA0
accent
#36B134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCCB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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