#CDC660#CDC660

#CDC660 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.125 H 105.3°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CDC660
RGBrgb(205, 198, 96)
HSLhsl(56, 52%, 59%)
HSVhsv(56, 53%, 80%)
CMYKcmyk(0%, 3.4%, 53.2%, 19.6%)
CIE-LABlab(78.59, -10.96, 51.26)
CIE-LCHlch(78.59, 52.42, 102.07°)
OKLaboklab(81.16% -0.0328 0.1201)
OKLCHoklch(81.16% 0.125 105.3)
XYZxyz(47.4836, 54.2133, 19.0270)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC660 #6067CD
analogous
#CD9060 #CDC660 #9ECD60
triadic
#CDC660 #60CDC6 #C660CD
tetradic
#CDC660 #60CD90 #6067CD #CD609E
square
#CDC660 #60CD90 #6067CD #CD609E
split-complementary
#CDC660 #609ECD #9060CD
monochromatic
#88822B #B6AE39 #CDC660 #DCD78F #EAE7BD

Accessibility & contrast

On white

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

On black

11.84
#CDC660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC660
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC660#FFFFFF#000000##000000
##CDC6601.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C056
Deuteranopia (green-blind)
#D8C565
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc660;
/* rgb */ color: rgb(205, 198, 96);
/* oklch */ color: oklch(81.2% 0.125 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded790',
    500: '#cdc660',
    950: '#000000',
  },
}
SCSS
$custom: #cdc660;
$custom-light: #ded790;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc660",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 96
  },
  "hsl": {
    "h": 56.147,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8116,
    "c": 0.12454,
    "h": 105.3
  },
  "luminance": 0.54212
}

Semantic roles & 50–950 ramp

primary
#CDC660
secondary
#42478F
accent
#55DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC660

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

Preview Lab → · Contrast checker → · Palette generator →

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