#CCCF8A#CCCF8A

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

Color values

HEX#CCCF8A
RGBrgb(204, 207, 138)
HSLhsl(63, 42%, 68%)
HSVhsv(63, 33%, 81%)
CMYKcmyk(1.4%, 0%, 33.3%, 18.8%)
CIE-LABlab(81.46, -11.65, 34.01)
CIE-LCHlch(81.46, 35.95, 108.90°)
OKLaboklab(83.6% -0.0311 0.0842)
OKLCHoklch(83.6% 0.09 110.3)
XYZxyz(51.8024, 59.2988, 32.7567)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF8A #8D8ACF
analogous
#CFB08A #CCCF8A #A9CF8A
triadic
#CCCF8A #8ACCCF #CF8ACC
tetradic
#CCCF8A #8ACFB0 #8D8ACF #CF8AA9
square
#CCCF8A #8ACFB0 #8D8ACF #CF8AA9
split-complementary
#CCCF8A #8AA9CF #B08ACF
monochromatic
#9A9E41 #B9BD5F #CCCF8A #DFE1B5 #F2F3E1

Accessibility & contrast

On white

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

On black

12.86
#CCCF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF8A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF8A#FFFFFF#000000##000000
##CCCF8A1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C985
Deuteranopia (green-blind)
#DACC8D
Tritanopia (blue-blind)
#D5C7BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccf8a;
/* rgb */ color: rgb(204, 207, 138);
/* oklch */ color: oklch(83.6% 0.090 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcddad',
    500: '#cccf8a',
    950: '#000000',
  },
}
SCSS
$custom: #cccf8a;
$custom-light: #dcddad;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf8a",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 62.609,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83603,
    "c": 0.08974,
    "h": 110.3
  },
  "luminance": 0.59298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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