#CDC561#CDC561

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

Color values

HEX#CDC561
RGBrgb(205, 197, 97)
HSLhsl(56, 52%, 59%)
HSVhsv(56, 53%, 80%)
CMYKcmyk(0%, 3.9%, 52.7%, 19.6%)
CIE-LABlab(78.33, -10.37, 50.50)
CIE-LCHlch(78.33, 51.55, 101.60°)
OKLaboklab(80.96% -0.031 0.1186)
OKLCHoklch(80.96% 0.123 104.7)
XYZxyz(47.3021, 53.7762, 19.1951)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC561 #6169CD
analogous
#CD8F61 #CDC561 #9FCD61
triadic
#CDC561 #61CDC5 #C561CD
tetradic
#CDC561 #61CD8F #6169CD #CD619F
square
#CDC561 #61CD8F #6169CD #CD619F
split-complementary
#CDC561 #619FCD #8F61CD
monochromatic
#88822B #B7AE3A #CDC561 #DCD68F #EAE7BE

Accessibility & contrast

On white

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

On black

11.76
#CDC561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC561
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC561#FFFFFF#000000##000000
##CDC5611.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc561;
/* rgb */ color: rgb(205, 197, 97);
/* oklch */ color: oklch(81.0% 0.123 104.7);
Tailwind
colors: {
  custom: {
    50: '#ded691',
    500: '#cdc561',
    950: '#000000',
  },
}
SCSS
$custom: #cdc561;
$custom-light: #ded691;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc561",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 97
  },
  "hsl": {
    "h": 55.556,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80961,
    "c": 0.12257,
    "h": 104.7
  },
  "luminance": 0.53775
}

Semantic roles & 50–950 ramp

primary
#CDC561
secondary
#43498F
accent
#57DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC561

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

Preview Lab → · Contrast checker → · Palette generator →

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