#CDC960#CDC960

#CDC960 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.128 H 106.9°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CDC960
RGBrgb(205, 201, 96)
HSLhsl(58, 52%, 59%)
HSVhsv(58, 53%, 80%)
CMYKcmyk(0%, 2%, 53.2%, 19.6%)
CIE-LABlab(79.38, -12.48, 52.19)
CIE-LCHlch(79.38, 53.66, 103.45°)
OKLaboklab(81.8% -0.0372 0.1221)
OKLCHoklch(81.8% 0.128 106.9)
XYZxyz(48.1761, 55.5983, 19.2578)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC960 #6064CD
analogous
#CD9360 #CDC960 #9BCD60
triadic
#CDC960 #60CDC9 #C960CD
tetradic
#CDC960 #60CD93 #6064CD #CD609B
square
#CDC960 #60CD93 #6064CD #CD609B
split-complementary
#CDC960 #609BCD #9360CD
monochromatic
#88842B #B6B239 #CDC960 #DCD98F #EAE9BD

Accessibility & contrast

On white

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

On black

12.12
#CDC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC960
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC960#FFFFFF#000000##000000
##CDC9601.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C256
Deuteranopia (green-blind)
#DAC765
Tritanopia (blue-blind)
#DABEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc960;
/* rgb */ color: rgb(205, 201, 96);
/* oklch */ color: oklch(81.8% 0.128 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded990',
    500: '#cdc960',
    950: '#000000',
  },
}
SCSS
$custom: #cdc960;
$custom-light: #ded990;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc960",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 57.798,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81796,
    "c": 0.12767,
    "h": 106.9
  },
  "luminance": 0.55597
}

Semantic roles & 50–950 ramp

primary
#CDC960
secondary
#42458F
accent
#51DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC960

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

Preview Lab → · Contrast checker → · Palette generator →

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