#CDC673#CDC673

#CDC673 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.105 H 104.3°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CDC673
RGBrgb(205, 198, 115)
HSLhsl(55, 47%, 63%)
HSVhsv(55, 44%, 80%)
CMYKcmyk(0%, 3.4%, 43.9%, 19.6%)
CIE-LABlab(78.81, -9.22, 42.32)
CIE-LCHlch(78.81, 43.31, 102.29°)
OKLaboklab(81.42% -0.0259 0.102)
OKLCHoklch(81.42% 0.105 104.3)
XYZxyz(48.4665, 54.6064, 24.2034)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC673 #737ACD
analogous
#CD9973 #CDC673 #A7CD73
triadic
#CDC673 #73CDC6 #C673CD
tetradic
#CDC673 #73CD99 #737ACD #CD73A7
square
#CDC673 #73CD99 #737ACD #CD73A7
split-complementary
#CDC673 #73A7CD #9973CD
monochromatic
#928A34 #BDB446 #CDC673 #DDD8A0 #EDEBCD

Accessibility & contrast

On white

1.76
#CDC673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CDC673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC673
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC673#FFFFFF#000000##000000
##CDC6731.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16C
Deuteranopia (green-blind)
#D6C577
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc673;
/* rgb */ color: rgb(205, 198, 115);
/* oklch */ color: oklch(81.4% 0.105 104.3);
Tailwind
colors: {
  custom: {
    50: '#ded79d',
    500: '#cdc673',
    950: '#000000',
  },
}
SCSS
$custom: #cdc673;
$custom-light: #ded79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc673",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 115
  },
  "hsl": {
    "h": 55.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81415,
    "c": 0.10527,
    "h": 104.3
  },
  "luminance": 0.54605
}

Semantic roles & 50–950 ramp

primary
#CDC673
secondary
#4C5298
accent
#36BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC673

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

Preview Lab → · Contrast checker → · Palette generator →

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