#CDC79D#CDC79D

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

Color values

HEX#CDC79D
RGBrgb(205, 199, 157)
HSLhsl(53, 32%, 71%)
HSVhsv(53, 23%, 80%)
CMYKcmyk(0%, 2.9%, 23.4%, 19.6%)
CIE-LABlab(79.76, -4.65, 21.83)
CIE-LCHlch(79.76, 22.32, 102.03°)
OKLaboklab(82.39% -0.0105 0.0555)
OKLCHoklch(82.39% 0.057 100.7)
XYZxyz(51.6860, 56.2612, 40.0285)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC79D #9DA3CD
analogous
#CDAF9D #CDC79D #BBCD9D
triadic
#CDC79D #9DCDC7 #C79DCD
tetradic
#CDC79D #9DCDAF #9DA3CD #CD9DBB
square
#CDC79D #9DCDAF #9DA3CD #CD9DBB
split-complementary
#CDC79D #9DBBCD #AF9DCD
monochromatic
#9F9551 #B8B074 #CDC79D #E2DEC6 #F5F3EB

Accessibility & contrast

On white

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

On black

12.25
#CDC79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC79D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC79D#FFFFFF#000000##000000
##CDC79D1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC49A
Deuteranopia (green-blind)
#D1C79E
Tritanopia (blue-blind)
#D5C1BC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdc79d;
/* rgb */ color: rgb(205, 199, 157);
/* oklch */ color: oklch(82.4% 0.057 100.7);
Tailwind
colors: {
  custom: {
    50: '#dcd7ba',
    500: '#cdc79d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc79d;
$custom-light: #dcd7ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc79d",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 157
  },
  "hsl": {
    "h": 52.5,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8239,
    "c": 0.05651,
    "h": 100.7
  },
  "luminance": 0.5626
}

Semantic roles & 50–950 ramp

primary
#CDC79D
secondary
#6C73A2
accent
#48AB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC79D

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

Preview Lab → · Contrast checker → · Palette generator →

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