#CCCF8D#CCCF8D

#CCCF8D is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.086 H 110.3°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CCCF8D
RGBrgb(204, 207, 141)
HSLhsl(63, 41%, 68%)
HSVhsv(63, 32%, 81%)
CMYKcmyk(1.4%, 0%, 31.9%, 18.8%)
CIE-LABlab(81.50, -11.28, 32.53)
CIE-LCHlch(81.50, 34.43, 109.12°)
OKLaboklab(83.66% -0.0299 0.0808)
OKLCHoklch(83.66% 0.086 110.3)
XYZxyz(52.0226, 59.3869, 33.9164)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF8D #908DCF
analogous
#CFB18D #CCCF8D #ABCF8D
triadic
#CCCF8D #8DCCCF #CF8DCC
tetradic
#CCCF8D #8DCFB1 #908DCF #CF8DAB
square
#CCCF8D #8DCFB1 #908DCF #CF8DAB
split-complementary
#CCCF8D #8DABCF #B18DCF
monochromatic
#9B9F43 #B9BD62 #CCCF8D #DFE1B8 #F3F3E3

Accessibility & contrast

On white

1.63
#CCCF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#CCCF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF8D
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF8D#FFFFFF#000000##000000
##CCCF8D1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C988
Deuteranopia (green-blind)
#DACC90
Tritanopia (blue-blind)
#D5C7BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccf8d;
/* rgb */ color: rgb(204, 207, 141);
/* oklch */ color: oklch(83.7% 0.086 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcddaf',
    500: '#cccf8d',
    950: '#000000',
  },
}
SCSS
$custom: #cccf8d;
$custom-light: #dcddaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf8d",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 141
  },
  "hsl": {
    "h": 62.727,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83657,
    "c": 0.08617,
    "h": 110.3
  },
  "luminance": 0.59386
}

Semantic roles & 50–950 ramp

primary
#CCCF8D
secondary
#5F5CA4
accent
#32B438
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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