#CDC17E#CDC17E

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

Color values

HEX#CDC17E
RGBrgb(205, 193, 126)
HSLhsl(51, 44%, 65%)
HSVhsv(51, 39%, 80%)
CMYKcmyk(0%, 5.9%, 38.5%, 19.6%)
CIE-LABlab(77.65, -5.47, 35.26)
CIE-LCHlch(77.65, 35.68, 98.82°)
OKLaboklab(80.55% -0.0142 0.0866)
OKLCHoklch(80.55% 0.088 99.3)
XYZxyz(48.0136, 52.6268, 27.3634)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC17E #7E8ACD
analogous
#CD9A7E #CDC17E #B2CD7E
triadic
#CDC17E #7ECDC1 #C17ECD
tetradic
#CDC17E #7ECD9A #7E8ACD #CD7EB2
square
#CDC17E #7ECD9A #7E8ACD #CD7EB2
split-complementary
#CDC17E #7EB2CD #9A7ECD
monochromatic
#96883A #BCAC52 #CDC17E #DED6AA #EFEBD6

Accessibility & contrast

On white

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

On black

11.53
#CDC17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC17E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC17E#FFFFFF#000000##000000
##CDC17E1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc17e;
/* rgb */ color: rgb(205, 193, 126);
/* oklch */ color: oklch(80.5% 0.088 99.3);
Tailwind
colors: {
  custom: {
    50: '#ddd3a4',
    500: '#cdc17e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc17e;
$custom-light: #ddd3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc17e",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 126
  },
  "hsl": {
    "h": 50.886,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80547,
    "c": 0.08775,
    "h": 99.3
  },
  "luminance": 0.52625
}

Semantic roles & 50–950 ramp

primary
#CDC17E
secondary
#535E9D
accent
#43B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC17E

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

Preview Lab → · Contrast checker → · Palette generator →

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