#CDC596#CDC596

#CDC596 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.063 H 99.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CDC596
RGBrgb(205, 197, 150)
HSLhsl(51, 35%, 70%)
HSVhsv(51, 27%, 80%)
CMYKcmyk(0%, 3.9%, 26.8%, 19.6%)
CIE-LABlab(79.11, -4.58, 24.64)
CIE-LCHlch(79.11, 25.06, 100.53°)
OKLaboklab(81.83% -0.0104 0.0622)
OKLCHoklch(81.83% 0.063 99.5)
XYZxyz(50.6483, 55.1147, 36.8184)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC596 #969ECD
analogous
#CDAA96 #CDC596 #BACD96
triadic
#CDC596 #96CDC5 #C596CD
tetradic
#CDC596 #96CDAA #969ECD #CD96BA
square
#CDC596 #96CDAA #969ECD #CD96BA
split-complementary
#CDC596 #96BACD #AA96CD
monochromatic
#9E924B #B9AE6D #CDC596 #E1DCBF #F4F3E9

Accessibility & contrast

On white

1.75
#CDC596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CDC596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC596
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC596#FFFFFF#000000##000000
##CDC5961.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC293
Deuteranopia (green-blind)
#D1C598
Tritanopia (blue-blind)
#D6BEB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc596;
/* rgb */ color: rgb(205, 197, 150);
/* oklch */ color: oklch(81.8% 0.063 99.5);
Tailwind
colors: {
  custom: {
    50: '#ddd6b5',
    500: '#cdc596',
    950: '#000000',
  },
}
SCSS
$custom: #cdc596;
$custom-light: #ddd6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc596",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 150
  },
  "hsl": {
    "h": 51.273,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81829,
    "c": 0.06311,
    "h": 99.5
  },
  "luminance": 0.55114
}

Semantic roles & 50–950 ramp

primary
#CDC596
secondary
#656EA2
accent
#48AE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC596

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

Preview Lab → · Contrast checker → · Palette generator →

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