#CDC060#CDC060

#CDC060 is a light, moderate yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.119 H 101.7°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CDC060
RGBrgb(205, 192, 96)
HSLhsl(53, 52%, 59%)
HSVhsv(53, 53%, 80%)
CMYKcmyk(0%, 6.3%, 53.2%, 19.6%)
CIE-LABlab(77.00, -7.88, 49.41)
CIE-LCHlch(77.00, 50.03, 99.07°)
OKLaboklab(79.9% -0.024 0.1161)
OKLCHoklch(79.9% 0.119 101.7)
XYZxyz(46.1392, 51.5246, 18.5789)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC060 #606DCD
analogous
#CD8A60 #CDC060 #A4CD60
triadic
#CDC060 #60CDC0 #C060CD
tetradic
#CDC060 #60CD8A #606DCD #CD60A4
square
#CDC060 #60CD8A #606DCD #CD60A4
split-complementary
#CDC060 #60A4CD #8A60CD
monochromatic
#887D2B #B6A839 #CDC060 #DCD28F #EAE5BD

Accessibility & contrast

On white

1.86
#CDC060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CDC060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC060
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC060#FFFFFF#000000##000000
##CDC0601.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB57
Deuteranopia (green-blind)
#D3C164
Tritanopia (blue-blind)
#DBB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc060;
/* rgb */ color: rgb(205, 192, 96);
/* oklch */ color: oklch(79.9% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#ded290',
    500: '#cdc060',
    950: '#000000',
  },
}
SCSS
$custom: #cdc060;
$custom-light: #ded290;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc060",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 96
  },
  "hsl": {
    "h": 52.844,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79897,
    "c": 0.11856,
    "h": 101.7
  },
  "luminance": 0.51523
}

Semantic roles & 50–950 ramp

primary
#CDC060
secondary
#424C8F
accent
#5DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC060

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

Preview Lab → · Contrast checker → · Palette generator →

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