#DCD79C#DCD79C

#DCD79C is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.9% C 0.077 H 103.8°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#DCD79C
RGBrgb(220, 215, 156)
HSLhsl(55, 48%, 74%)
HSVhsv(55, 29%, 86%)
CMYKcmyk(0%, 2.3%, 29.1%, 13.7%)
CIE-LABlab(85.11, -7.33, 29.81)
CIE-LCHlch(85.11, 30.70, 103.81°)
OKLaboklab(86.9% -0.0183 0.0747)
OKLCHoklch(86.9% 0.077 103.8)
XYZxyz(59.8167, 66.2180, 41.0763)
Luminance0.6622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD79C #9CA1DC
analogous
#DCB79C #DCD79C #C1DC9C
triadic
#DCD79C #9CDCD7 #D79CDC
tetradic
#DCD79C #9CDCB7 #9CA1DC #DC9CC1
square
#DCD79C #9CDCB7 #9CA1DC #DC9CC1
split-complementary
#DCD79C #9CC1DC #B79CDC
monochromatic
#BBB242 #CCC56F #DCD79C #ECE9C9 #F7F6E8

Accessibility & contrast

On white

1.47
#DCD79C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#DCD79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD79C
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD79C#FFFFFF#000000##000000
##DCD79C1.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D398
Deuteranopia (green-blind)
#E3D69E
Tritanopia (blue-blind)
#E5CFC7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd79c;
/* rgb */ color: rgb(220, 215, 156);
/* oklch */ color: oklch(86.9% 0.077 103.8);
Tailwind
colors: {
  custom: {
    50: '#e7e3b9',
    500: '#dcd79c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd79c;
$custom-light: #e7e3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd79c",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 156
  },
  "hsl": {
    "h": 55.312,
    "s": 47.761,
    "l": 73.725
  },
  "oklch": {
    "l": 0.86904,
    "c": 0.07691,
    "h": 103.8
  },
  "luminance": 0.66217
}

Semantic roles & 50–950 ramp

primary
#DCD79C
secondary
#686EB4
accent
#36BB2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD79C

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

Preview Lab → · Contrast checker → · Palette generator →

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