#DCD79A#DCD79A

#DCD79A is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.079 H 104.0°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#DCD79A
RGBrgb(220, 215, 154)
HSLhsl(55, 49%, 73%)
HSVhsv(55, 30%, 86%)
CMYKcmyk(0%, 2.3%, 30%, 13.7%)
CIE-LABlab(85.07, -7.58, 30.80)
CIE-LCHlch(85.07, 31.72, 103.83°)
OKLaboklab(86.87% -0.0191 0.077)
OKLCHoklch(86.87% 0.079 104)
XYZxyz(59.6488, 66.1508, 40.1917)
Luminance0.6615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD79A #9A9FDC
analogous
#DCB69A #DCD79A #C0DC9A
triadic
#DCD79A #9ADCD7 #D79ADC
tetradic
#DCD79A #9ADCB6 #9A9FDC #DC9AC0
square
#DCD79A #9ADCB6 #9A9FDC #DC9AC0
split-complementary
#DCD79A #9AC0DC #B69ADC
monochromatic
#BBB241 #CCC56D #DCD79A #ECE9C7 #F7F6E8

Accessibility & contrast

On white

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

On black

14.23
#DCD79A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD79A
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD79A#FFFFFF#000000##000000
##DCD79A1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd79a;
/* rgb */ color: rgb(220, 215, 154);
/* oklch */ color: oklch(86.9% 0.079 104.0);
Tailwind
colors: {
  custom: {
    50: '#e7e3b8',
    500: '#dcd79a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd79a;
$custom-light: #e7e3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd79a",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 154
  },
  "hsl": {
    "h": 55.455,
    "s": 48.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86866,
    "c": 0.07933,
    "h": 104
  },
  "luminance": 0.6615
}

Semantic roles & 50–950 ramp

primary
#DCD79A
secondary
#666CB4
accent
#35BC2A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD79A

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

Preview Lab → · Contrast checker → · Palette generator →

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