#DCD993#DCD993

#DCD993 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.090 H 106.0°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#DCD993
RGBrgb(220, 217, 147)
HSLhsl(58, 51%, 72%)
HSVhsv(58, 33%, 86%)
CMYKcmyk(0%, 1.4%, 33.2%, 13.7%)
CIE-LABlab(85.48, -9.46, 34.92)
CIE-LCHlch(85.48, 36.18, 105.15°)
OKLaboklab(87.15% -0.0248 0.0865)
OKLCHoklch(87.15% 0.09 106)
XYZxyz(59.5951, 66.9491, 37.3812)
Luminance0.6695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD993 #9396DC
analogous
#DCB593 #DCD993 #BBDC93
triadic
#DCD993 #93DCD9 #D993DC
tetradic
#DCD993 #93DCB5 #9396DC #DC93BB
square
#DCD993 #93DCB5 #9396DC #DC93BB
split-complementary
#DCD993 #93BBDC #B593DC
monochromatic
#B9B43C #CDC965 #DCD993 #EBE9C1 #F8F7E8

Accessibility & contrast

On white

1.46
#DCD993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#DCD993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD993
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD993#FFFFFF#000000##000000
##DCD9931.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D48E
Deuteranopia (green-blind)
#E6D796
Tritanopia (blue-blind)
#E6D0C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcd993;
/* rgb */ color: rgb(220, 217, 147);
/* oklch */ color: oklch(87.1% 0.090 106.0);
Tailwind
colors: {
  custom: {
    50: '#e8e4b3',
    500: '#dcd993',
    950: '#000000',
  },
}
SCSS
$custom: #dcd993;
$custom-light: #e8e4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd993",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 147
  },
  "hsl": {
    "h": 57.534,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.87149,
    "c": 0.08999,
    "h": 106
  },
  "luminance": 0.66948
}

Semantic roles & 50–950 ramp

primary
#DCD993
secondary
#6063B4
accent
#2DBE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD993

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

Preview Lab → · Contrast checker → · Palette generator →

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