#CDC49C#CDC49C

#CDC49C is a light, muted yellow. Relative luminance 0.549; OKLCH L 81.8% C 0.054 H 96.8°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CDC49C
RGBrgb(205, 196, 156)
HSLhsl(49, 33%, 71%)
HSVhsv(49, 24%, 80%)
CMYKcmyk(0%, 4.4%, 23.9%, 19.6%)
CIE-LABlab(78.96, -3.23, 21.26)
CIE-LCHlch(78.96, 21.51, 98.64°)
OKLaboklab(81.75% -0.0065 0.0541)
OKLCHoklch(81.75% 0.055 96.8)
XYZxyz(50.9176, 54.8603, 39.3529)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC49C #9CA5CD
analogous
#CDAB9C #CDC49C #BDCD9C
triadic
#CDC49C #9CCDC4 #C49CCD
tetradic
#CDC49C #9CCDAB #9CA5CD #CD9CBD
square
#CDC49C #9CCDAB #9CA5CD #CD9CBD
split-complementary
#CDC49C #9CBDCD #AB9CCD
monochromatic
#9F9050 #B8AC73 #CDC49C #E2DCC5 #F5F3EB

Accessibility & contrast

On white

1.75
#CDC49C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CDC49C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC49C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC49C#FFFFFF#000000##000000
##CDC49C1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC299
Deuteranopia (green-blind)
#CFC59D
Tritanopia (blue-blind)
#D5BEB9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc49c;
/* rgb */ color: rgb(205, 196, 156);
/* oklch */ color: oklch(81.8% 0.054 96.8);
Tailwind
colors: {
  custom: {
    50: '#dcd5b9',
    500: '#cdc49c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc49c;
$custom-light: #dcd5b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc49c",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 156
  },
  "hsl": {
    "h": 48.98,
    "s": 32.886,
    "l": 70.784
  },
  "oklch": {
    "l": 0.81751,
    "c": 0.0545,
    "h": 96.8
  },
  "luminance": 0.54859
}

Semantic roles & 50–950 ramp

primary
#CDC49C
secondary
#6B75A2
accent
#4FAC3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC49C

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

Preview Lab → · Contrast checker → · Palette generator →

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