#DCD98C#DCD98C

#DCD98C is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.098 H 106.4°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#DCD98C
RGBrgb(220, 217, 140)
HSLhsl(58, 53%, 71%)
HSVhsv(58, 36%, 86%)
CMYKcmyk(0%, 1.4%, 36.4%, 13.7%)
CIE-LABlab(85.37, -10.27, 38.33)
CIE-LCHlch(85.37, 39.68, 105.00°)
OKLaboklab(87.03% -0.0276 0.0941)
OKLCHoklch(87.03% 0.098 106.4)
XYZxyz(59.0624, 66.7360, 34.5759)
Luminance0.6673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD98C #8C8FDC
analogous
#DCB18C #DCD98C #B7DC8C
triadic
#DCD98C #8CDCD9 #D98CDC
tetradic
#DCD98C #8CDCB1 #8C8FDC #DC8CB7
square
#DCD98C #8CDCB1 #8C8FDC #DC8CB7
split-complementary
#DCD98C #8CB7DC #B18CDC
monochromatic
#B6B137 #CEC95D #DCD98C #EAE9BB #F8F7E8

Accessibility & contrast

On white

1.46
#DCD98C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#DCD98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD98C
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD98C#FFFFFF#000000##000000
##DCD98C1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D386
Deuteranopia (green-blind)
#E7D78F
Tritanopia (blue-blind)
#E7D0C6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd98c;
/* rgb */ color: rgb(220, 217, 140);
/* oklch */ color: oklch(87.0% 0.098 106.4);
Tailwind
colors: {
  custom: {
    50: '#e8e4ae',
    500: '#dcd98c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd98c;
$custom-light: #e8e4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd98c",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 140
  },
  "hsl": {
    "h": 57.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87028,
    "c": 0.0981,
    "h": 106.4
  },
  "luminance": 0.66735
}

Semantic roles & 50–950 ramp

primary
#DCD98C
secondary
#595CB3
accent
#2BC125
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD98C

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

Preview Lab → · Contrast checker → · Palette generator →

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