#CDCD60#CDCD60

#CDCD60 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.6% C 0.132 H 109.0°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CDCD60
RGBrgb(205, 205, 96)
HSLhsl(60, 52%, 59%)
HSVhsv(60, 53%, 80%)
CMYKcmyk(0%, 0%, 53.2%, 19.6%)
CIE-LABlab(80.45, -14.50, 53.42)
CIE-LCHlch(80.45, 55.36, 105.18°)
OKLaboklab(82.65% -0.0429 0.1248)
OKLCHoklch(82.65% 0.132 109)
XYZxyz(49.1207, 57.4875, 19.5727)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD60 #6060CD
analogous
#CD9760 #CDCD60 #97CD60
triadic
#CDCD60 #60CDCD #CD60CD
tetradic
#CDCD60 #60CD97 #6060CD #CD6097
square
#CDCD60 #60CD97 #6060CD #CD6097
split-complementary
#CDCD60 #6097CD #9760CD
monochromatic
#88882B #B6B639 #CDCD60 #DCDC8F #EAEABD

Accessibility & contrast

On white

1.68
#CDCD60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#CDCD60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD60
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD60#FFFFFF#000000##000000
##CDCD601.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC655
Deuteranopia (green-blind)
#DDC966
Tritanopia (blue-blind)
#DAC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd60;
/* rgb */ color: rgb(205, 205, 96);
/* oklch */ color: oklch(82.6% 0.132 109.0);
Tailwind
colors: {
  custom: {
    50: '#dedc90',
    500: '#cdcd60',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd60;
$custom-light: #dedc90;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd60",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 96
  },
  "hsl": {
    "h": 60,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82647,
    "c": 0.13197,
    "h": 109
  },
  "luminance": 0.57486
}

Semantic roles & 50–950 ramp

primary
#CDCD60
secondary
#42428F
accent
#4CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCD60

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

Preview Lab → · Contrast checker → · Palette generator →

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