#CDCD9D#CDCD9D

#CDCD9D is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.064 H 107.7°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CDCD9D
RGBrgb(205, 205, 157)
HSLhsl(60, 32%, 71%)
HSVhsv(60, 23%, 80%)
CMYKcmyk(0%, 0%, 23.4%, 19.6%)
CIE-LABlab(81.33, -7.76, 23.99)
CIE-LCHlch(81.33, 25.21, 107.92°)
OKLaboklab(83.63% -0.0194 0.0608)
OKLCHoklch(83.63% 0.064 107.7)
XYZxyz(53.0938, 59.0768, 40.4977)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD9D #9D9DCD
analogous
#CDB59D #CDCD9D #B5CD9D
triadic
#CDCD9D #9DCDCD #CD9DCD
tetradic
#CDCD9D #9DCDB5 #9D9DCD #CD9DB5
square
#CDCD9D #9DCDB5 #9D9DCD #CD9DB5
split-complementary
#CDCD9D #9DB5CD #B59DCD
monochromatic
#9F9F51 #B8B874 #CDCD9D #E2E2C6 #F5F5EB

Accessibility & contrast

On white

1.64
#CDCD9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#CDCD9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD9D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD9D#FFFFFF#000000##000000
##CDCD9D1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C99A
Deuteranopia (green-blind)
#D6CB9F
Tritanopia (blue-blind)
#D4C7C0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcd9d;
/* rgb */ color: rgb(205, 205, 157);
/* oklch */ color: oklch(83.6% 0.064 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcba',
    500: '#cdcd9d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd9d;
$custom-light: #dcdcba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd9d",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 157
  },
  "hsl": {
    "h": 60,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.83633,
    "c": 0.06377,
    "h": 107.7
  },
  "luminance": 0.59076
}

Semantic roles & 50–950 ramp

primary
#CDCD9D
secondary
#6C6CA2
accent
#3AAB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD9D

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

Preview Lab → · Contrast checker → · Palette generator →

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