#CCCA98#CCCA98

#CCCA98 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.066 H 105.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CCCA98
RGBrgb(204, 202, 152)
HSLhsl(58, 34%, 70%)
HSVhsv(58, 25%, 80%)
CMYKcmyk(0%, 1%, 25.5%, 20%)
CIE-LABlab(80.37, -7.28, 25.29)
CIE-LCHlch(80.37, 26.32, 106.06°)
OKLaboklab(82.82% -0.0181 0.0638)
OKLCHoklch(82.82% 0.066 105.8)
XYZxyz(51.6899, 57.3462, 38.0456)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA98 #989ACC
analogous
#CCB098 #CCCA98 #B4CC98
triadic
#CCCA98 #98CCCA #CA98CC
tetradic
#CCCA98 #98CCB0 #989ACC #CC98B4
square
#CCCA98 #98CCB0 #989ACC #CC98B4
split-complementary
#CCCA98 #98B4CC #B098CC
monochromatic
#9C994D #B8B56F #CCCA98 #E0DFC1 #F5F4EA

Accessibility & contrast

On white

1.68
#CCCA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#CCCA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA98
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA98#FFFFFF#000000##000000
##CCCA981.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C695
Deuteranopia (green-blind)
#D4C99A
Tritanopia (blue-blind)
#D4C3BD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca98;
/* rgb */ color: rgb(204, 202, 152);
/* oklch */ color: oklch(82.8% 0.066 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcdab6',
    500: '#ccca98',
    950: '#000000',
  },
}
SCSS
$custom: #ccca98;
$custom-light: #dcdab6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca98",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 152
  },
  "hsl": {
    "h": 57.692,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.82824,
    "c": 0.06636,
    "h": 105.8
  },
  "luminance": 0.57345
}

Semantic roles & 50–950 ramp

primary
#CCCA98
secondary
#6769A1
accent
#3DAD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCA98

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

Preview Lab → · Contrast checker → · Palette generator →

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