#DCDB98#DCDB98

#DCDB98 is a very light, moderate yellow. Relative luminance 0.681; OKLCH L 87.7% C 0.086 H 107.3°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#DCDB98
RGBrgb(220, 219, 152)
HSLhsl(59, 49%, 73%)
HSVhsv(59, 31%, 86%)
CMYKcmyk(0%, 0.5%, 30.9%, 13.7%)
CIE-LABlab(86.08, -9.86, 33.16)
CIE-LCHlch(86.08, 34.59, 106.56°)
OKLaboklab(87.65% -0.0257 0.0825)
OKLCHoklch(87.65% 0.086 107.3)
XYZxyz(60.5146, 68.1467, 39.6655)
Luminance0.6815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDB98 #9899DC
analogous
#DCB998 #DCDB98 #BBDC98
triadic
#DCDB98 #98DCDB #DB98DC
tetradic
#DCDB98 #98DCB9 #9899DC #DC98BB
square
#DCDB98 #98DCB9 #9899DC #DC98BB
split-complementary
#DCDB98 #98BBDC #B998DC
monochromatic
#BAB83F #CCCB6A #DCDB98 #ECEBC6 #F7F7E8

Accessibility & contrast

On white

1.44
#DCDB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#DCDB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDB98
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDB98#FFFFFF#000000##000000
##DCDB981.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D693
Deuteranopia (green-blind)
#E7D99B
Tritanopia (blue-blind)
#E6D3CA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcdb98;
/* rgb */ color: rgb(220, 219, 152);
/* oklch */ color: oklch(87.7% 0.086 107.3);
Tailwind
colors: {
  custom: {
    50: '#e7e6b7',
    500: '#dcdb98',
    950: '#000000',
  },
}
SCSS
$custom: #dcdb98;
$custom-light: #e7e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdb98",
  "rgb": {
    "r": 220,
    "g": 219,
    "b": 152
  },
  "hsl": {
    "h": 59.118,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87653,
    "c": 0.08644,
    "h": 107.3
  },
  "luminance": 0.68146
}

Semantic roles & 50–950 ramp

primary
#DCDB98
secondary
#6466B4
accent
#2BBD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCDB98

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

Preview Lab → · Contrast checker → · Palette generator →

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