#CDC86C#CDC86C

#CDC86C is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.115 H 105.9°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CDC86C
RGBrgb(205, 200, 108)
HSLhsl(57, 49%, 61%)
HSVhsv(57, 47%, 80%)
CMYKcmyk(0%, 2.4%, 47.3%, 19.6%)
CIE-LABlab(79.25, -10.92, 46.32)
CIE-LCHlch(79.25, 47.59, 103.27°)
OKLaboklab(81.74% -0.0315 0.1104)
OKLCHoklch(81.74% 0.115 105.9)
XYZxyz(48.5390, 55.3717, 22.3154)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC86C #6C71CD
analogous
#CD986C #CDC86C #A2CD6C
triadic
#CDC86C #6CCDC8 #C86CCD
tetradic
#CDC86C #6CCD98 #6C71CD #CD6CA2
square
#CDC86C #6CCD98 #6C71CD #CD6CA2
split-complementary
#CDC86C #6CA2CD #986CCD
monochromatic
#8E8930 #BCB640 #CDC86C #DDD99A #ECEAC7

Accessibility & contrast

On white

1.74
#CDC86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CDC86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC86C
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC86C#FFFFFF#000000##000000
##CDC86C1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C264
Deuteranopia (green-blind)
#D8C670
Tritanopia (blue-blind)
#D9BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc86c;
/* rgb */ color: rgb(205, 200, 108);
/* oklch */ color: oklch(81.7% 0.115 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded898',
    500: '#cdc86c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc86c;
$custom-light: #ded898;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc86c",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 108
  },
  "hsl": {
    "h": 56.907,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81736,
    "c": 0.1148,
    "h": 105.9
  },
  "luminance": 0.5537
}

Semantic roles & 50–950 ramp

primary
#CDC86C
secondary
#484C95
accent
#31BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC86C

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

Preview Lab → · Contrast checker → · Palette generator →

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