#DCD783#DCD783

#DCD783 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.106 H 105.4°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#DCD783
RGBrgb(220, 215, 131)
HSLhsl(57, 56%, 69%)
HSVhsv(57, 40%, 86%)
CMYKcmyk(0%, 2.3%, 40.5%, 13.7%)
CIE-LABlab(84.72, -10.24, 42.01)
CIE-LCHlch(84.72, 43.24, 103.71°)
OKLaboklab(86.47% -0.0282 0.1021)
OKLCHoklch(86.47% 0.106 105.4)
XYZxyz(57.9134, 65.4566, 31.0520)
Luminance0.6545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD783 #8388DC
analogous
#DCAB83 #DCD783 #B5DC83
triadic
#DCD783 #83DCD7 #D783DC
tetradic
#DCD783 #83DCAB #8388DC #DC83B5
square
#DCD783 #83DCAB #8388DC #DC83B5
split-complementary
#DCD783 #83B5DC #AB83DC
monochromatic
#B2AB32 #CFC853 #DCD783 #E9E6B3 #F7F6E2

Accessibility & contrast

On white

1.49
#DCD783 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#DCD783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD783
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD783#FFFFFF#000000##000000
##DCD7831.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17C
Deuteranopia (green-blind)
#E7D587
Tritanopia (blue-blind)
#E8CDC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd783;
/* rgb */ color: rgb(220, 215, 131);
/* oklch */ color: oklch(86.5% 0.106 105.4);
Tailwind
colors: {
  custom: {
    50: '#e8e3a8',
    500: '#dcd783',
    950: '#000000',
  },
}
SCSS
$custom: #dcd783;
$custom-light: #e8e3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd783",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 131
  },
  "hsl": {
    "h": 56.629,
    "s": 55.975,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86469,
    "c": 0.10594,
    "h": 105.4
  },
  "luminance": 0.65455
}

Semantic roles & 50–950 ramp

primary
#DCD783
secondary
#5056B3
accent
#2BC422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#161510
muted
#848480

Preview Lab

Preview with #DCD783

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

Preview Lab → · Contrast checker → · Palette generator →

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