#DCD894#DCD894

#DCD894 is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 87.0% C 0.088 H 105.2°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#DCD894
RGBrgb(220, 216, 148)
HSLhsl(57, 51%, 72%)
HSVhsv(57, 33%, 86%)
CMYKcmyk(0%, 1.8%, 32.7%, 13.7%)
CIE-LABlab(85.23, -8.83, 34.09)
CIE-LCHlch(85.23, 35.21, 104.52°)
OKLaboklab(86.96% -0.023 0.0846)
OKLCHoklch(86.96% 0.088 105.2)
XYZxyz(59.4169, 66.4667, 37.7106)
Luminance0.6646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD894 #9498DC
analogous
#DCB494 #DCD894 #BCDC94
triadic
#DCD894 #94DCD8 #D894DC
tetradic
#DCD894 #94DCB4 #9498DC #DC94BC
square
#DCD894 #94DCB4 #9498DC #DC94BC
split-complementary
#DCD894 #94BCDC #B494DC
monochromatic
#B9B23D #CDC766 #DCD894 #EBE9C2 #F7F7E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD894#FFFFFF#000000##000000
##DCD8941.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)
#E3D38F
Deuteranopia (green-blind)
#E5D797
Tritanopia (blue-blind)
#E6CFC7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd894;
/* rgb */ color: rgb(220, 216, 148);
/* oklch */ color: oklch(87.0% 0.088 105.2);
Tailwind
colors: {
  custom: {
    50: '#e8e4b4',
    500: '#dcd894',
    950: '#000000',
  },
}
SCSS
$custom: #dcd894;
$custom-light: #e8e4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd894",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 148
  },
  "hsl": {
    "h": 56.667,
    "s": 50.704,
    "l": 72.157
  },
  "oklch": {
    "l": 0.86961,
    "c": 0.08765,
    "h": 105.2
  },
  "luminance": 0.66465
}

Semantic roles & 50–950 ramp

primary
#DCD894
secondary
#6165B4
accent
#30BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD894

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

Preview Lab → · Contrast checker → · Palette generator →

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