#CDC496#CDC496

#CDC496 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.062 H 98.3°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CDC496
RGBrgb(205, 196, 150)
HSLhsl(50, 35%, 70%)
HSVhsv(50, 27%, 80%)
CMYKcmyk(0%, 4.4%, 26.8%, 19.6%)
CIE-LABlab(78.85, -4.06, 24.29)
CIE-LCHlch(78.85, 24.62, 99.49°)
OKLaboklab(81.62% -0.0089 0.0614)
OKLCHoklch(81.62% 0.062 98.3)
XYZxyz(50.4220, 54.6620, 36.7429)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC496 #969FCD
analogous
#CDA996 #CDC496 #BBCD96
triadic
#CDC496 #96CDC4 #C496CD
tetradic
#CDC496 #96CDA9 #969FCD #CD96BB
square
#CDC496 #96CDA9 #969FCD #CD96BB
split-complementary
#CDC496 #96BBCD #A996CD
monochromatic
#9E904B #B9AD6D #CDC496 #E1DBBF #F4F3E9

Accessibility & contrast

On white

1.76
#CDC496 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CDC496 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC496
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC496#FFFFFF#000000##000000
##CDC4961.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC193
Deuteranopia (green-blind)
#D0C598
Tritanopia (blue-blind)
#D6BDB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc496;
/* rgb */ color: rgb(205, 196, 150);
/* oklch */ color: oklch(81.6% 0.062 98.3);
Tailwind
colors: {
  custom: {
    50: '#ddd5b5',
    500: '#cdc496',
    950: '#000000',
  },
}
SCSS
$custom: #cdc496;
$custom-light: #ddd5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc496",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 150
  },
  "hsl": {
    "h": 50.182,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.81623,
    "c": 0.06203,
    "h": 98.3
  },
  "luminance": 0.54661
}

Semantic roles & 50–950 ramp

primary
#CDC496
secondary
#656FA2
accent
#4BAE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC496

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

Preview Lab → · Contrast checker → · Palette generator →

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