#DCD893#DCD893

#DCD893 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 86.9% C 0.089 H 105.3°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#DCD893
RGBrgb(220, 216, 147)
HSLhsl(57, 51%, 72%)
HSVhsv(57, 33%, 86%)
CMYKcmyk(0%, 1.8%, 33.2%, 13.7%)
CIE-LABlab(85.22, -8.95, 34.58)
CIE-LCHlch(85.22, 35.72, 104.51°)
OKLaboklab(86.94% -0.0234 0.0857)
OKLCHoklch(86.94% 0.089 105.3)
XYZxyz(59.3381, 66.4352, 37.2955)
Luminance0.6643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD893 #9397DC
analogous
#DCB493 #DCD893 #BCDC93
triadic
#DCD893 #93DCD8 #D893DC
tetradic
#DCD893 #93DCB4 #9397DC #DC93BC
square
#DCD893 #93DCB4 #9397DC #DC93BC
split-complementary
#DCD893 #93BCDC #B493DC
monochromatic
#B9B23C #CDC765 #DCD893 #EBE9C1 #F8F7E8

Accessibility & contrast

On white

1.47
#DCD893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#DCD893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD893
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD893#FFFFFF#000000##000000
##DCD8931.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D38E
Deuteranopia (green-blind)
#E5D796
Tritanopia (blue-blind)
#E6CFC6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd893;
/* rgb */ color: rgb(220, 216, 147);
/* oklch */ color: oklch(86.9% 0.089 105.3);
Tailwind
colors: {
  custom: {
    50: '#e8e4b3',
    500: '#dcd893',
    950: '#000000',
  },
}
SCSS
$custom: #dcd893;
$custom-light: #e8e4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd893",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 147
  },
  "hsl": {
    "h": 56.712,
    "s": 51.049,
    "l": 71.961
  },
  "oklch": {
    "l": 0.86943,
    "c": 0.08883,
    "h": 105.3
  },
  "luminance": 0.66434
}

Semantic roles & 50–950 ramp

primary
#DCD893
secondary
#6064B4
accent
#2FBE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD893

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

Preview Lab → · Contrast checker → · Palette generator →

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