#CDC696#CDC696

#CDC696 is a very light, moderate yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.064 H 100.7°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CDC696
RGBrgb(205, 198, 150)
HSLhsl(52, 35%, 70%)
HSVhsv(52, 27%, 80%)
CMYKcmyk(0%, 3.4%, 26.8%, 19.6%)
CIE-LABlab(79.37, -5.10, 25.00)
CIE-LCHlch(79.37, 25.51, 101.53°)
OKLaboklab(82.04% -0.0119 0.0631)
OKLCHoklch(82.04% 0.064 100.7)
XYZxyz(50.8761, 55.5703, 36.8943)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC696 #969DCD
analogous
#CDAB96 #CDC696 #B9CD96
triadic
#CDC696 #96CDC6 #C696CD
tetradic
#CDC696 #96CDAB #969DCD #CD96B9
square
#CDC696 #96CDAB #969DCD #CD96B9
split-complementary
#CDC696 #96B9CD #AB96CD
monochromatic
#9E934B #B9AF6D #CDC696 #E1DDBF #F4F3E9

Accessibility & contrast

On white

1.73
#CDC696 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CDC696 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC696
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC696#FFFFFF#000000##000000
##CDC6961.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC393
Deuteranopia (green-blind)
#D1C698
Tritanopia (blue-blind)
#D5BFB9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc696;
/* rgb */ color: rgb(205, 198, 150);
/* oklch */ color: oklch(82.0% 0.064 100.7);
Tailwind
colors: {
  custom: {
    50: '#ddd7b5',
    500: '#cdc696',
    950: '#000000',
  },
}
SCSS
$custom: #cdc696;
$custom-light: #ddd7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc696",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 150
  },
  "hsl": {
    "h": 52.364,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.82036,
    "c": 0.06421,
    "h": 100.7
  },
  "luminance": 0.55569
}

Semantic roles & 50–950 ramp

primary
#CDC696
secondary
#656DA2
accent
#46AE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC696

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

Preview Lab → · Contrast checker → · Palette generator →

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