#DCD497#DCD497

#DCD497 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.2% C 0.080 H 101.6°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#DCD497
RGBrgb(220, 212, 151)
HSLhsl(53, 50%, 73%)
HSVhsv(53, 31%, 86%)
CMYKcmyk(0%, 3.6%, 31.4%, 13.7%)
CIE-LABlab(84.25, -6.43, 31.24)
CIE-LCHlch(84.25, 31.89, 101.63°)
OKLaboklab(86.19% -0.016 0.078)
OKLCHoklch(86.19% 0.08 101.6)
XYZxyz(58.6451, 64.5383, 38.6400)
Luminance0.6454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD497 #979FDC
analogous
#DCB197 #DCD497 #C2DC97
triadic
#DCD497 #97DCD4 #D497DC
tetradic
#DCD497 #97DCB1 #979FDC #DC97C2
square
#DCD497 #97DCB1 #979FDC #DC97C2
split-complementary
#DCD497 #97C2DC #B197DC
monochromatic
#BAAC3F #CDC169 #DCD497 #EBE7C5 #F7F6E8

Accessibility & contrast

On white

1.51
#DCD497 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#DCD497 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD497
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD497#FFFFFF#000000##000000
##DCD4971.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD093
Deuteranopia (green-blind)
#E2D499
Tritanopia (blue-blind)
#E6CCC4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd497;
/* rgb */ color: rgb(220, 212, 151);
/* oklch */ color: oklch(86.2% 0.080 101.6);
Tailwind
colors: {
  custom: {
    50: '#e7e1b6',
    500: '#dcd497',
    950: '#000000',
  },
}
SCSS
$custom: #dcd497;
$custom-light: #e7e1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd497",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 151
  },
  "hsl": {
    "h": 53.043,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86194,
    "c": 0.07958,
    "h": 101.6
  },
  "luminance": 0.64537
}

Semantic roles & 50–950 ramp

primary
#DCD497
secondary
#646DB4
accent
#3ABD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD497

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

Preview Lab → · Contrast checker → · Palette generator →

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