#DCD79D#DCD79D

#DCD79D is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.076 H 103.7°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#DCD79D
RGBrgb(220, 215, 157)
HSLhsl(55, 47%, 74%)
HSVhsv(55, 29%, 86%)
CMYKcmyk(0%, 2.3%, 28.6%, 13.7%)
CIE-LABlab(85.12, -7.20, 29.32)
CIE-LCHlch(85.12, 30.19, 103.80°)
OKLaboklab(86.92% -0.0179 0.0735)
OKLCHoklch(86.92% 0.076 103.7)
XYZxyz(59.9017, 66.2520, 41.5241)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD79D #9DA2DC
analogous
#DCB89D #DCD79D #C2DC9D
triadic
#DCD79D #9DDCD7 #D79DDC
tetradic
#DCD79D #9DDCB8 #9DA2DC #DC9DC2
square
#DCD79D #9DDCB8 #9DA2DC #DC9DC2
split-complementary
#DCD79D #9DC2DC #B89DDC
monochromatic
#BCB243 #CCC570 #DCD79D #ECE9CA #F7F6E8

Accessibility & contrast

On white

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

On black

14.25
#DCD79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD79D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD79D#FFFFFF#000000##000000
##DCD79D1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D399
Deuteranopia (green-blind)
#E3D69F
Tritanopia (blue-blind)
#E5CFC8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd79d;
/* rgb */ color: rgb(220, 215, 157);
/* oklch */ color: oklch(86.9% 0.076 103.7);
Tailwind
colors: {
  custom: {
    50: '#e7e3ba',
    500: '#dcd79d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd79d;
$custom-light: #e7e3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd79d",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 157
  },
  "hsl": {
    "h": 55.238,
    "s": 47.368,
    "l": 73.922
  },
  "oklch": {
    "l": 0.86923,
    "c": 0.07569,
    "h": 103.7
  },
  "luminance": 0.66251
}

Semantic roles & 50–950 ramp

primary
#DCD79D
secondary
#696FB4
accent
#36BB2B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD79D

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

Preview Lab → · Contrast checker → · Palette generator →

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