#CDC79F#CDC79F

#CDC79F is a very light, muted yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.054 H 100.4°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CDC79F
RGBrgb(205, 199, 159)
HSLhsl(52, 32%, 71%)
HSVhsv(52, 22%, 80%)
CMYKcmyk(0%, 2.9%, 22.4%, 19.6%)
CIE-LABlab(79.80, -4.37, 20.83)
CIE-LCHlch(79.80, 21.28, 101.85°)
OKLaboklab(82.43% -0.0097 0.0531)
OKLCHoklch(82.43% 0.054 100.4)
XYZxyz(51.8582, 56.3300, 40.9351)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC79F #9FA5CD
analogous
#CDB09F #CDC79F #BCCD9F
triadic
#CDC79F #9FCDC7 #C79FCD
tetradic
#CDC79F #9FCDB0 #9FA5CD #CD9FBC
square
#CDC79F #9FCDB0 #9FA5CD #CD9FBC
split-complementary
#CDC79F #9FBCCD #B09FCD
monochromatic
#9F9553 #B8B077 #CDC79F #E2DEC7 #F5F3EB

Accessibility & contrast

On white

1.71
#CDC79F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#CDC79F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC79F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC79F#FFFFFF#000000##000000
##CDC79F1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC49D
Deuteranopia (green-blind)
#D1C7A0
Tritanopia (blue-blind)
#D4C1BC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdc79f;
/* rgb */ color: rgb(205, 199, 159);
/* oklch */ color: oklch(82.4% 0.054 100.4);
Tailwind
colors: {
  custom: {
    50: '#dcd7bb',
    500: '#cdc79f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc79f;
$custom-light: #dcd7bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc79f",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 159
  },
  "hsl": {
    "h": 52.174,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.82434,
    "c": 0.05395,
    "h": 100.4
  },
  "luminance": 0.56329
}

Semantic roles & 50–950 ramp

primary
#CDC79F
secondary
#6E75A2
accent
#4AAA3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151412
muted
#848382

Preview Lab

Preview with #CDC79F

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

Preview Lab → · Contrast checker → · Palette generator →

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