#CDCD9F#CDCD9F

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

Color values

HEX#CDCD9F
RGBrgb(205, 205, 159)
HSLhsl(60, 32%, 71%)
HSVhsv(60, 22%, 80%)
CMYKcmyk(0%, 0%, 22.4%, 19.6%)
CIE-LABlab(81.37, -7.47, 22.99)
CIE-LCHlch(81.37, 24.17, 108.01°)
OKLaboklab(83.68% -0.0186 0.0583)
OKLCHoklch(83.68% 0.061 107.7)
XYZxyz(53.2660, 59.1456, 41.4044)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD9F #9F9FCD
analogous
#CDB69F #CDCD9F #B6CD9F
triadic
#CDCD9F #9FCDCD #CD9FCD
tetradic
#CDCD9F #9FCDB6 #9F9FCD #CD9FB6
square
#CDCD9F #9FCDB6 #9F9FCD #CD9FB6
split-complementary
#CDCD9F #9FB6CD #B69FCD
monochromatic
#9F9F53 #B8B877 #CDCD9F #E2E2C7 #F5F5EB

Accessibility & contrast

On white

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

On black

12.83
#CDCD9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD9F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD9F#FFFFFF#000000##000000
##CDCD9F1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C99C
Deuteranopia (green-blind)
#D6CBA1
Tritanopia (blue-blind)
#D4C7C1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdcd9f;
/* rgb */ color: rgb(205, 205, 159);
/* oklch */ color: oklch(83.7% 0.061 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcdcbb',
    500: '#cdcd9f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd9f;
$custom-light: #dcdcbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd9f",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 159
  },
  "hsl": {
    "h": 60,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.83676,
    "c": 0.06122,
    "h": 107.7
  },
  "luminance": 0.59145
}

Semantic roles & 50–950 ramp

primary
#CDCD9F
secondary
#6E6EA2
accent
#3BAA3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151512
muted
#848482

Preview Lab

Preview with #CDCD9F

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

Preview Lab → · Contrast checker → · Palette generator →

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