#CCCA97#CCCA97

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

Color values

HEX#CCCA97
RGBrgb(204, 202, 151)
HSLhsl(58, 34%, 70%)
HSVhsv(58, 26%, 80%)
CMYKcmyk(0%, 1%, 26%, 20%)
CIE-LABlab(80.36, -7.42, 25.79)
CIE-LCHlch(80.36, 26.84, 106.04°)
OKLaboklab(82.8% -0.0185 0.065)
OKLCHoklch(82.8% 0.068 105.9)
XYZxyz(51.6083, 57.3136, 37.6161)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA97 #9799CC
analogous
#CCB097 #CCCA97 #B4CC97
triadic
#CCCA97 #97CCCA #CA97CC
tetradic
#CCCA97 #97CCB0 #9799CC #CC97B4
square
#CCCA97 #97CCB0 #9799CC #CC97B4
split-complementary
#CCCA97 #97B4CC #B097CC
monochromatic
#9C994D #B8B56E #CCCA97 #E0DFC0 #F4F4E9

Accessibility & contrast

On white

1.69
#CCCA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CCCA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA97
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA97#FFFFFF#000000##000000
##CCCA971.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C694
Deuteranopia (green-blind)
#D4C999
Tritanopia (blue-blind)
#D4C3BC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca97;
/* rgb */ color: rgb(204, 202, 151);
/* oklch */ color: oklch(82.8% 0.068 105.9);
Tailwind
colors: {
  custom: {
    50: '#dcdab6',
    500: '#ccca97',
    950: '#000000',
  },
}
SCSS
$custom: #ccca97;
$custom-light: #dcdab6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca97",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 151
  },
  "hsl": {
    "h": 57.736,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.82803,
    "c": 0.06762,
    "h": 105.9
  },
  "luminance": 0.57313
}

Semantic roles & 50–950 ramp

primary
#CCCA97
secondary
#6668A1
accent
#3DAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCA97

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

Preview Lab → · Contrast checker → · Palette generator →

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