#CDC668#CDC668

#CDC668 is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.117 H 104.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CDC668
RGBrgb(205, 198, 104)
HSLhsl(56, 50%, 61%)
HSVhsv(56, 49%, 80%)
CMYKcmyk(0%, 3.4%, 49.3%, 19.6%)
CIE-LABlab(78.68, -10.27, 47.56)
CIE-LCHlch(78.68, 48.66, 102.19°)
OKLaboklab(81.26% -0.03 0.1128)
OKLCHoklch(81.26% 0.117 104.9)
XYZxyz(47.8708, 54.3682, 21.0664)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC668 #686FCD
analogous
#CD9468 #CDC668 #A1CD68
triadic
#CDC668 #68CDC6 #C668CD
tetradic
#CDC668 #68CD94 #686FCD #CD68A1
square
#CDC668 #68CD94 #686FCD #CD68A1
split-complementary
#CDC668 #68A1CD #9468CD
monochromatic
#8C862E #BAB23E #CDC668 #DCD796 #EBE9C4

Accessibility & contrast

On white

1.77
#CDC668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CDC668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC668
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC668#FFFFFF#000000##000000
##CDC6681.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C060
Deuteranopia (green-blind)
#D7C56C
Tritanopia (blue-blind)
#DABBB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc668;
/* rgb */ color: rgb(205, 198, 104);
/* oklch */ color: oklch(81.3% 0.117 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded795',
    500: '#cdc668',
    950: '#000000',
  },
}
SCSS
$custom: #cdc668;
$custom-light: #ded795;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc668",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 104
  },
  "hsl": {
    "h": 55.842,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81261,
    "c": 0.11674,
    "h": 104.9
  },
  "luminance": 0.54367
}

Semantic roles & 50–950 ramp

primary
#CDC668
secondary
#464C93
accent
#32BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC668

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

Preview Lab → · Contrast checker → · Palette generator →

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