#CDC8AB#CDC8AB

#CDC8AB is a very light, muted yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.040 H 99.1°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CDC8AB
RGBrgb(205, 200, 171)
HSLhsl(51, 25%, 74%)
HSVhsv(51, 17%, 80%)
CMYKcmyk(0%, 2.4%, 16.6%, 19.6%)
CIE-LABlab(80.31, -3.11, 15.15)
CIE-LCHlch(80.31, 15.47, 101.59°)
OKLaboklab(82.92% -0.0063 0.0391)
OKLCHoklch(82.92% 0.04 99.1)
XYZxyz(53.1813, 57.2286, 46.7648)
Luminance0.5723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC8AB #ABB0CD
analogous
#CDB7AB #CDC8AB #C1CDAB
triadic
#CDC8AB #ABCDC8 #C8ABCD
tetradic
#CDC8AB #ABCDB7 #ABB0CD #CDABC1
square
#CDC8AB #ABCDB7 #ABB0CD #CDABC1
split-complementary
#CDC8AB #ABC1CD #B7ABCD
monochromatic
#9F965F #B6AF85 #CDC8AB #E4E1D1 #F4F2EC

Accessibility & contrast

On white

1.69
#CDC8AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CDC8AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC8AB
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC8AB#FFFFFF#000000##000000
##CDC8AB1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC6A9
Deuteranopia (green-blind)
#D0C8AC
Tritanopia (blue-blind)
#D3C4C0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc8ab;
/* rgb */ color: rgb(205, 200, 171);
/* oklch */ color: oklch(82.9% 0.040 99.1);
Tailwind
colors: {
  custom: {
    50: '#dcd8c4',
    500: '#cdc8ab',
    950: '#000000',
  },
}
SCSS
$custom: #cdc8ab;
$custom-light: #dcd8c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc8ab",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 171
  },
  "hsl": {
    "h": 51.176,
    "s": 25.373,
    "l": 73.725
  },
  "oklch": {
    "l": 0.82915,
    "c": 0.03958,
    "h": 99.1
  },
  "luminance": 0.57228
}

Semantic roles & 50–950 ramp

primary
#CDC8AB
secondary
#7A80A2
accent
#50A442
background
#FEFEFD
surface
#FCFBF9
border
#D5D4D2
text
#151412
muted
#848382

Preview Lab

Preview with #CDC8AB

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

Preview Lab → · Contrast checker → · Palette generator →

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