#DCD79B#DCD79B

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

Color values

HEX#DCD79B
RGBrgb(220, 215, 155)
HSLhsl(55, 48%, 74%)
HSVhsv(55, 30%, 86%)
CMYKcmyk(0%, 2.3%, 29.5%, 13.7%)
CIE-LABlab(85.09, -7.45, 30.30)
CIE-LCHlch(85.09, 31.21, 103.82°)
OKLaboklab(86.89% -0.0187 0.0758)
OKLCHoklch(86.89% 0.078 103.9)
XYZxyz(59.7324, 66.1842, 40.6322)
Luminance0.6618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD79B #9BA0DC
analogous
#DCB69B #DCD79B #C0DC9B
triadic
#DCD79B #9BDCD7 #D79BDC
tetradic
#DCD79B #9BDCB6 #9BA0DC #DC9BC0
square
#DCD79B #9BDCB6 #9BA0DC #DC9BC0
split-complementary
#DCD79B #9BC0DC #B69BDC
monochromatic
#BBB241 #CCC56E #DCD79B #ECE9C8 #F7F6E8

Accessibility & contrast

On white

1.48
#DCD79B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD79B#FFFFFF#000000##000000
##DCD79B1.001.4814.2414.24
#FFFFFF1.481.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D397
Deuteranopia (green-blind)
#E4D69D
Tritanopia (blue-blind)
#E6CFC7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd79b;
/* rgb */ color: rgb(220, 215, 155);
/* oklch */ color: oklch(86.9% 0.078 103.9);
Tailwind
colors: {
  custom: {
    50: '#e7e3b9',
    500: '#dcd79b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd79b;
$custom-light: #e7e3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd79b",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 155
  },
  "hsl": {
    "h": 55.385,
    "s": 48.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.86885,
    "c": 0.07812,
    "h": 103.9
  },
  "luminance": 0.66183
}

Semantic roles & 50–950 ramp

primary
#DCD79B
secondary
#676DB4
accent
#35BB2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD79B

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

Preview Lab → · Contrast checker → · Palette generator →

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