#DCD698#DCD698

#DCD698 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.6% C 0.081 H 103.3°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#DCD698
RGBrgb(220, 214, 152)
HSLhsl(55, 49%, 73%)
HSVhsv(55, 31%, 86%)
CMYKcmyk(0%, 2.7%, 30.9%, 13.7%)
CIE-LABlab(84.78, -7.32, 31.44)
CIE-LCHlch(84.78, 32.28, 103.11°)
OKLaboklab(86.62% -0.0185 0.0785)
OKLCHoklch(86.62% 0.081 103.3)
XYZxyz(59.2297, 65.5770, 39.2372)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD698 #989EDC
analogous
#DCB498 #DCD698 #C0DC98
triadic
#DCD698 #98DCD6 #D698DC
tetradic
#DCD698 #98DCB4 #989EDC #DC98C0
square
#DCD698 #98DCB4 #989EDC #DC98C0
split-complementary
#DCD698 #98C0DC #B498DC
monochromatic
#BAAF3F #CCC46A #DCD698 #ECE8C6 #F7F6E8

Accessibility & contrast

On white

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

On black

14.12
#DCD698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD698
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD698#FFFFFF#000000##000000
##DCD6981.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd698;
/* rgb */ color: rgb(220, 214, 152);
/* oklch */ color: oklch(86.6% 0.081 103.3);
Tailwind
colors: {
  custom: {
    50: '#e7e2b7',
    500: '#dcd698',
    950: '#000000',
  },
}
SCSS
$custom: #dcd698;
$custom-light: #e7e2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd698",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 152
  },
  "hsl": {
    "h": 54.706,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86623,
    "c": 0.0806,
    "h": 103.3
  },
  "luminance": 0.65576
}

Semantic roles & 50–950 ramp

primary
#DCD698
secondary
#646BB4
accent
#36BD29
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD698

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

Preview Lab → · Contrast checker → · Palette generator →

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