#DCD898#DCD898

#DCD898 is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 87.0% C 0.083 H 105.0°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#DCD898
RGBrgb(220, 216, 152)
HSLhsl(56, 49%, 73%)
HSVhsv(56, 31%, 86%)
CMYKcmyk(0%, 1.8%, 30.9%, 13.7%)
CIE-LABlab(85.30, -8.34, 32.13)
CIE-LCHlch(85.30, 33.19, 104.55°)
OKLaboklab(87.03% -0.0214 0.0801)
OKLCHoklch(87.03% 0.083 105)
XYZxyz(59.7390, 66.5955, 39.4069)
Luminance0.6659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD898 #989CDC
analogous
#DCB698 #DCD898 #BEDC98
triadic
#DCD898 #98DCD8 #D898DC
tetradic
#DCD898 #98DCB6 #989CDC #DC98BE
square
#DCD898 #98DCB6 #989CDC #DC98BE
split-complementary
#DCD898 #98BEDC #B698DC
monochromatic
#BAB33F #CCC76A #DCD898 #ECE9C6 #F7F6E8

Accessibility & contrast

On white

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

On black

14.32
#DCD898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD898
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD898#FFFFFF#000000##000000
##DCD8981.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D394
Deuteranopia (green-blind)
#E5D79A
Tritanopia (blue-blind)
#E6D0C7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd898;
/* rgb */ color: rgb(220, 216, 152);
/* oklch */ color: oklch(87.0% 0.083 105.0);
Tailwind
colors: {
  custom: {
    50: '#e7e4b7',
    500: '#dcd898',
    950: '#000000',
  },
}
SCSS
$custom: #dcd898;
$custom-light: #e7e4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd898",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 152
  },
  "hsl": {
    "h": 56.471,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87034,
    "c": 0.08289,
    "h": 105
  },
  "luminance": 0.66594
}

Semantic roles & 50–950 ramp

primary
#DCD898
secondary
#6469B4
accent
#32BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD898

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

Preview Lab → · Contrast checker → · Palette generator →

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