#CDCA9B#CDCA9B

#CDCA9B is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.063 H 104.6°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CDCA9B
RGBrgb(205, 202, 155)
HSLhsl(56, 33%, 71%)
HSVhsv(56, 24%, 80%)
CMYKcmyk(0%, 1.5%, 24.4%, 19.6%)
CIE-LABlab(80.51, -6.49, 23.91)
CIE-LCHlch(80.51, 24.78, 105.18°)
OKLaboklab(82.97% -0.0158 0.0606)
OKLCHoklch(82.97% 0.063 104.6)
XYZxyz(52.2137, 57.5876, 39.3689)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA9B #9B9ECD
analogous
#CDB19B #CDCA9B #B7CD9B
triadic
#CDCA9B #9BCDCA #CA9BCD
tetradic
#CDCA9B #9BCDB1 #9B9ECD #CD9BB7
square
#CDCA9B #9BCDB1 #9B9ECD #CD9BB7
split-complementary
#CDCA9B #9BB7CD #B19BCD
monochromatic
#9E9A4F #B9B472 #CDCA9B #E1E0C4 #F5F4EB

Accessibility & contrast

On white

1.68
#CDCA9B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#CDCA9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA9B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA9B#FFFFFF#000000##000000
##CDCA9B1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C698
Deuteranopia (green-blind)
#D4C99D
Tritanopia (blue-blind)
#D5C4BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdca9b;
/* rgb */ color: rgb(205, 202, 155);
/* oklch */ color: oklch(83.0% 0.063 104.6);
Tailwind
colors: {
  custom: {
    50: '#dcdab8',
    500: '#cdca9b',
    950: '#000000',
  },
}
SCSS
$custom: #cdca9b;
$custom-light: #dcdab8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca9b",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 155
  },
  "hsl": {
    "h": 56.4,
    "s": 33.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.82968,
    "c": 0.06258,
    "h": 104.6
  },
  "luminance": 0.57587
}

Semantic roles & 50–950 ramp

primary
#CDCA9B
secondary
#6A6DA2
accent
#40AC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA9B

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

Preview Lab → · Contrast checker → · Palette generator →

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