#DCD391#DCD391

#DCD391 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.9% C 0.086 H 101.4°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#DCD391
RGBrgb(220, 211, 145)
HSLhsl(53, 52%, 72%)
HSVhsv(53, 34%, 86%)
CMYKcmyk(0%, 4.1%, 34.1%, 13.7%)
CIE-LABlab(83.89, -6.64, 33.85)
CIE-LCHlch(83.89, 34.50, 101.10°)
OKLaboklab(85.88% -0.0169 0.0839)
OKLCHoklch(85.88% 0.086 101.4)
XYZxyz(57.9210, 63.8499, 36.0557)
Luminance0.6385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD391 #919ADC
analogous
#DCAE91 #DCD391 #C0DC91
triadic
#DCD391 #91DCD3 #D391DC
tetradic
#DCD391 #91DCAE #919ADC #DC91C0
square
#DCD391 #91DCAE #919ADC #DC91C0
split-complementary
#DCD391 #91C0DC #AE91DC
monochromatic
#B8A93B #CDC063 #DCD391 #EBE6BF #F8F6E8

Accessibility & contrast

On white

1.53
#DCD391 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#DCD391 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD391
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD391#FFFFFF#000000##000000
##DCD3911.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF8C
Deuteranopia (green-blind)
#E2D393
Tritanopia (blue-blind)
#E7CAC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd391;
/* rgb */ color: rgb(220, 211, 145);
/* oklch */ color: oklch(85.9% 0.086 101.4);
Tailwind
colors: {
  custom: {
    50: '#e8e0b2',
    500: '#dcd391',
    950: '#000000',
  },
}
SCSS
$custom: #dcd391;
$custom-light: #e8e0b2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd391",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 145
  },
  "hsl": {
    "h": 52.8,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85878,
    "c": 0.08561,
    "h": 101.4
  },
  "luminance": 0.63849
}

Semantic roles & 50–950 ramp

primary
#DCD391
secondary
#5E68B3
accent
#39BF26
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161511
muted
#848481

Preview Lab

Preview with #DCD391

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

Preview Lab → · Contrast checker → · Palette generator →

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