#CDC17F#CDC17F

#CDC17F is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.087 H 99.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CDC17F
RGBrgb(205, 193, 127)
HSLhsl(51, 44%, 65%)
HSVhsv(51, 38%, 80%)
CMYKcmyk(0%, 5.9%, 38%, 19.6%)
CIE-LABlab(77.67, -5.36, 34.76)
CIE-LCHlch(77.67, 35.18, 98.76°)
OKLaboklab(80.56% -0.0138 0.0855)
OKLCHoklch(80.56% 0.087 99.2)
XYZxyz(48.0784, 52.6527, 27.7049)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC17F #7F8BCD
analogous
#CD9A7F #CDC17F #B2CD7F
triadic
#CDC17F #7FCDC1 #C17FCD
tetradic
#CDC17F #7FCD9A #7F8BCD #CD7FB2
square
#CDC17F #7FCD9A #7F8BCD #CD7FB2
split-complementary
#CDC17F #7FB2CD #9A7FCD
monochromatic
#97893B #BCAC53 #CDC17F #DED6AB #EFECD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC17F#FFFFFF#000000##000000
##CDC17F1.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)
#CDBD7A
Deuteranopia (green-blind)
#D1C281
Tritanopia (blue-blind)
#D8B8B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc17f;
/* rgb */ color: rgb(205, 193, 127);
/* oklch */ color: oklch(80.6% 0.087 99.2);
Tailwind
colors: {
  custom: {
    50: '#ddd3a5',
    500: '#cdc17f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc17f;
$custom-light: #ddd3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc17f",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 127
  },
  "hsl": {
    "h": 50.769,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80564,
    "c": 0.0866,
    "h": 99.2
  },
  "luminance": 0.52651
}

Semantic roles & 50–950 ramp

primary
#CDC17F
secondary
#535F9D
accent
#44B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC17F

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

Preview Lab → · Contrast checker → · Palette generator →

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