#DCDB97#DCDB97

#DCDB97 is a very light, moderate yellow. Relative luminance 0.681; OKLCH L 87.6% C 0.088 H 107.4°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#DCDB97
RGBrgb(220, 219, 151)
HSLhsl(59, 50%, 73%)
HSVhsv(59, 31%, 86%)
CMYKcmyk(0%, 0.5%, 31.4%, 13.7%)
CIE-LABlab(86.06, -9.98, 33.65)
CIE-LCHlch(86.06, 35.10, 106.52°)
OKLaboklab(87.63% -0.0261 0.0836)
OKLCHoklch(87.63% 0.088 107.4)
XYZxyz(60.4330, 68.1141, 39.2359)
Luminance0.6811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDB97 #9798DC
analogous
#DCB897 #DCDB97 #BBDC97
triadic
#DCDB97 #97DCDB #DB97DC
tetradic
#DCDB97 #97DCB8 #9798DC #DC97BB
square
#DCDB97 #97DCB8 #9798DC #DC97BB
split-complementary
#DCDB97 #97BBDC #B897DC
monochromatic
#BAB83F #CDCB69 #DCDB97 #EBEBC5 #F7F7E8

Accessibility & contrast

On white

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

On black

14.62
#DCDB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDB97
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDB97#FFFFFF#000000##000000
##DCDB971.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D692
Deuteranopia (green-blind)
#E7D99A
Tritanopia (blue-blind)
#E6D3C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dcdb97;
/* rgb */ color: rgb(220, 219, 151);
/* oklch */ color: oklch(87.6% 0.088 107.4);
Tailwind
colors: {
  custom: {
    50: '#e7e6b6',
    500: '#dcdb97',
    950: '#000000',
  },
}
SCSS
$custom: #dcdb97;
$custom-light: #e7e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdb97",
  "rgb": {
    "r": 220,
    "g": 219,
    "b": 151
  },
  "hsl": {
    "h": 59.13,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87634,
    "c": 0.08763,
    "h": 107.4
  },
  "luminance": 0.68113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCDB97

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

Preview Lab → · Contrast checker → · Palette generator →

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