#CDC473#CDC473

#CDC473 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.103 H 102.9°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CDC473
RGBrgb(205, 196, 115)
HSLhsl(54, 47%, 63%)
HSVhsv(54, 44%, 80%)
CMYKcmyk(0%, 4.4%, 43.9%, 19.6%)
CIE-LABlab(78.29, -8.20, 41.66)
CIE-LCHlch(78.29, 42.46, 101.13°)
OKLaboklab(81% -0.023 0.1006)
OKLCHoklch(81% 0.103 102.9)
XYZxyz(48.0123, 53.6982, 24.0520)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC473 #737CCD
analogous
#CD9773 #CDC473 #A9CD73
triadic
#CDC473 #73CDC4 #C473CD
tetradic
#CDC473 #73CD97 #737CCD #CD73A9
square
#CDC473 #73CD97 #737CCD #CD73A9
split-complementary
#CDC473 #73A9CD #9773CD
monochromatic
#928834 #BDB146 #CDC473 #DDD7A0 #EDEACD

Accessibility & contrast

On white

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

On black

11.74
#CDC473 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC473
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC473#FFFFFF#000000##000000
##CDC4731.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6C
Deuteranopia (green-blind)
#D4C476
Tritanopia (blue-blind)
#D9BAB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc473;
/* rgb */ color: rgb(205, 196, 115);
/* oklch */ color: oklch(81.0% 0.103 102.9);
Tailwind
colors: {
  custom: {
    50: '#ded59c',
    500: '#cdc473',
    950: '#000000',
  },
}
SCSS
$custom: #cdc473;
$custom-light: #ded59c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc473",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 115
  },
  "hsl": {
    "h": 54,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80996,
    "c": 0.10314,
    "h": 102.9
  },
  "luminance": 0.53697
}

Semantic roles & 50–950 ramp

primary
#CDC473
secondary
#4C5498
accent
#39BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC473

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

Preview Lab → · Contrast checker → · Palette generator →

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