#CDC49F#CDC49F

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

Color values

HEX#CDC49F
RGBrgb(205, 196, 159)
HSLhsl(48, 32%, 71%)
HSVhsv(48, 22%, 80%)
CMYKcmyk(0%, 4.4%, 22.4%, 19.6%)
CIE-LABlab(79.02, -2.81, 19.75)
CIE-LCHlch(79.02, 19.95, 98.08°)
OKLaboklab(81.82% -0.0052 0.0504)
OKLCHoklch(81.82% 0.051 95.9)
XYZxyz(51.1747, 54.9631, 40.7073)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC49F #9FA8CD
analogous
#CDAD9F #CDC49F #BFCD9F
triadic
#CDC49F #9FCDC4 #C49FCD
tetradic
#CDC49F #9FCDAD #9FA8CD #CD9FBF
square
#CDC49F #9FCDAD #9FA8CD #CD9FBF
split-complementary
#CDC49F #9FBFCD #AD9FCD
monochromatic
#9F9053 #B8AB77 #CDC49F #E2DDC7 #F5F3EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC49F#FFFFFF#000000##000000
##CDC49F1.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)
#CCC29D
Deuteranopia (green-blind)
#CEC5A0
Tritanopia (blue-blind)
#D5BEBA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc49f;
/* rgb */ color: rgb(205, 196, 159);
/* oklch */ color: oklch(81.8% 0.051 95.9);
Tailwind
colors: {
  custom: {
    50: '#dcd5bb',
    500: '#cdc49f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc49f;
$custom-light: #dcd5bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc49f",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 159
  },
  "hsl": {
    "h": 48.261,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.81817,
    "c": 0.0507,
    "h": 95.9
  },
  "luminance": 0.54962
}

Semantic roles & 50–950 ramp

primary
#CDC49F
secondary
#6E78A2
accent
#51AA3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CDC49F

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

Preview Lab → · Contrast checker → · Palette generator →

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