#CDCC9D#CDCC9D

#CDCC9D is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.063 H 106.7°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#CDCC9D
RGBrgb(205, 204, 157)
HSLhsl(59, 32%, 71%)
HSVhsv(59, 23%, 80%)
CMYKcmyk(0%, 0.5%, 23.4%, 19.6%)
CIE-LABlab(81.07, -7.24, 23.63)
CIE-LCHlch(81.07, 24.71, 107.04°)
OKLaboklab(83.43% -0.0179 0.0599)
OKLCHoklch(83.43% 0.063 106.7)
XYZxyz(52.8554, 58.5999, 40.4183)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC9D #9D9ECD
analogous
#CDB49D #CDCC9D #B6CD9D
triadic
#CDCC9D #9DCDCC #CC9DCD
tetradic
#CDCC9D #9DCDB4 #9D9ECD #CD9DB6
square
#CDCC9D #9DCDB4 #9D9ECD #CD9DB6
split-complementary
#CDCC9D #9DB6CD #B49DCD
monochromatic
#9F9D51 #B8B774 #CDCC9D #E2E1C6 #F5F4EB

Accessibility & contrast

On white

1.65
#CDCC9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#CDCC9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC9D
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC9D#FFFFFF#000000##000000
##CDCC9D1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C89A
Deuteranopia (green-blind)
#D5CA9F
Tritanopia (blue-blind)
#D4C6BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcc9d;
/* rgb */ color: rgb(205, 204, 157);
/* oklch */ color: oklch(83.4% 0.063 106.7);
Tailwind
colors: {
  custom: {
    50: '#dcdbba',
    500: '#cdcc9d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc9d;
$custom-light: #dcdbba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc9d",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 157
  },
  "hsl": {
    "h": 58.75,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.83425,
    "c": 0.06251,
    "h": 106.7
  },
  "luminance": 0.58599
}

Semantic roles & 50–950 ramp

primary
#CDCC9D
secondary
#6C6DA2
accent
#3DAB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCC9D

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

Preview Lab → · Contrast checker → · Palette generator →

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