#DCD097#DCD097

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

Color values

HEX#DCD097
RGBrgb(220, 208, 151)
HSLhsl(50, 50%, 73%)
HSVhsv(50, 31%, 86%)
CMYKcmyk(0%, 5.5%, 31.4%, 13.7%)
CIE-LABlab(83.21, -4.38, 29.86)
CIE-LCHlch(83.21, 30.18, 98.34°)
OKLaboklab(85.38% -0.01 0.0747)
OKLCHoklch(85.38% 0.075 97.7)
XYZxyz(57.6576, 62.5632, 38.3108)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD097 #97A3DC
analogous
#DCAD97 #DCD097 #C5DC97
triadic
#DCD097 #97DCD0 #D097DC
tetradic
#DCD097 #97DCAD #97A3DC #DC97C5
square
#DCD097 #97DCAD #97A3DC #DC97C5
split-complementary
#DCD097 #97C5DC #AD97DC
monochromatic
#BAA53F #CDBB69 #DCD097 #EBE5C5 #F7F5E8

Accessibility & contrast

On white

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

On black

13.51
#DCD097 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD097
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD097#FFFFFF#000000##000000
##DCD0971.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd097;
/* rgb */ color: rgb(220, 208, 151);
/* oklch */ color: oklch(85.4% 0.075 97.7);
Tailwind
colors: {
  custom: {
    50: '#e7deb6',
    500: '#dcd097',
    950: '#000000',
  },
}
SCSS
$custom: #dcd097;
$custom-light: #e7deb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd097",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 151
  },
  "hsl": {
    "h": 49.565,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.85377,
    "c": 0.07537,
    "h": 97.7
  },
  "luminance": 0.62562
}

Semantic roles & 50–950 ramp

primary
#DCD097
secondary
#6471B4
accent
#42BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD097

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

Preview Lab → · Contrast checker → · Palette generator →

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