#CDC560#CDC560

#CDC560 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.124 H 104.7°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CDC560
RGBrgb(205, 197, 96)
HSLhsl(56, 52%, 59%)
HSVhsv(56, 53%, 80%)
CMYKcmyk(0%, 3.9%, 53.2%, 19.6%)
CIE-LABlab(78.32, -10.45, 50.95)
CIE-LCHlch(78.32, 52.02, 101.59°)
OKLaboklab(80.95% -0.0314 0.1195)
OKLCHoklch(80.95% 0.124 104.7)
XYZxyz(47.2558, 53.7577, 18.9511)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC560 #6068CD
analogous
#CD8F60 #CDC560 #9FCD60
triadic
#CDC560 #60CDC5 #C560CD
tetradic
#CDC560 #60CD8F #6068CD #CD609F
square
#CDC560 #60CD8F #6068CD #CD609F
split-complementary
#CDC560 #609FCD #8F60CD
monochromatic
#88812B #B6AD39 #CDC560 #DCD68F #EAE7BD

Accessibility & contrast

On white

1.79
#CDC560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CDC560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC560
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC560#FFFFFF#000000##000000
##CDC5601.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#DABAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc560;
/* rgb */ color: rgb(205, 197, 96);
/* oklch */ color: oklch(80.9% 0.124 104.7);
Tailwind
colors: {
  custom: {
    50: '#ded690',
    500: '#cdc560',
    950: '#000000',
  },
}
SCSS
$custom: #cdc560;
$custom-light: #ded690;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc560",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 96
  },
  "hsl": {
    "h": 55.596,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80949,
    "c": 0.12351,
    "h": 104.7
  },
  "luminance": 0.53756
}

Semantic roles & 50–950 ramp

primary
#CDC560
secondary
#42488F
accent
#57DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC560

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

Preview Lab → · Contrast checker → · Palette generator →

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