#CCCF8B#CCCF8B

#CCCF8B is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.089 H 110.3°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#CCCF8B
RGBrgb(204, 207, 139)
HSLhsl(63, 41%, 68%)
HSVhsv(63, 33%, 81%)
CMYKcmyk(1.4%, 0%, 32.9%, 18.8%)
CIE-LABlab(81.47, -11.52, 33.52)
CIE-LCHlch(81.47, 35.45, 108.97°)
OKLaboklab(83.62% -0.0307 0.0831)
OKLCHoklch(83.62% 0.089 110.3)
XYZxyz(51.8752, 59.3279, 33.1398)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF8B #8E8BCF
analogous
#CFB08B #CCCF8B #AACF8B
triadic
#CCCF8B #8BCCCF #CF8BCC
tetradic
#CCCF8B #8BCFB0 #8E8BCF #CF8BAA
square
#CCCF8B #8BCFB0 #8E8BCF #CF8BAA
split-complementary
#CCCF8B #8BAACF #B08BCF
monochromatic
#9A9E41 #B9BD60 #CCCF8B #DFE1B6 #F2F3E2

Accessibility & contrast

On white

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

On black

12.87
#CCCF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF8B
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF8B#FFFFFF#000000##000000
##CCCF8B1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccf8b;
/* rgb */ color: rgb(204, 207, 139);
/* oklch */ color: oklch(83.6% 0.089 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcddad',
    500: '#cccf8b',
    950: '#000000',
  },
}
SCSS
$custom: #cccf8b;
$custom-light: #dcddad;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf8b",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 139
  },
  "hsl": {
    "h": 62.647,
    "s": 41.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83621,
    "c": 0.08856,
    "h": 110.3
  },
  "luminance": 0.59327
}

Semantic roles & 50–950 ramp

primary
#CCCF8B
secondary
#5D5AA4
accent
#31B537
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCCF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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