#CDC173#CDC173

#CDC173 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.100 H 100.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CDC173
RGBrgb(205, 193, 115)
HSLhsl(52, 47%, 63%)
HSVhsv(52, 44%, 80%)
CMYKcmyk(0%, 5.9%, 43.9%, 19.6%)
CIE-LABlab(77.49, -6.65, 40.67)
CIE-LCHlch(77.49, 41.21, 99.28°)
OKLaboklab(80.37% -0.0185 0.0983)
OKLCHoklch(80.37% 0.1 100.7)
XYZxyz(47.3424, 52.3583, 23.8287)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC173 #737FCD
analogous
#CD9473 #CDC173 #ACCD73
triadic
#CDC173 #73CDC1 #C173CD
tetradic
#CDC173 #73CD94 #737FCD #CD73AC
square
#CDC173 #73CD94 #737FCD #CD73AC
split-complementary
#CDC173 #73ACCD #9473CD
monochromatic
#928534 #BDAD46 #CDC173 #DDD5A0 #EDE9CD

Accessibility & contrast

On white

1.83
#CDC173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CDC173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC173
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC173#FFFFFF#000000##000000
##CDC1731.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD6D
Deuteranopia (green-blind)
#D2C276
Tritanopia (blue-blind)
#D9B7AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc173;
/* rgb */ color: rgb(205, 193, 115);
/* oklch */ color: oklch(80.4% 0.100 100.7);
Tailwind
colors: {
  custom: {
    50: '#ded39c',
    500: '#cdc173',
    950: '#000000',
  },
}
SCSS
$custom: #cdc173;
$custom-light: #ded39c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc173",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 115
  },
  "hsl": {
    "h": 52,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80369,
    "c": 0.10006,
    "h": 100.7
  },
  "luminance": 0.52357
}

Semantic roles & 50–950 ramp

primary
#CDC173
secondary
#4C5698
accent
#3EBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC173

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

Preview Lab → · Contrast checker → · Palette generator →

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