#DCD697#DCD697

#DCD697 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.082 H 103.4°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#DCD697
RGBrgb(220, 214, 151)
HSLhsl(55, 50%, 73%)
HSVhsv(55, 31%, 86%)
CMYKcmyk(0%, 2.7%, 31.4%, 13.7%)
CIE-LABlab(84.76, -7.45, 31.93)
CIE-LCHlch(84.76, 32.78, 103.13°)
OKLaboklab(86.6% -0.0189 0.0796)
OKLCHoklch(86.6% 0.082 103.4)
XYZxyz(59.1482, 65.5444, 38.8077)
Luminance0.6554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD697 #979DDC
analogous
#DCB497 #DCD697 #BFDC97
triadic
#DCD697 #97DCD6 #D697DC
tetradic
#DCD697 #97DCB4 #979DDC #DC97BF
square
#DCD697 #97DCB4 #979DDC #DC97BF
split-complementary
#DCD697 #97BFDC #B497DC
monochromatic
#BAAF3F #CDC469 #DCD697 #EBE8C5 #F7F6E8

Accessibility & contrast

On white

1.49
#DCD697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#DCD697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD697
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD697#FFFFFF#000000##000000
##DCD6971.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D293
Deuteranopia (green-blind)
#E3D599
Tritanopia (blue-blind)
#E6CEC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd697;
/* rgb */ color: rgb(220, 214, 151);
/* oklch */ color: oklch(86.6% 0.082 103.4);
Tailwind
colors: {
  custom: {
    50: '#e7e2b6',
    500: '#dcd697',
    950: '#000000',
  },
}
SCSS
$custom: #dcd697;
$custom-light: #e7e2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd697",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 151
  },
  "hsl": {
    "h": 54.783,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86604,
    "c": 0.0818,
    "h": 103.4
  },
  "luminance": 0.65543
}

Semantic roles & 50–950 ramp

primary
#DCD697
secondary
#646AB4
accent
#35BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD697

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

Preview Lab → · Contrast checker → · Palette generator →

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