#CDC564#CDC564

#CDC564 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.120 H 104.5°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CDC564
RGBrgb(205, 197, 100)
HSLhsl(55, 51%, 60%)
HSVhsv(55, 51%, 80%)
CMYKcmyk(0%, 3.9%, 51.2%, 19.6%)
CIE-LABlab(78.36, -10.11, 49.11)
CIE-LCHlch(78.36, 50.14, 101.64°)
OKLaboklab(81% -0.0299 0.1159)
OKLCHoklch(81% 0.12 104.5)
XYZxyz(47.4447, 53.8332, 19.9458)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC564 #646CCD
analogous
#CD9164 #CDC564 #A0CD64
triadic
#CDC564 #64CDC5 #C564CD
tetradic
#CDC564 #64CD91 #646CCD #CD64A0
square
#CDC564 #64CD91 #646CCD #CD64A0
split-complementary
#CDC564 #64A0CD #9164CD
monochromatic
#8A832D #B8AF3B #CDC564 #DCD692 #EBE8C1

Accessibility & contrast

On white

1.78
#CDC564 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CDC564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC564
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC564#FFFFFF#000000##000000
##CDC5641.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5B
Deuteranopia (green-blind)
#D6C469
Tritanopia (blue-blind)
#DABAAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc564;
/* rgb */ color: rgb(205, 197, 100);
/* oklch */ color: oklch(81.0% 0.120 104.5);
Tailwind
colors: {
  custom: {
    50: '#ded693',
    500: '#cdc564',
    950: '#000000',
  },
}
SCSS
$custom: #cdc564;
$custom-light: #ded693;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc564",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 100
  },
  "hsl": {
    "h": 55.429,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80998,
    "c": 0.11966,
    "h": 104.5
  },
  "luminance": 0.53832
}

Semantic roles & 50–950 ramp

primary
#CDC564
secondary
#444A91
accent
#58DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC564

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

Preview Lab → · Contrast checker → · Palette generator →

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