#CDC17A#CDC17A

#CDC17A is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.092 H 99.8°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CDC17A
RGBrgb(205, 193, 122)
HSLhsl(51, 45%, 64%)
HSVhsv(51, 40%, 80%)
CMYKcmyk(0%, 5.9%, 40.5%, 19.6%)
CIE-LABlab(77.59, -5.91, 37.24)
CIE-LCHlch(77.59, 37.71, 99.02°)
OKLaboklab(80.48% -0.0158 0.0909)
OKLCHoklch(80.48% 0.092 99.8)
XYZxyz(47.7606, 52.5256, 26.0312)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC17A #7A86CD
analogous
#CD987A #CDC17A #B0CD7A
triadic
#CDC17A #7ACDC1 #C17ACD
tetradic
#CDC17A #7ACD98 #7A86CD #CD7AB0
square
#CDC17A #7ACD98 #7A86CD #CD7AB0
split-complementary
#CDC17A #7AB0CD #987ACD
monochromatic
#958738 #BCAC4E #CDC17A #DED6A6 #EEEAD3

Accessibility & contrast

On white

1.83
#CDC17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CDC17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC17A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC17A#FFFFFF#000000##000000
##CDC17A1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD75
Deuteranopia (green-blind)
#D1C27D
Tritanopia (blue-blind)
#D9B8AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc17a;
/* rgb */ color: rgb(205, 193, 122);
/* oklch */ color: oklch(80.5% 0.092 99.8);
Tailwind
colors: {
  custom: {
    50: '#ddd3a1',
    500: '#cdc17a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc17a;
$custom-light: #ddd3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc17a",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 122
  },
  "hsl": {
    "h": 51.325,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8048,
    "c": 0.0923,
    "h": 99.8
  },
  "luminance": 0.52524
}

Semantic roles & 50–950 ramp

primary
#CDC17A
secondary
#505B9B
accent
#41B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC17A

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

Preview Lab → · Contrast checker → · Palette generator →

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