#CDCA9C#CDCA9C

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

Color values

HEX#CDCA9C
RGBrgb(205, 202, 156)
HSLhsl(56, 33%, 71%)
HSVhsv(56, 24%, 80%)
CMYKcmyk(0%, 1.5%, 23.9%, 19.6%)
CIE-LABlab(80.53, -6.35, 23.41)
CIE-LCHlch(80.53, 24.26, 105.17°)
OKLaboklab(82.99% -0.0154 0.0593)
OKLCHoklch(82.99% 0.061 104.5)
XYZxyz(52.2981, 57.6213, 39.8130)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA9C #9C9FCD
analogous
#CDB19C #CDCA9C #B7CD9C
triadic
#CDCA9C #9CCDCA #CA9CCD
tetradic
#CDCA9C #9CCDB1 #9C9FCD #CD9CB7
square
#CDCA9C #9CCDB1 #9C9FCD #CD9CB7
split-complementary
#CDCA9C #9CB7CD #B19CCD
monochromatic
#9F9A50 #B8B473 #CDCA9C #E2E0C5 #F5F4EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA9C#FFFFFF#000000##000000
##CDCA9C1.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)
#D2C699
Deuteranopia (green-blind)
#D4C99E
Tritanopia (blue-blind)
#D4C4BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdca9c;
/* rgb */ color: rgb(205, 202, 156);
/* oklch */ color: oklch(83.0% 0.061 104.5);
Tailwind
colors: {
  custom: {
    50: '#dcdab9',
    500: '#cdca9c',
    950: '#000000',
  },
}
SCSS
$custom: #cdca9c;
$custom-light: #dcdab9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca9c",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 156
  },
  "hsl": {
    "h": 56.327,
    "s": 32.886,
    "l": 70.784
  },
  "oklch": {
    "l": 0.82989,
    "c": 0.0613,
    "h": 104.5
  },
  "luminance": 0.5762
}

Semantic roles & 50–950 ramp

primary
#CDCA9C
secondary
#6B6EA2
accent
#41AC3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA9C

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

Preview Lab → · Contrast checker → · Palette generator →

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