#CDC49E#CDC49E

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

Color values

HEX#CDC49E
RGBrgb(205, 196, 158)
HSLhsl(49, 32%, 71%)
HSVhsv(49, 23%, 80%)
CMYKcmyk(0%, 4.4%, 22.9%, 19.6%)
CIE-LABlab(79.00, -2.95, 20.25)
CIE-LCHlch(79.00, 20.47, 98.28°)
OKLaboklab(81.8% -0.0057 0.0517)
OKLCHoklch(81.8% 0.052 96.3)
XYZxyz(51.0883, 54.9286, 40.2521)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC49E #9EA7CD
analogous
#CDAC9E #CDC49E #BECD9E
triadic
#CDC49E #9ECDC4 #C49ECD
tetradic
#CDC49E #9ECDAC #9EA7CD #CD9EBE
square
#CDC49E #9ECDAC #9EA7CD #CD9EBE
split-complementary
#CDC49E #9EBECD #AC9ECD
monochromatic
#9F9052 #B8AB76 #CDC49E #E2DDC6 #F5F3EB

Accessibility & contrast

On white

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

On black

11.99
#CDC49E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC49E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC49E#FFFFFF#000000##000000
##CDC49E1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC29C
Deuteranopia (green-blind)
#CFC59F
Tritanopia (blue-blind)
#D5BEBA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc49e;
/* rgb */ color: rgb(205, 196, 158);
/* oklch */ color: oklch(81.8% 0.052 96.3);
Tailwind
colors: {
  custom: {
    50: '#dcd5ba',
    500: '#cdc49e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc49e;
$custom-light: #dcd5ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc49e",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 158
  },
  "hsl": {
    "h": 48.511,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.81795,
    "c": 0.05197,
    "h": 96.3
  },
  "luminance": 0.54928
}

Semantic roles & 50–950 ramp

primary
#CDC49E
secondary
#6D77A2
accent
#50AB3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC49E

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

Preview Lab → · Contrast checker → · Palette generator →

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