#CDC373#CDC373

#CDC373 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.102 H 102.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CDC373
RGBrgb(205, 195, 115)
HSLhsl(53, 47%, 63%)
HSVhsv(53, 44%, 80%)
CMYKcmyk(0%, 4.9%, 43.9%, 19.6%)
CIE-LABlab(78.02, -7.68, 41.33)
CIE-LCHlch(78.02, 42.04, 100.53°)
OKLaboklab(80.79% -0.0215 0.0998)
OKLCHoklch(80.79% 0.102 102.1)
XYZxyz(47.7875, 53.2486, 23.9770)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC373 #737DCD
analogous
#CD9673 #CDC373 #AACD73
triadic
#CDC373 #73CDC3 #C373CD
tetradic
#CDC373 #73CD96 #737DCD #CD73AA
square
#CDC373 #73CD96 #737DCD #CD73AA
split-complementary
#CDC373 #73AACD #9673CD
monochromatic
#928734 #BDB046 #CDC373 #DDD6A0 #EDEACD

Accessibility & contrast

On white

1.80
#CDC373 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CDC373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC373
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC373#FFFFFF#000000##000000
##CDC3731.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6D
Deuteranopia (green-blind)
#D3C376
Tritanopia (blue-blind)
#D9B9B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc373;
/* rgb */ color: rgb(205, 195, 115);
/* oklch */ color: oklch(80.8% 0.102 102.1);
Tailwind
colors: {
  custom: {
    50: '#ded59c',
    500: '#cdc373',
    950: '#000000',
  },
}
SCSS
$custom: #cdc373;
$custom-light: #ded59c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc373",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 115
  },
  "hsl": {
    "h": 53.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80787,
    "c": 0.1021,
    "h": 102.1
  },
  "luminance": 0.53247
}

Semantic roles & 50–950 ramp

primary
#CDC373
secondary
#4C5598
accent
#3BBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC373

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

Preview Lab → · Contrast checker → · Palette generator →

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