#CDC16E#CDC16E

#CDC16E is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.105 H 101.2°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CDC16E
RGBrgb(205, 193, 110)
HSLhsl(52, 49%, 62%)
HSVhsv(52, 46%, 80%)
CMYKcmyk(0%, 5.9%, 46.3%, 19.6%)
CIE-LABlab(77.43, -7.14, 43.10)
CIE-LCHlch(77.43, 43.68, 99.41°)
OKLaboklab(80.29% -0.0204 0.1034)
OKLCHoklch(80.29% 0.105 101.2)
XYZxyz(47.0625, 52.2464, 22.3543)
Luminance0.5224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC16E #6E7ACD
analogous
#CD926E #CDC16E #AACD6E
triadic
#CDC16E #6ECDC1 #C16ECD
tetradic
#CDC16E #6ECD92 #6E7ACD #CD6EAA
square
#CDC16E #6ECD92 #6E7ACD #CD6EAA
split-complementary
#CDC16E #6EAACD #926ECD
monochromatic
#8F8331 #BDAD41 #CDC16E #DDD49C #ECE8C9

Accessibility & contrast

On white

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

On black

11.45
#CDC16E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC16E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC16E#FFFFFF#000000##000000
##CDC16E1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC67
Deuteranopia (green-blind)
#D2C272
Tritanopia (blue-blind)
#DAB7AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc16e;
/* rgb */ color: rgb(205, 193, 110);
/* oklch */ color: oklch(80.3% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#ded399',
    500: '#cdc16e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc16e;
$custom-light: #ded399;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc16e",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 110
  },
  "hsl": {
    "h": 52.421,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80294,
    "c": 0.10542,
    "h": 101.2
  },
  "luminance": 0.52245
}

Semantic roles & 50–950 ramp

primary
#CDC16E
secondary
#4A5396
accent
#3CBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC16E

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

Preview Lab → · Contrast checker → · Palette generator →

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