#CDCA9A#CDCA9A

#CDCA9A is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.064 H 104.7°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CDCA9A
RGBrgb(205, 202, 154)
HSLhsl(56, 34%, 70%)
HSVhsv(56, 25%, 80%)
CMYKcmyk(0%, 1.5%, 24.9%, 19.6%)
CIE-LABlab(80.49, -6.63, 24.41)
CIE-LCHlch(80.49, 25.30, 105.19°)
OKLaboklab(82.95% -0.0162 0.0618)
OKLCHoklch(82.95% 0.064 104.7)
XYZxyz(52.1301, 57.5541, 38.9285)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA9A #9A9DCD
analogous
#CDB09A #CDCA9A #B6CD9A
triadic
#CDCA9A #9ACDCA #CA9ACD
tetradic
#CDCA9A #9ACDB0 #9A9DCD #CD9AB6
square
#CDCA9A #9ACDB0 #9A9DCD #CD9AB6
split-complementary
#CDCA9A #9AB6CD #B09ACD
monochromatic
#9E9A4E #B9B571 #CDCA9A #E1DFC3 #F5F4EB

Accessibility & contrast

On white

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

On black

12.51
#CDCA9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA9A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA9A#FFFFFF#000000##000000
##CDCA9A1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdca9a;
/* rgb */ color: rgb(205, 202, 154);
/* oklch */ color: oklch(82.9% 0.064 104.7);
Tailwind
colors: {
  custom: {
    50: '#dcdab8',
    500: '#cdca9a',
    950: '#000000',
  },
}
SCSS
$custom: #cdca9a;
$custom-light: #dcdab8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca9a",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 154
  },
  "hsl": {
    "h": 56.471,
    "s": 33.775,
    "l": 70.392
  },
  "oklch": {
    "l": 0.82947,
    "c": 0.06384,
    "h": 104.7
  },
  "luminance": 0.57553
}

Semantic roles & 50–950 ramp

primary
#CDCA9A
secondary
#696CA2
accent
#40AD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA9A

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

Preview Lab → · Contrast checker → · Palette generator →

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