#CCCD99#CCCD99

#CCCD99 is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.069 H 108.7°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CCCD99
RGBrgb(204, 205, 153)
HSLhsl(61, 34%, 70%)
HSVhsv(61, 25%, 80%)
CMYKcmyk(0.5%, 0%, 25.4%, 19.6%)
CIE-LABlab(81.18, -8.69, 25.86)
CIE-LCHlch(81.18, 27.28, 108.56°)
OKLaboklab(83.47% -0.0221 0.0652)
OKLCHoklch(83.47% 0.069 108.7)
XYZxyz(52.4829, 58.8006, 38.7157)
Luminance0.5880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD99 #9A99CD
analogous
#CDB499 #CCCD99 #B2CD99
triadic
#CCCD99 #99CCCD #CD99CC
tetradic
#CCCD99 #99CDB4 #9A99CD #CD99B2
square
#CCCD99 #99CDB4 #9A99CD #CD99B2
split-complementary
#CCCD99 #99B2CD #B499CD
monochromatic
#9D9E4D #B7B970 #CCCD99 #E1E1C2 #F5F5EA

Accessibility & contrast

On white

1.65
#CCCD99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CCCD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD99
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD99#FFFFFF#000000##000000
##CCCD991.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C896
Deuteranopia (green-blind)
#D6CB9B
Tritanopia (blue-blind)
#D3C7BF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccd99;
/* rgb */ color: rgb(204, 205, 153);
/* oklch */ color: oklch(83.5% 0.069 108.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcb7',
    500: '#cccd99',
    950: '#000000',
  },
}
SCSS
$custom: #cccd99;
$custom-light: #dcdcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd99",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 61.154,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.8347,
    "c": 0.06888,
    "h": 108.7
  },
  "luminance": 0.588
}

Semantic roles & 50–950 ramp

primary
#CCCD99
secondary
#6968A2
accent
#38AD3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCCD99

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

Preview Lab → · Contrast checker → · Palette generator →

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