#CDC96A#CDC96A

#CDC96A is a light, moderate yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.118 H 106.6°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#CDC96A
RGBrgb(205, 201, 106)
HSLhsl(58, 50%, 61%)
HSVhsv(58, 48%, 80%)
CMYKcmyk(0%, 2%, 48.3%, 19.6%)
CIE-LABlab(79.50, -11.62, 47.58)
CIE-LCHlch(79.50, 48.98, 103.72°)
OKLaboklab(81.92% -0.0336 0.113)
OKLCHoklch(81.92% 0.118 106.6)
XYZxyz(48.6661, 55.7943, 21.8387)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC96A #6A6ECD
analogous
#CD976A #CDC96A #9FCD6A
triadic
#CDC96A #6ACDC9 #C96ACD
tetradic
#CDC96A #6ACD97 #6A6ECD #CD6A9F
square
#CDC96A #6ACD97 #6A6ECD #CD6A9F
split-complementary
#CDC96A #6A9FCD #976ACD
monochromatic
#8D892F #BBB63F #CDC96A #DCDA98 #ECEAC6

Accessibility & contrast

On white

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

On black

12.16
#CDC96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC96A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC96A#FFFFFF#000000##000000
##CDC96A1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C362
Deuteranopia (green-blind)
#D9C76F
Tritanopia (blue-blind)
#D9BEB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc96a;
/* rgb */ color: rgb(205, 201, 106);
/* oklch */ color: oklch(81.9% 0.118 106.6);
Tailwind
colors: {
  custom: {
    50: '#ded997',
    500: '#cdc96a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc96a;
$custom-light: #ded997;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc96a",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 106
  },
  "hsl": {
    "h": 57.576,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81921,
    "c": 0.11793,
    "h": 106.6
  },
  "luminance": 0.55793
}

Semantic roles & 50–950 ramp

primary
#CDC96A
secondary
#474B94
accent
#2EBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC96A

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

Preview Lab → · Contrast checker → · Palette generator →

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