#DCD99D#DCD99D

#DCD99D is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.078 H 105.5°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#DCD99D
RGBrgb(220, 217, 157)
HSLhsl(57, 47%, 74%)
HSVhsv(57, 29%, 86%)
CMYKcmyk(0%, 1.4%, 28.6%, 13.7%)
CIE-LABlab(85.64, -8.22, 30.01)
CIE-LCHlch(85.64, 31.12, 105.31°)
OKLaboklab(87.33% -0.0208 0.0752)
OKLCHoklch(87.33% 0.078 105.5)
XYZxyz(60.4141, 67.2767, 41.6949)
Luminance0.6728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD99D #9DA0DC
analogous
#DCBA9D #DCD99D #C0DC9D
triadic
#DCD99D #9DDCD9 #D99DDC
tetradic
#DCD99D #9DDCBA #9DA0DC #DC9DC0
square
#DCD99D #9DDCBA #9DA0DC #DC9DC0
split-complementary
#DCD99D #9DC0DC #BA9DDC
monochromatic
#BCB643 #CCC870 #DCD99D #ECEACA #F7F6E8

Accessibility & contrast

On white

1.45
#DCD99D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#DCD99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD99D
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD99D#FFFFFF#000000##000000
##DCD99D1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D499
Deuteranopia (green-blind)
#E5D79F
Tritanopia (blue-blind)
#E5D1C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcd99d;
/* rgb */ color: rgb(220, 217, 157);
/* oklch */ color: oklch(87.3% 0.078 105.5);
Tailwind
colors: {
  custom: {
    50: '#e7e4ba',
    500: '#dcd99d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd99d;
$custom-light: #e7e4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd99d",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 157
  },
  "hsl": {
    "h": 57.143,
    "s": 47.368,
    "l": 73.922
  },
  "oklch": {
    "l": 0.87334,
    "c": 0.07803,
    "h": 105.5
  },
  "luminance": 0.67276
}

Semantic roles & 50–950 ramp

primary
#DCD99D
secondary
#696DB4
accent
#32BB2B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD99D

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

Preview Lab → · Contrast checker → · Palette generator →

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