#CDCD9C#CDCD9C

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

Color values

HEX#CDCD9C
RGBrgb(205, 205, 156)
HSLhsl(60, 33%, 71%)
HSVhsv(60, 24%, 80%)
CMYKcmyk(0%, 0%, 23.9%, 19.6%)
CIE-LABlab(81.32, -7.90, 24.49)
CIE-LCHlch(81.32, 25.73, 107.87°)
OKLaboklab(83.61% -0.0198 0.062)
OKLCHoklch(83.61% 0.065 107.7)
XYZxyz(53.0088, 59.0428, 40.0500)
Luminance0.5904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD9C #9C9CCD
analogous
#CDB49C #CDCD9C #B4CD9C
triadic
#CDCD9C #9CCDCD #CD9CCD
tetradic
#CDCD9C #9CCDB4 #9C9CCD #CD9CB4
square
#CDCD9C #9CCDB4 #9C9CCD #CD9CB4
split-complementary
#CDCD9C #9CB4CD #B49CCD
monochromatic
#9F9F50 #B8B873 #CDCD9C #E2E2C5 #F5F5EB

Accessibility & contrast

On white

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

On black

12.81
#CDCD9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD9C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD9C#FFFFFF#000000##000000
##CDCD9C1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd9c;
/* rgb */ color: rgb(205, 205, 156);
/* oklch */ color: oklch(83.6% 0.065 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcb9',
    500: '#cdcd9c',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd9c;
$custom-light: #dcdcb9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd9c",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 156
  },
  "hsl": {
    "h": 60,
    "s": 32.886,
    "l": 70.784
  },
  "oklch": {
    "l": 0.83612,
    "c": 0.06504,
    "h": 107.7
  },
  "luminance": 0.59042
}

Semantic roles & 50–950 ramp

primary
#CDCD9C
secondary
#6B6BA2
accent
#3AAC3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD9C

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

Preview Lab → · Contrast checker → · Palette generator →

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