#CDCC8D#CDCC8D

#CDCC8D is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.082 H 107.3°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CDCC8D
RGBrgb(205, 204, 141)
HSLhsl(59, 39%, 68%)
HSVhsv(59, 31%, 80%)
CMYKcmyk(0%, 0.5%, 31.2%, 19.6%)
CIE-LABlab(80.79, -9.36, 31.60)
CIE-LCHlch(80.79, 32.96, 106.50°)
OKLaboklab(83.11% -0.0245 0.0786)
OKLCHoklch(83.11% 0.082 107.3)
XYZxyz(51.5778, 58.0889, 33.6893)
Luminance0.5809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC8D #8D8ECD
analogous
#CDAC8D #CDCC8D #AECD8D
triadic
#CDCC8D #8DCDCC #CC8DCD
tetradic
#CDCC8D #8DCDAC #8D8ECD #CD8DAE
square
#CDCC8D #8DCDAC #8D8ECD #CD8DAE
split-complementary
#CDCC8D #8DAECD #AC8DCD
monochromatic
#9B9A44 #BAB962 #CDCC8D #E0DFB8 #F2F2E2

Accessibility & contrast

On white

1.66
#CDCC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CDCC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC8D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC8D#FFFFFF#000000##000000
##CDCC8D1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C789
Deuteranopia (green-blind)
#D8CA8F
Tritanopia (blue-blind)
#D6C4BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcc8d;
/* rgb */ color: rgb(205, 204, 141);
/* oklch */ color: oklch(83.1% 0.082 107.3);
Tailwind
colors: {
  custom: {
    50: '#dddbaf',
    500: '#cdcc8d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc8d;
$custom-light: #dddbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc8d",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 141
  },
  "hsl": {
    "h": 59.063,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83108,
    "c": 0.08233,
    "h": 107.3
  },
  "luminance": 0.58088
}

Semantic roles & 50–950 ramp

primary
#CDCC8D
secondary
#5C5DA2
accent
#35B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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