#CCCD8B#CCCD8B

#CCCD8B is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.086 H 108.9°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CCCD8B
RGBrgb(204, 205, 139)
HSLhsl(61, 40%, 67%)
HSVhsv(61, 32%, 80%)
CMYKcmyk(0.5%, 0%, 32.2%, 19.6%)
CIE-LABlab(80.94, -10.51, 32.83)
CIE-LCHlch(80.94, 34.47, 107.75°)
OKLaboklab(83.2% -0.0278 0.0814)
OKLCHoklch(83.2% 0.086 108.9)
XYZxyz(51.3937, 58.3649, 32.9793)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD8B #8C8BCD
analogous
#CDAD8B #CCCD8B #ABCD8B
triadic
#CCCD8B #8BCCCD #CD8BCC
tetradic
#CCCD8B #8BCDAD #8C8BCD #CD8BAB
square
#CCCD8B #8BCDAD #8C8BCD #CD8BAB
split-complementary
#CCCD8B #8BABCD #AD8BCD
monochromatic
#9A9B43 #B9BB60 #CCCD8B #DFDFB6 #F2F2E1

Accessibility & contrast

On white

1.66
#CCCD8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CCCD8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD8B
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD8B#FFFFFF#000000##000000
##CCCD8B1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C886
Deuteranopia (green-blind)
#D8CA8E
Tritanopia (blue-blind)
#D5C5BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccd8b;
/* rgb */ color: rgb(204, 205, 139);
/* oklch */ color: oklch(83.2% 0.086 108.9);
Tailwind
colors: {
  custom: {
    50: '#dcdcad',
    500: '#cccd8b',
    950: '#000000',
  },
}
SCSS
$custom: #cccd8b;
$custom-light: #dcdcad;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd8b",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 139
  },
  "hsl": {
    "h": 60.909,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.832,
    "c": 0.08604,
    "h": 108.9
  },
  "luminance": 0.58364
}

Semantic roles & 50–950 ramp

primary
#CCCD8B
secondary
#5C5BA1
accent
#33B335
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCD8B

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

Preview Lab → · Contrast checker → · Palette generator →

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