#CDC573#CDC573

#CDC573 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.104 H 103.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CDC573
RGBrgb(205, 197, 115)
HSLhsl(55, 47%, 63%)
HSVhsv(55, 44%, 80%)
CMYKcmyk(0%, 3.9%, 43.9%, 19.6%)
CIE-LABlab(78.55, -8.71, 41.99)
CIE-LCHlch(78.55, 42.88, 101.72°)
OKLaboklab(81.21% -0.0244 0.1013)
OKLCHoklch(81.21% 0.104 103.6)
XYZxyz(48.2386, 54.1508, 24.1274)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC573 #737BCD
analogous
#CD9873 #CDC573 #A8CD73
triadic
#CDC573 #73CDC5 #C573CD
tetradic
#CDC573 #73CD98 #737BCD #CD73A8
square
#CDC573 #73CD98 #737BCD #CD73A8
split-complementary
#CDC573 #73A8CD #9873CD
monochromatic
#928934 #BDB246 #CDC573 #DDD8A0 #EDEACD

Accessibility & contrast

On white

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

On black

11.83
#CDC573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC573
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC573#FFFFFF#000000##000000
##CDC5731.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06C
Deuteranopia (green-blind)
#D5C477
Tritanopia (blue-blind)
#D9BBB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc573;
/* rgb */ color: rgb(205, 197, 115);
/* oklch */ color: oklch(81.2% 0.104 103.6);
Tailwind
colors: {
  custom: {
    50: '#ded69d',
    500: '#cdc573',
    950: '#000000',
  },
}
SCSS
$custom: #cdc573;
$custom-light: #ded69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc573",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 115
  },
  "hsl": {
    "h": 54.667,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81205,
    "c": 0.1042,
    "h": 103.6
  },
  "luminance": 0.54149
}

Semantic roles & 50–950 ramp

primary
#CDC573
secondary
#4C5398
accent
#38BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC573

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

Preview Lab → · Contrast checker → · Palette generator →

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