#CDC49D#CDC49D

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

Color values

HEX#CDC49D
RGBrgb(205, 196, 157)
HSLhsl(49, 32%, 71%)
HSVhsv(49, 23%, 80%)
CMYKcmyk(0%, 4.4%, 23.4%, 19.6%)
CIE-LABlab(78.98, -3.09, 20.76)
CIE-LCHlch(78.98, 20.99, 98.47°)
OKLaboklab(81.77% -0.0061 0.0529)
OKLCHoklch(81.77% 0.053 96.5)
XYZxyz(51.0026, 54.8943, 39.8007)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC49D #9DA6CD
analogous
#CDAC9D #CDC49D #BECD9D
triadic
#CDC49D #9DCDC4 #C49DCD
tetradic
#CDC49D #9DCDAC #9DA6CD #CD9DBE
square
#CDC49D #9DCDAC #9DA6CD #CD9DBE
split-complementary
#CDC49D #9DBECD #AC9DCD
monochromatic
#9F9051 #B8AC74 #CDC49D #E2DCC6 #F5F3EB

Accessibility & contrast

On white

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

On black

11.98
#CDC49D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC49D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC49D#FFFFFF#000000##000000
##CDC49D1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC29B
Deuteranopia (green-blind)
#CFC59E
Tritanopia (blue-blind)
#D5BEB9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc49d;
/* rgb */ color: rgb(205, 196, 157);
/* oklch */ color: oklch(81.8% 0.053 96.5);
Tailwind
colors: {
  custom: {
    50: '#dcd5ba',
    500: '#cdc49d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc49d;
$custom-light: #dcd5ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc49d",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 157
  },
  "hsl": {
    "h": 48.75,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.81773,
    "c": 0.05324,
    "h": 96.5
  },
  "luminance": 0.54893
}

Semantic roles & 50–950 ramp

primary
#CDC49D
secondary
#6C76A2
accent
#4FAB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC49D

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

Preview Lab → · Contrast checker → · Palette generator →

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