#CCCE96#CCCE96

#CCCE96 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.074 H 109.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CCCE96
RGBrgb(204, 206, 150)
HSLhsl(62, 36%, 70%)
HSVhsv(62, 27%, 81%)
CMYKcmyk(1%, 0%, 27.2%, 19.2%)
CIE-LABlab(81.39, -9.60, 27.72)
CIE-LCHlch(81.39, 29.33, 109.11°)
OKLaboklab(83.62% -0.0248 0.0696)
OKLCHoklch(83.62% 0.074 109.6)
XYZxyz(52.4782, 59.1827, 37.5071)
Luminance0.5918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE96 #9896CE
analogous
#CEB496 #CCCE96 #B0CE96
triadic
#CCCE96 #96CCCE #CE96CC
tetradic
#CCCE96 #96CEB4 #9896CE #CE96B0
square
#CCCE96 #96CEB4 #9896CE #CE96B0
split-complementary
#CCCE96 #96B0CE #B496CE
monochromatic
#9C9F4A #B8BB6C #CCCE96 #E0E1C0 #F5F5E9

Accessibility & contrast

On white

1.64
#CCCE96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CCCE96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE96
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE96#FFFFFF#000000##000000
##CCCE961.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C992
Deuteranopia (green-blind)
#D8CB98
Tritanopia (blue-blind)
#D4C7BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccce96;
/* rgb */ color: rgb(204, 206, 150);
/* oklch */ color: oklch(83.6% 0.074 109.6);
Tailwind
colors: {
  custom: {
    50: '#dcdcb5',
    500: '#ccce96',
    950: '#000000',
  },
}
SCSS
$custom: #ccce96;
$custom-light: #dcdcb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce96",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 150
  },
  "hsl": {
    "h": 62.143,
    "s": 36.364,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83618,
    "c": 0.07391,
    "h": 109.6
  },
  "luminance": 0.59182
}

Semantic roles & 50–950 ramp

primary
#CCCE96
secondary
#6765A3
accent
#36AF3B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCE96

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

Preview Lab → · Contrast checker → · Palette generator →

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