#DCD98D#DCD98D

#DCD98D is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.0% C 0.097 H 106.3°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#DCD98D
RGBrgb(220, 217, 141)
HSLhsl(58, 53%, 71%)
HSVhsv(58, 36%, 86%)
CMYKcmyk(0%, 1.4%, 35.9%, 13.7%)
CIE-LABlab(85.39, -10.16, 37.84)
CIE-LCHlch(85.39, 39.18, 105.02°)
OKLaboklab(87.04% -0.0272 0.093)
OKLCHoklch(87.04% 0.097 106.3)
XYZxyz(59.1365, 66.7657, 34.9660)
Luminance0.6676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD98D #8D90DC
analogous
#DCB18D #DCD98D #B7DC8D
triadic
#DCD98D #8DDCD9 #D98DDC
tetradic
#DCD98D #8DDCB1 #8D90DC #DC8DB7
square
#DCD98D #8DDCB1 #8D90DC #DC8DB7
split-complementary
#DCD98D #8DB7DC #B18DDC
monochromatic
#B7B238 #CEC95E #DCD98D #EAE9BC #F8F7E8

Accessibility & contrast

On white

1.46
#DCD98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#DCD98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD98D
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD98D#FFFFFF#000000##000000
##DCD98D1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D387
Deuteranopia (green-blind)
#E7D790
Tritanopia (blue-blind)
#E7D0C6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd98d;
/* rgb */ color: rgb(220, 217, 141);
/* oklch */ color: oklch(87.0% 0.097 106.3);
Tailwind
colors: {
  custom: {
    50: '#e8e4af',
    500: '#dcd98d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd98d;
$custom-light: #e8e4af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd98d",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 141
  },
  "hsl": {
    "h": 57.722,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87045,
    "c": 0.09695,
    "h": 106.3
  },
  "luminance": 0.66764
}

Semantic roles & 50–950 ramp

primary
#DCD98D
secondary
#5A5DB3
accent
#2BC025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD98D

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

Preview Lab → · Contrast checker → · Palette generator →

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