#CDC196#CDC196

#CDC196 is a light, muted yellow. Relative luminance 0.533; OKLCH L 81.0% C 0.059 H 94.3°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CDC196
RGBrgb(205, 193, 150)
HSLhsl(47, 35%, 70%)
HSVhsv(47, 27%, 80%)
CMYKcmyk(0%, 5.9%, 26.8%, 19.6%)
CIE-LABlab(78.06, -2.49, 23.22)
CIE-LCHlch(78.06, 23.36, 96.13°)
OKLaboklab(81.01% -0.0044 0.0588)
OKLCHoklch(81.01% 0.059 94.3)
XYZxyz(49.7521, 53.3222, 36.5196)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC196 #96A2CD
analogous
#CDA696 #CDC196 #BECD96
triadic
#CDC196 #96CDC1 #C196CD
tetradic
#CDC196 #96CDA6 #96A2CD #CD96BE
square
#CDC196 #96CDA6 #96A2CD #CD96BE
split-complementary
#CDC196 #96BECD #A696CD
monochromatic
#9E8C4B #B9A96D #CDC196 #E1D9BF #F4F2E9

Accessibility & contrast

On white

1.80
#CDC196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CDC196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC196
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC196#FFFFFF#000000##000000
##CDC1961.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF93
Deuteranopia (green-blind)
#CDC397
Tritanopia (blue-blind)
#D6BAB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc196;
/* rgb */ color: rgb(205, 193, 150);
/* oklch */ color: oklch(81.0% 0.059 94.3);
Tailwind
colors: {
  custom: {
    50: '#ddd3b5',
    500: '#cdc196',
    950: '#000000',
  },
}
SCSS
$custom: #cdc196;
$custom-light: #ddd3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc196",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 150
  },
  "hsl": {
    "h": 46.909,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81006,
    "c": 0.05898,
    "h": 94.3
  },
  "luminance": 0.53321
}

Semantic roles & 50–950 ramp

primary
#CDC196
secondary
#6572A2
accent
#51AE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC196

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

Preview Lab → · Contrast checker → · Palette generator →

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