#CDCC73#CDCC73

#CDCC73 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.112 H 108.1°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CDCC73
RGBrgb(205, 204, 115)
HSLhsl(59, 47%, 63%)
HSVhsv(59, 44%, 80%)
CMYKcmyk(0%, 0.5%, 43.9%, 19.6%)
CIE-LABlab(80.41, -12.28, 44.29)
CIE-LCHlch(80.41, 45.96, 105.50°)
OKLaboklab(82.68% -0.0347 0.1064)
OKLCHoklch(82.68% 0.112 108.1)
XYZxyz(49.8651, 57.4038, 24.6696)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC73 #7374CD
analogous
#CD9F73 #CDCC73 #A1CD73
triadic
#CDCC73 #73CDCC #CC73CD
tetradic
#CDCC73 #73CD9F #7374CD #CD73A1
square
#CDCC73 #73CD9F #7374CD #CD73A1
split-complementary
#CDCC73 #73A1CD #9F73CD
monochromatic
#929134 #BDBC46 #CDCC73 #DDDCA0 #EDEDCD

Accessibility & contrast

On white

1.68
#CDCC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CDCC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC73
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC73#FFFFFF#000000##000000
##CDCC731.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66C
Deuteranopia (green-blind)
#DBC977
Tritanopia (blue-blind)
#D8C2B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc73;
/* rgb */ color: rgb(205, 204, 115);
/* oklch */ color: oklch(82.7% 0.112 108.1);
Tailwind
colors: {
  custom: {
    50: '#dedb9d',
    500: '#cdcc73',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc73;
$custom-light: #dedb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc73",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 59.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8268,
    "c": 0.11194,
    "h": 108.1
  },
  "luminance": 0.57403
}

Semantic roles & 50–950 ramp

primary
#CDCC73
secondary
#4C4D98
accent
#2CBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCC73

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

Preview Lab → · Contrast checker → · Palette generator →

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