#DCD197#DCD197

#DCD197 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.6% C 0.076 H 98.7°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#DCD197
RGBrgb(220, 209, 151)
HSLhsl(50, 50%, 73%)
HSVhsv(50, 31%, 86%)
CMYKcmyk(0%, 5%, 31.4%, 13.7%)
CIE-LABlab(83.47, -4.89, 30.21)
CIE-LCHlch(83.47, 30.60, 99.20°)
OKLaboklab(85.58% -0.0115 0.0755)
OKLCHoklch(85.58% 0.076 98.7)
XYZxyz(57.9022, 63.0523, 38.3923)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD197 #97A2DC
analogous
#DCAF97 #DCD197 #C4DC97
triadic
#DCD197 #97DCD1 #D197DC
tetradic
#DCD197 #97DCAF #97A2DC #DC97C4
square
#DCD197 #97DCAF #97A2DC #DC97C4
split-complementary
#DCD197 #97C4DC #AF97DC
monochromatic
#BAA63F #CDBD69 #DCD197 #EBE5C5 #F7F5E8

Accessibility & contrast

On white

1.54
#DCD197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#DCD197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD197
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD197#FFFFFF#000000##000000
##DCD1971.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCE93
Deuteranopia (green-blind)
#DFD299
Tritanopia (blue-blind)
#E6C9C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd197;
/* rgb */ color: rgb(220, 209, 151);
/* oklch */ color: oklch(85.6% 0.076 98.7);
Tailwind
colors: {
  custom: {
    50: '#e7dfb6',
    500: '#dcd197',
    950: '#000000',
  },
}
SCSS
$custom: #dcd197;
$custom-light: #e7dfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd197",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 151
  },
  "hsl": {
    "h": 50.435,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.8558,
    "c": 0.0764,
    "h": 98.7
  },
  "luminance": 0.63051
}

Semantic roles & 50–950 ramp

primary
#DCD197
secondary
#6470B4
accent
#40BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD197

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

Preview Lab → · Contrast checker → · Palette generator →

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