#CDC17D#CDC17D

#CDC17D is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.089 H 99.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CDC17D
RGBrgb(205, 193, 125)
HSLhsl(51, 44%, 65%)
HSVhsv(51, 39%, 80%)
CMYKcmyk(0%, 5.9%, 39%, 19.6%)
CIE-LABlab(77.64, -5.58, 35.76)
CIE-LCHlch(77.64, 36.19, 98.88°)
OKLaboklab(80.53% -0.0146 0.0877)
OKLCHoklch(80.53% 0.089 99.5)
XYZxyz(47.9494, 52.6011, 27.0253)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC17D #7D89CD
analogous
#CD997D #CDC17D #B1CD7D
triadic
#CDC17D #7DCDC1 #C17DCD
tetradic
#CDC17D #7DCD99 #7D89CD #CD7DB1
square
#CDC17D #7DCD99 #7D89CD #CD7DB1
split-complementary
#CDC17D #7DB1CD #997DCD
monochromatic
#96883A #BCAC51 #CDC17D #DED6A9 #EFEBD5

Accessibility & contrast

On white

1.82
#CDC17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CDC17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC17D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC17D#FFFFFF#000000##000000
##CDC17D1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD78
Deuteranopia (green-blind)
#D1C280
Tritanopia (blue-blind)
#D8B8B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc17d;
/* rgb */ color: rgb(205, 193, 125);
/* oklch */ color: oklch(80.5% 0.089 99.5);
Tailwind
colors: {
  custom: {
    50: '#ddd3a3',
    500: '#cdc17d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc17d;
$custom-light: #ddd3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc17d",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 125
  },
  "hsl": {
    "h": 51,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8053,
    "c": 0.0889,
    "h": 99.5
  },
  "luminance": 0.526
}

Semantic roles & 50–950 ramp

primary
#CDC17D
secondary
#525D9C
accent
#43B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC17D

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

Preview Lab → · Contrast checker → · Palette generator →

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