#CDC773#CDC773

#CDC773 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.106 H 104.9°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CDC773
RGBrgb(205, 199, 115)
HSLhsl(56, 47%, 63%)
HSVhsv(56, 44%, 80%)
CMYKcmyk(0%, 2.9%, 43.9%, 19.6%)
CIE-LABlab(79.08, -9.74, 42.65)
CIE-LCHlch(79.08, 43.75, 102.86°)
OKLaboklab(81.63% -0.0274 0.1028)
OKLCHoklch(81.63% 0.106 104.9)
XYZxyz(48.6958, 55.0651, 24.2798)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC773 #7379CD
analogous
#CD9A73 #CDC773 #A6CD73
triadic
#CDC773 #73CDC7 #C773CD
tetradic
#CDC773 #73CD9A #7379CD #CD73A6
square
#CDC773 #73CD9A #7379CD #CD73A6
split-complementary
#CDC773 #73A6CD #9A73CD
monochromatic
#928B34 #BDB546 #CDC773 #DDD9A0 #EDEBCD

Accessibility & contrast

On white

1.75
#CDC773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#CDC773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC773
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC773#FFFFFF#000000##000000
##CDC7731.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16C
Deuteranopia (green-blind)
#D7C677
Tritanopia (blue-blind)
#D9BDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc773;
/* rgb */ color: rgb(205, 199, 115);
/* oklch */ color: oklch(81.6% 0.106 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded79d',
    500: '#cdc773',
    950: '#000000',
  },
}
SCSS
$custom: #cdc773;
$custom-light: #ded79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc773",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 115
  },
  "hsl": {
    "h": 56,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81625,
    "c": 0.10635,
    "h": 104.9
  },
  "luminance": 0.55064
}

Semantic roles & 50–950 ramp

primary
#CDC773
secondary
#4C5198
accent
#34BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC773

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

Preview Lab → · Contrast checker → · Palette generator →

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