#DCD799#DCD799

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

Color values

HEX#DCD799
RGBrgb(220, 215, 153)
HSLhsl(56, 49%, 73%)
HSVhsv(56, 30%, 86%)
CMYKcmyk(0%, 2.3%, 30.5%, 13.7%)
CIE-LABlab(85.06, -7.71, 31.29)
CIE-LCHlch(85.06, 32.22, 103.84°)
OKLaboklab(86.85% -0.0195 0.0781)
OKLCHoklch(86.85% 0.081 104)
XYZxyz(59.5658, 66.1176, 39.7549)
Luminance0.6612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD799 #999EDC
analogous
#DCB599 #DCD799 #BFDC99
triadic
#DCD799 #99DCD7 #D799DC
tetradic
#DCD799 #99DCB5 #999EDC #DC99BF
square
#DCD799 #99DCB5 #999EDC #DC99BF
split-complementary
#DCD799 #99BFDC #B599DC
monochromatic
#BBB140 #CCC56B #DCD799 #ECE9C7 #F7F6E8

Accessibility & contrast

On white

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

On black

14.22
#DCD799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD799
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD799#FFFFFF#000000##000000
##DCD7991.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd799;
/* rgb */ color: rgb(220, 215, 153);
/* oklch */ color: oklch(86.8% 0.081 104.0);
Tailwind
colors: {
  custom: {
    50: '#e7e3b7',
    500: '#dcd799',
    950: '#000000',
  },
}
SCSS
$custom: #dcd799;
$custom-light: #e7e3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd799",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 153
  },
  "hsl": {
    "h": 55.522,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.86847,
    "c": 0.08054,
    "h": 104
  },
  "luminance": 0.66116
}

Semantic roles & 50–950 ramp

primary
#DCD799
secondary
#656BB4
accent
#34BC29
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD799

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

Preview Lab → · Contrast checker → · Palette generator →

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