#CDCA9D#CDCA9D

#CDCA9D is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.060 H 104.4°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CDCA9D
RGBrgb(205, 202, 157)
HSLhsl(56, 32%, 71%)
HSVhsv(56, 23%, 80%)
CMYKcmyk(0%, 1.5%, 23.4%, 19.6%)
CIE-LABlab(80.55, -6.21, 22.91)
CIE-LCHlch(80.55, 23.74, 105.16°)
OKLaboklab(83.01% -0.015 0.0581)
OKLCHoklch(83.01% 0.06 104.4)
XYZxyz(52.3831, 57.6553, 40.2608)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA9D #9DA0CD
analogous
#CDB29D #CDCA9D #B8CD9D
triadic
#CDCA9D #9DCDCA #CA9DCD
tetradic
#CDCA9D #9DCDB2 #9DA0CD #CD9DB8
square
#CDCA9D #9DCDB2 #9DA0CD #CD9DB8
split-complementary
#CDCA9D #9DB8CD #B29DCD
monochromatic
#9F9A51 #B8B474 #CDCA9D #E2E0C6 #F5F4EB

Accessibility & contrast

On white

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

On black

12.53
#CDCA9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA9D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA9D#FFFFFF#000000##000000
##CDCA9D1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C69A
Deuteranopia (green-blind)
#D4C99F
Tritanopia (blue-blind)
#D4C4BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdca9d;
/* rgb */ color: rgb(205, 202, 157);
/* oklch */ color: oklch(83.0% 0.060 104.4);
Tailwind
colors: {
  custom: {
    50: '#dcdaba',
    500: '#cdca9d',
    950: '#000000',
  },
}
SCSS
$custom: #cdca9d;
$custom-light: #dcdaba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca9d",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 157
  },
  "hsl": {
    "h": 56.25,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8301,
    "c": 0.06004,
    "h": 104.4
  },
  "luminance": 0.57655
}

Semantic roles & 50–950 ramp

primary
#CDCA9D
secondary
#6C6FA2
accent
#41AB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA9D

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

Preview Lab → · Contrast checker → · Palette generator →

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