#CDCC96#CDCC96

#CDCC96 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.3% C 0.071 H 107.0°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CDCC96
RGBrgb(205, 204, 150)
HSLhsl(59, 35%, 70%)
HSVhsv(59, 27%, 80%)
CMYKcmyk(0%, 0.5%, 26.8%, 19.6%)
CIE-LABlab(80.94, -8.20, 27.13)
CIE-LCHlch(80.94, 28.34, 106.82°)
OKLaboklab(83.28% -0.0208 0.0682)
OKLCHoklch(83.28% 0.071 107)
XYZxyz(52.2748, 58.3677, 37.3605)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC96 #9697CD
analogous
#CDB196 #CDCC96 #B3CD96
triadic
#CDCC96 #96CDCC #CC96CD
tetradic
#CDCC96 #96CDB1 #9697CD #CD96B3
square
#CDCC96 #96CDB1 #9697CD #CD96B3
split-complementary
#CDCC96 #96B3CD #B196CD
monochromatic
#9E9C4B #B9B86D #CDCC96 #E1E0BF #F4F4E9

Accessibility & contrast

On white

1.66
#CDCC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CDCC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC96
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC96#FFFFFF#000000##000000
##CDCC961.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C892
Deuteranopia (green-blind)
#D6CA98
Tritanopia (blue-blind)
#D5C5BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcc96;
/* rgb */ color: rgb(205, 204, 150);
/* oklch */ color: oklch(83.3% 0.071 107.0);
Tailwind
colors: {
  custom: {
    50: '#dddbb5',
    500: '#cdcc96',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc96;
$custom-light: #dddbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc96",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 150
  },
  "hsl": {
    "h": 58.909,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83282,
    "c": 0.0713,
    "h": 107
  },
  "luminance": 0.58367
}

Semantic roles & 50–950 ramp

primary
#CDCC96
secondary
#6566A2
accent
#39AE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCC96

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

Preview Lab → · Contrast checker → · Palette generator →

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