#DCD393#DCD393

#DCD393 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.9% C 0.083 H 101.1°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#DCD393
RGBrgb(220, 211, 147)
HSLhsl(53, 51%, 72%)
HSVhsv(53, 33%, 86%)
CMYKcmyk(0%, 4.1%, 33.2%, 13.7%)
CIE-LABlab(83.92, -6.40, 32.87)
CIE-LCHlch(83.92, 33.49, 101.03°)
OKLaboklab(85.92% -0.0161 0.0817)
OKLCHoklch(85.92% 0.083 101.1)
XYZxyz(58.0766, 63.9121, 36.8750)
Luminance0.6391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD393 #939CDC
analogous
#DCAF93 #DCD393 #C1DC93
triadic
#DCD393 #93DCD3 #D393DC
tetradic
#DCD393 #93DCAF #939CDC #DC93C1
square
#DCD393 #93DCAF #939CDC #DC93C1
split-complementary
#DCD393 #93C1DC #AF93DC
monochromatic
#B9A93C #CDC065 #DCD393 #EBE6C1 #F8F6E8

Accessibility & contrast

On white

1.52
#DCD393 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#DCD393 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD393
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD393#FFFFFF#000000##000000
##DCD3931.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd393;
/* rgb */ color: rgb(220, 211, 147);
/* oklch */ color: oklch(85.9% 0.083 101.1);
Tailwind
colors: {
  custom: {
    50: '#e8e0b3',
    500: '#dcd393',
    950: '#000000',
  },
}
SCSS
$custom: #dcd393;
$custom-light: #e8e0b3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd393",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 147
  },
  "hsl": {
    "h": 52.603,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.85915,
    "c": 0.08326,
    "h": 101.1
  },
  "luminance": 0.63911
}

Semantic roles & 50–950 ramp

primary
#DCD393
secondary
#606AB4
accent
#3ABE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD393

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

Preview Lab → · Contrast checker → · Palette generator →

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