#CCCF98#CCCF98

#CCCF98 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.9% C 0.073 H 110.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#CCCF98
RGBrgb(204, 207, 152)
HSLhsl(63, 36%, 70%)
HSVhsv(63, 27%, 81%)
CMYKcmyk(1.4%, 0%, 26.6%, 18.8%)
CIE-LABlab(81.69, -9.85, 27.08)
CIE-LCHlch(81.69, 28.81, 109.98°)
OKLaboklab(83.87% -0.0254 0.0681)
OKLCHoklch(83.87% 0.073 110.5)
XYZxyz(52.8821, 59.7306, 38.4430)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF98 #9B98CF
analogous
#CFB698 #CCCF98 #B0CF98
triadic
#CCCF98 #98CCCF #CF98CC
tetradic
#CCCF98 #98CFB6 #9B98CF #CF98B0
square
#CCCF98 #98CFB6 #9B98CF #CF98B0
split-complementary
#CCCF98 #98B0CF #B698CF
monochromatic
#9DA14B #B7BC6E #CCCF98 #E1E2C2 #F5F5EA

Accessibility & contrast

On white

1.62
#CCCF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#CCCF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF98
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF98#FFFFFF#000000##000000
##CCCF981.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA94
Deuteranopia (green-blind)
#D8CC9A
Tritanopia (blue-blind)
#D3C8C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cccf98;
/* rgb */ color: rgb(204, 207, 152);
/* oklch */ color: oklch(83.9% 0.073 110.5);
Tailwind
colors: {
  custom: {
    50: '#dcddb6',
    500: '#cccf98',
    950: '#000000',
  },
}
SCSS
$custom: #cccf98;
$custom-light: #dcddb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf98",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 152
  },
  "hsl": {
    "h": 63.273,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83868,
    "c": 0.07272,
    "h": 110.5
  },
  "luminance": 0.5973
}

Semantic roles & 50–950 ramp

primary
#CCCF98
secondary
#6A67A5
accent
#36AF3D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCF98

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

Preview Lab → · Contrast checker → · Palette generator →

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