#CDC996#CDC996

#CDC996 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.068 H 104.0°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CDC996
RGBrgb(205, 201, 150)
HSLhsl(56, 35%, 70%)
HSVhsv(56, 27%, 80%)
CMYKcmyk(0%, 2%, 26.8%, 19.6%)
CIE-LABlab(80.15, -6.65, 26.06)
CIE-LCHlch(80.15, 26.90, 104.32°)
OKLaboklab(82.66% -0.0164 0.0657)
OKLCHoklch(82.66% 0.068 104)
XYZxyz(51.5686, 56.9553, 37.1251)
Luminance0.5695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC996 #969ACD
analogous
#CDAE96 #CDC996 #B6CD96
triadic
#CDC996 #96CDC9 #C996CD
tetradic
#CDC996 #96CDAE #969ACD #CD96B6
square
#CDC996 #96CDAE #969ACD #CD96B6
split-complementary
#CDC996 #96B6CD #AE96CD
monochromatic
#9E984B #B9B46D #CDC996 #E1DEBF #F4F4E9

Accessibility & contrast

On white

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

On black

12.39
#CDC996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC996
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC996#FFFFFF#000000##000000
##CDC9961.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C593
Deuteranopia (green-blind)
#D4C898
Tritanopia (blue-blind)
#D5C2BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc996;
/* rgb */ color: rgb(205, 201, 150);
/* oklch */ color: oklch(82.7% 0.068 104.0);
Tailwind
colors: {
  custom: {
    50: '#ddd9b5',
    500: '#cdc996',
    950: '#000000',
  },
}
SCSS
$custom: #cdc996;
$custom-light: #ddd9b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc996",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 150
  },
  "hsl": {
    "h": 55.636,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.82657,
    "c": 0.06767,
    "h": 104
  },
  "luminance": 0.56954
}

Semantic roles & 50–950 ramp

primary
#CDC996
secondary
#6569A2
accent
#40AE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC996

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

Preview Lab → · Contrast checker → · Palette generator →

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