#DCD793#DCD793

#DCD793 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.7% C 0.088 H 104.5°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DCD793
RGBrgb(220, 215, 147)
HSLhsl(56, 51%, 72%)
HSVhsv(56, 33%, 86%)
CMYKcmyk(0%, 2.3%, 33.2%, 13.7%)
CIE-LABlab(84.96, -8.44, 34.24)
CIE-LCHlch(84.96, 35.26, 103.85°)
OKLaboklab(86.74% -0.0219 0.0849)
OKLCHoklch(86.74% 0.088 104.5)
XYZxyz(59.0827, 65.9243, 37.2104)
Luminance0.6592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD793 #9398DC
analogous
#DCB393 #DCD793 #BDDC93
triadic
#DCD793 #93DCD7 #D793DC
tetradic
#DCD793 #93DCB3 #9398DC #DC93BD
square
#DCD793 #93DCB3 #9398DC #DC93BD
split-complementary
#DCD793 #93BDDC #B393DC
monochromatic
#B9B03C #CDC665 #DCD793 #EBE8C1 #F8F6E8

Accessibility & contrast

On white

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

On black

14.18
#DCD793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD793
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD793#FFFFFF#000000##000000
##DCD7931.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D28E
Deuteranopia (green-blind)
#E5D696
Tritanopia (blue-blind)
#E6CEC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd793;
/* rgb */ color: rgb(220, 215, 147);
/* oklch */ color: oklch(86.7% 0.088 104.5);
Tailwind
colors: {
  custom: {
    50: '#e8e3b3',
    500: '#dcd793',
    950: '#000000',
  },
}
SCSS
$custom: #dcd793;
$custom-light: #e8e3b3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd793",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 147
  },
  "hsl": {
    "h": 55.89,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.86737,
    "c": 0.08768,
    "h": 104.5
  },
  "luminance": 0.65923
}

Semantic roles & 50–950 ramp

primary
#DCD793
secondary
#6065B4
accent
#31BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD793

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

Preview Lab → · Contrast checker → · Palette generator →

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