#CDC073#CDC073

#CDC073 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.099 H 99.9°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CDC073
RGBrgb(205, 192, 115)
HSLhsl(51, 47%, 63%)
HSVhsv(51, 44%, 80%)
CMYKcmyk(0%, 6.3%, 43.9%, 19.6%)
CIE-LABlab(77.23, -6.13, 40.34)
CIE-LCHlch(77.23, 40.81, 98.64°)
OKLaboklab(80.16% -0.017 0.0976)
OKLCHoklch(80.16% 0.099 99.9)
XYZxyz(47.1221, 51.9177, 23.7552)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC073 #7380CD
analogous
#CD9373 #CDC073 #ADCD73
triadic
#CDC073 #73CDC0 #C073CD
tetradic
#CDC073 #73CD93 #7380CD #CD73AD
square
#CDC073 #73CD93 #7380CD #CD73AD
split-complementary
#CDC073 #73ADCD #9373CD
monochromatic
#928434 #BDAC46 #CDC073 #DDD4A0 #EDE9CD

Accessibility & contrast

On white

1.84
#CDC073 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CDC073 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC073
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC073#FFFFFF#000000##000000
##CDC0731.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC6D
Deuteranopia (green-blind)
#D1C176
Tritanopia (blue-blind)
#D9B6AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc073;
/* rgb */ color: rgb(205, 192, 115);
/* oklch */ color: oklch(80.2% 0.099 99.9);
Tailwind
colors: {
  custom: {
    50: '#ded29c',
    500: '#cdc073',
    950: '#000000',
  },
}
SCSS
$custom: #cdc073;
$custom-light: #ded29c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc073",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 115
  },
  "hsl": {
    "h": 51.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80161,
    "c": 0.09906,
    "h": 99.9
  },
  "luminance": 0.51916
}

Semantic roles & 50–950 ramp

primary
#CDC073
secondary
#4C5798
accent
#40BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC073

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

Preview Lab → · Contrast checker → · Palette generator →

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