#CCCD8F#CCCD8F

#CCCD8F is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.081 H 108.8°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#CCCD8F
RGBrgb(204, 205, 143)
HSLhsl(61, 38%, 68%)
HSVhsv(61, 30%, 80%)
CMYKcmyk(0.5%, 0%, 30.2%, 19.6%)
CIE-LABlab(81.01, -10.01, 30.84)
CIE-LCHlch(81.01, 32.43, 107.97°)
OKLaboklab(83.27% -0.0262 0.0769)
OKLCHoklch(83.27% 0.081 108.8)
XYZxyz(51.6913, 58.4840, 34.5468)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD8F #908FCD
analogous
#CDAF8F #CCCD8F #ADCD8F
triadic
#CCCD8F #8FCCCD #CD8FCC
tetradic
#CCCD8F #8FCDAF #908FCD #CD8FAD
square
#CCCD8F #8FCDAF #908FCD #CD8FAD
split-complementary
#CCCD8F #8FADCD #AF8FCD
monochromatic
#9B9C46 #B9BA65 #CCCD8F #DFE0B9 #F3F3E4

Accessibility & contrast

On white

1.65
#CCCD8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#CCCD8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD8F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD8F#FFFFFF#000000##000000
##CCCD8F1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88B
Deuteranopia (green-blind)
#D8CA91
Tritanopia (blue-blind)
#D5C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccd8f;
/* rgb */ color: rgb(204, 205, 143);
/* oklch */ color: oklch(83.3% 0.081 108.8);
Tailwind
colors: {
  custom: {
    50: '#dcdcb0',
    500: '#cccd8f',
    950: '#000000',
  },
}
SCSS
$custom: #cccd8f;
$custom-light: #dcdcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd8f",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 143
  },
  "hsl": {
    "h": 60.968,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83274,
    "c": 0.08122,
    "h": 108.8
  },
  "luminance": 0.58483
}

Semantic roles & 50–950 ramp

primary
#CCCD8F
secondary
#5F5EA2
accent
#34B136
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCD8F

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

Preview Lab → · Contrast checker → · Palette generator →

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