#DCD79F#DCD79F

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

Color values

HEX#DCD79F
RGBrgb(220, 215, 159)
HSLhsl(55, 47%, 74%)
HSVhsv(55, 28%, 86%)
CMYKcmyk(0%, 2.3%, 27.7%, 13.7%)
CIE-LABlab(85.16, -6.94, 28.33)
CIE-LCHlch(85.16, 29.17, 103.76°)
OKLaboklab(86.96% -0.0171 0.0712)
OKLCHoklch(86.96% 0.073 103.5)
XYZxyz(60.0739, 66.3208, 42.4307)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD79F #9FA4DC
analogous
#DCB99F #DCD79F #C3DC9F
triadic
#DCD79F #9FDCD7 #D79FDC
tetradic
#DCD79F #9FDCB9 #9FA4DC #DC9FC3
square
#DCD79F #9FDCB9 #9FA4DC #DC9FC3
split-complementary
#DCD79F #9FC3DC #B99FDC
monochromatic
#BBB245 #CCC472 #DCD79F #ECEACC #F7F6E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD79F#FFFFFF#000000##000000
##DCD79F1.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)
#E1D39B
Deuteranopia (green-blind)
#E3D6A1
Tritanopia (blue-blind)
#E5D0C8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd79f;
/* rgb */ color: rgb(220, 215, 159);
/* oklch */ color: oklch(87.0% 0.073 103.5);
Tailwind
colors: {
  custom: {
    50: '#e7e3bb',
    500: '#dcd79f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd79f;
$custom-light: #e7e3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd79f",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 159
  },
  "hsl": {
    "h": 55.082,
    "s": 46.565,
    "l": 74.314
  },
  "oklch": {
    "l": 0.86963,
    "c": 0.07325,
    "h": 103.5
  },
  "luminance": 0.6632
}

Semantic roles & 50–950 ramp

primary
#DCD79F
secondary
#6B71B4
accent
#37BA2C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DCD79F

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

Preview Lab → · Contrast checker → · Palette generator →

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