#CCCB98#CCCB98

#CCCB98 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.068 H 106.8°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CCCB98
RGBrgb(204, 203, 152)
HSLhsl(59, 34%, 70%)
HSVhsv(59, 25%, 80%)
CMYKcmyk(0%, 0.5%, 25.5%, 20%)
CIE-LABlab(80.64, -7.80, 25.65)
CIE-LCHlch(80.64, 26.81, 106.90°)
OKLaboklab(83.03% -0.0196 0.0647)
OKLCHoklch(83.03% 0.068 106.8)
XYZxyz(51.9253, 57.8170, 38.1241)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB98 #9899CC
analogous
#CCB198 #CCCB98 #B3CC98
triadic
#CCCB98 #98CCCB #CB98CC
tetradic
#CCCB98 #98CCB1 #9899CC #CC98B3
square
#CCCB98 #98CCB1 #9899CC #CC98B3
split-complementary
#CCCB98 #98B3CC #B198CC
monochromatic
#9C9B4D #B8B66F #CCCB98 #E0E0C1 #F5F4EA

Accessibility & contrast

On white

1.67
#CCCB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CCCB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB98
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB98#FFFFFF#000000##000000
##CCCB981.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C795
Deuteranopia (green-blind)
#D5C99A
Tritanopia (blue-blind)
#D4C4BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccb98;
/* rgb */ color: rgb(204, 203, 152);
/* oklch */ color: oklch(83.0% 0.068 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcdab6',
    500: '#cccb98',
    950: '#000000',
  },
}
SCSS
$custom: #cccb98;
$custom-light: #dcdab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb98",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 152
  },
  "hsl": {
    "h": 58.846,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83032,
    "c": 0.0676,
    "h": 106.8
  },
  "luminance": 0.57816
}

Semantic roles & 50–950 ramp

primary
#CCCB98
secondary
#6768A1
accent
#3BAD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCB98

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

Preview Lab → · Contrast checker → · Palette generator →

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