#CDCD73#CDCD73

#CDCD73 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.113 H 108.6°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CDCD73
RGBrgb(205, 205, 115)
HSLhsl(60, 47%, 63%)
HSVhsv(60, 44%, 80%)
CMYKcmyk(0%, 0%, 43.9%, 19.6%)
CIE-LABlab(80.67, -12.79, 44.62)
CIE-LCHlch(80.67, 46.42, 105.99°)
OKLaboklab(82.89% -0.0361 0.1072)
OKLCHoklch(82.89% 0.113 108.6)
XYZxyz(50.1036, 57.8807, 24.7491)
Luminance0.5788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD73 #7373CD
analogous
#CDA073 #CDCD73 #A0CD73
triadic
#CDCD73 #73CDCD #CD73CD
tetradic
#CDCD73 #73CDA0 #7373CD #CD73A0
square
#CDCD73 #73CDA0 #7373CD #CD73A0
split-complementary
#CDCD73 #73A0CD #A073CD
monochromatic
#929234 #BDBD46 #CDCD73 #DDDDA0 #EDEDCD

Accessibility & contrast

On white

1.67
#CDCD73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#CDCD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD73
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD73#FFFFFF#000000##000000
##CDCD731.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66C
Deuteranopia (green-blind)
#DBCA77
Tritanopia (blue-blind)
#D8C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd73;
/* rgb */ color: rgb(205, 205, 115);
/* oklch */ color: oklch(82.9% 0.113 108.6);
Tailwind
colors: {
  custom: {
    50: '#dedc9d',
    500: '#cdcd73',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd73;
$custom-light: #dedc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd73",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 60,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82892,
    "c": 0.11309,
    "h": 108.6
  },
  "luminance": 0.5788
}

Semantic roles & 50–950 ramp

primary
#CDCD73
secondary
#4C4C98
accent
#2BBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD73

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

Preview Lab → · Contrast checker → · Palette generator →

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