#CDCD8D#CDCD8D

#CDCD8D is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.084 H 108.1°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CDCD8D
RGBrgb(205, 205, 141)
HSLhsl(60, 39%, 68%)
HSVhsv(60, 31%, 80%)
CMYKcmyk(0%, 0%, 31.2%, 19.6%)
CIE-LABlab(81.05, -9.87, 31.95)
CIE-LCHlch(81.05, 33.44, 107.17°)
OKLaboklab(83.32% -0.0259 0.0794)
OKLCHoklch(83.32% 0.084 108.1)
XYZxyz(51.8162, 58.5657, 33.7688)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD8D #8D8DCD
analogous
#CDAD8D #CDCD8D #ADCD8D
triadic
#CDCD8D #8DCDCD #CD8DCD
tetradic
#CDCD8D #8DCDAD #8D8DCD #CD8DAD
square
#CDCD8D #8DCDAD #8D8DCD #CD8DAD
split-complementary
#CDCD8D #8DADCD #AD8DCD
monochromatic
#9B9B44 #BABA62 #CDCD8D #E0E0B8 #F2F2E2

Accessibility & contrast

On white

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

On black

12.71
#CDCD8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD8D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD8D#FFFFFF#000000##000000
##CDCD8D1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C889
Deuteranopia (green-blind)
#D8CB90
Tritanopia (blue-blind)
#D6C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd8d;
/* rgb */ color: rgb(205, 205, 141);
/* oklch */ color: oklch(83.3% 0.084 108.1);
Tailwind
colors: {
  custom: {
    50: '#dddcaf',
    500: '#cdcd8d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd8d;
$custom-light: #dddcaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd8d",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83318,
    "c": 0.08356,
    "h": 108.1
  },
  "luminance": 0.58565
}

Semantic roles & 50–950 ramp

primary
#CDCD8D
secondary
#5C5CA2
accent
#33B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCD8D

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

Preview Lab → · Contrast checker → · Palette generator →

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