#DCD79E#DCD79E

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

Color values

HEX#DCD79E
RGBrgb(220, 215, 158)
HSLhsl(55, 47%, 74%)
HSVhsv(55, 28%, 86%)
CMYKcmyk(0%, 2.3%, 28.2%, 13.7%)
CIE-LABlab(85.14, -7.07, 28.82)
CIE-LCHlch(85.14, 29.68, 103.78°)
OKLaboklab(86.94% -0.0175 0.0724)
OKLCHoklch(86.94% 0.074 103.6)
XYZxyz(59.9875, 66.2863, 41.9756)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD79E #9EA3DC
analogous
#DCB89E #DCD79E #C2DC9E
triadic
#DCD79E #9EDCD7 #D79EDC
tetradic
#DCD79E #9EDCB8 #9EA3DC #DC9EC2
square
#DCD79E #9EDCB8 #9EA3DC #DC9EC2
split-complementary
#DCD79E #9EC2DC #B89EDC
monochromatic
#BCB244 #CCC471 #DCD79E #ECEACB #F7F6E9

Accessibility & contrast

On white

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

On black

14.26
#DCD79E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD79E
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD79E#FFFFFF#000000##000000
##DCD79E1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd79e;
/* rgb */ color: rgb(220, 215, 158);
/* oklch */ color: oklch(86.9% 0.074 103.6);
Tailwind
colors: {
  custom: {
    50: '#e7e3bb',
    500: '#dcd79e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd79e;
$custom-light: #e7e3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd79e",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 158
  },
  "hsl": {
    "h": 55.161,
    "s": 46.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.86943,
    "c": 0.07447,
    "h": 103.6
  },
  "luminance": 0.66285
}

Semantic roles & 50–950 ramp

primary
#DCD79E
secondary
#6A70B4
accent
#37BA2B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DCD79E

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

Preview Lab → · Contrast checker → · Palette generator →

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