#DCD098#DCD098

#DCD098 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.4% C 0.074 H 97.5°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#DCD098
RGBrgb(220, 208, 152)
HSLhsl(49, 49%, 73%)
HSVhsv(49, 31%, 86%)
CMYKcmyk(0%, 5.5%, 30.9%, 13.7%)
CIE-LABlab(83.23, -4.25, 29.36)
CIE-LCHlch(83.23, 29.67, 98.24°)
OKLaboklab(85.4% -0.0096 0.0735)
OKLCHoklch(85.4% 0.074 97.5)
XYZxyz(57.7391, 62.5958, 38.7403)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD098 #98A4DC
analogous
#DCAE98 #DCD098 #C6DC98
triadic
#DCD098 #98DCD0 #D098DC
tetradic
#DCD098 #98DCAE #98A4DC #DC98C6
square
#DCD098 #98DCAE #98A4DC #DC98C6
split-complementary
#DCD098 #98C6DC #AE98DC
monochromatic
#BAA53F #CCBB6A #DCD098 #ECE5C6 #F7F5E8

Accessibility & contrast

On white

1.55
#DCD098 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#DCD098 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD098
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD098#FFFFFF#000000##000000
##DCD0981.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCD94
Deuteranopia (green-blind)
#DED19A
Tritanopia (blue-blind)
#E6C8C1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd098;
/* rgb */ color: rgb(220, 208, 152);
/* oklch */ color: oklch(85.4% 0.074 97.5);
Tailwind
colors: {
  custom: {
    50: '#e7deb6',
    500: '#dcd098',
    950: '#000000',
  },
}
SCSS
$custom: #dcd098;
$custom-light: #e7deb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd098",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 152
  },
  "hsl": {
    "h": 49.412,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.85396,
    "c": 0.07417,
    "h": 97.5
  },
  "luminance": 0.62594
}

Semantic roles & 50–950 ramp

primary
#DCD098
secondary
#6472B4
accent
#43BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD098

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

Preview Lab → · Contrast checker → · Palette generator →

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