#CDCD61#CDCD61

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

Color values

HEX#CDCD61
RGBrgb(205, 205, 97)
HSLhsl(60, 52%, 59%)
HSVhsv(60, 53%, 80%)
CMYKcmyk(0%, 0%, 52.7%, 19.6%)
CIE-LABlab(80.46, -14.42, 52.98)
CIE-LCHlch(80.46, 54.90, 105.22°)
OKLaboklab(82.66% -0.0426 0.1239)
OKLCHoklch(82.66% 0.131 109)
XYZxyz(49.1671, 57.5061, 19.8167)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD61 #6161CD
analogous
#CD9761 #CDCD61 #97CD61
triadic
#CDCD61 #61CDCD #CD61CD
tetradic
#CDCD61 #61CD97 #6161CD #CD6197
square
#CDCD61 #61CD97 #6161CD #CD6197
split-complementary
#CDCD61 #6197CD #9761CD
monochromatic
#88882B #B7B73A #CDCD61 #DCDC8F #EAEABE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCD61#FFFFFF#000000##000000
##CDCD611.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)
#DBC656
Deuteranopia (green-blind)
#DDC967
Tritanopia (blue-blind)
#DAC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd61;
/* rgb */ color: rgb(205, 205, 97);
/* oklch */ color: oklch(82.7% 0.131 109.0);
Tailwind
colors: {
  custom: {
    50: '#dedc91',
    500: '#cdcd61',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd61;
$custom-light: #dedc91;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd61",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 97
  },
  "hsl": {
    "h": 60,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82658,
    "c": 0.13104,
    "h": 109
  },
  "luminance": 0.57505
}

Semantic roles & 50–950 ramp

primary
#CDCD61
secondary
#43438F
accent
#4CDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCD61

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

Preview Lab → · Contrast checker → · Palette generator →

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