#CDC17C#CDC17C

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

Color values

HEX#CDC17C
RGBrgb(205, 193, 124)
HSLhsl(51, 45%, 65%)
HSVhsv(51, 40%, 80%)
CMYKcmyk(0%, 5.9%, 39.5%, 19.6%)
CIE-LABlab(77.62, -5.69, 36.25)
CIE-LCHlch(77.62, 36.70, 98.93°)
OKLaboklab(80.51% -0.015 0.0888)
OKLCHoklch(80.51% 0.09 99.6)
XYZxyz(47.8858, 52.5757, 26.6905)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC17C #7C88CD
analogous
#CD997C #CDC17C #B1CD7C
triadic
#CDC17C #7CCDC1 #C17CCD
tetradic
#CDC17C #7CCD99 #7C88CD #CD7CB1
square
#CDC17C #7CCD99 #7C88CD #CD7CB1
split-complementary
#CDC17C #7CB1CD #997CCD
monochromatic
#968839 #BCAC50 #CDC17C #DED6A8 #EFEBD5

Accessibility & contrast

On white

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

On black

11.51
#CDC17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC17C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC17C#FFFFFF#000000##000000
##CDC17C1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc17c;
/* rgb */ color: rgb(205, 193, 124);
/* oklch */ color: oklch(80.5% 0.090 99.6);
Tailwind
colors: {
  custom: {
    50: '#ddd3a3',
    500: '#cdc17c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc17c;
$custom-light: #ddd3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc17c",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 124
  },
  "hsl": {
    "h": 51.111,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80513,
    "c": 0.09004,
    "h": 99.6
  },
  "luminance": 0.52574
}

Semantic roles & 50–950 ramp

primary
#CDC17C
secondary
#515C9C
accent
#42B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC17C

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

Preview Lab → · Contrast checker → · Palette generator →

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