#CDCD6D#CDCD6D

#CDCD6D is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.119 H 108.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CDCD6D
RGBrgb(205, 205, 109)
HSLhsl(60, 49%, 62%)
HSVhsv(60, 47%, 80%)
CMYKcmyk(0%, 0%, 46.8%, 19.6%)
CIE-LABlab(80.60, -13.36, 47.45)
CIE-LCHlch(80.60, 49.30, 105.73°)
OKLaboklab(82.81% -0.0383 0.113)
OKLCHoklch(82.81% 0.119 108.7)
XYZxyz(49.7695, 57.7471, 22.9896)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD6D #6D6DCD
analogous
#CD9D6D #CDCD6D #9DCD6D
triadic
#CDCD6D #6DCDCD #CD6DCD
tetradic
#CDCD6D #6DCD9D #6D6DCD #CD6D9D
square
#CDCD6D #6DCD9D #6D6DCD #CD6D9D
split-complementary
#CDCD6D #6D9DCD #9D6DCD
monochromatic
#8F8F31 #BCBC40 #CDCD6D #DDDD9B #ECECC8

Accessibility & contrast

On white

1.67
#CDCD6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CDCD6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD6D
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD6D#FFFFFF#000000##000000
##CDCD6D1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC665
Deuteranopia (green-blind)
#DCCA72
Tritanopia (blue-blind)
#D9C3B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd6d;
/* rgb */ color: rgb(205, 205, 109);
/* oklch */ color: oklch(82.8% 0.119 108.7);
Tailwind
colors: {
  custom: {
    50: '#dedc99',
    500: '#cdcd6d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd6d;
$custom-light: #dedc99;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd6d",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 109
  },
  "hsl": {
    "h": 60,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82809,
    "c": 0.11933,
    "h": 108.7
  },
  "luminance": 0.57746
}

Semantic roles & 50–950 ramp

primary
#CDCD6D
secondary
#494995
accent
#29BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCD6D

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

Preview Lab → · Contrast checker → · Palette generator →

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