#DCD679#DCD679

#DCD679 is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.1% C 0.116 H 105.3°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#DCD679
RGBrgb(220, 214, 121)
HSLhsl(56, 59%, 67%)
HSVhsv(56, 45%, 86%)
CMYKcmyk(0%, 2.7%, 45%, 13.7%)
CIE-LABlab(84.32, -10.75, 46.45)
CIE-LCHlch(84.32, 47.67, 103.03°)
OKLaboklab(86.11% -0.0305 0.1115)
OKLCHoklch(86.11% 0.116 105.3)
XYZxyz(57.0142, 64.6908, 27.5687)
Luminance0.6469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD679 #797FDC
analogous
#DCA579 #DCD679 #B1DC79
triadic
#DCD679 #79DCD6 #D679DC
tetradic
#DCD679 #79DCA5 #797FDC #DC79B1
square
#DCD679 #79DCA5 #797FDC #DC79B1
split-complementary
#DCD679 #79B1DC #A579DC
monochromatic
#ADA62D #CFC748 #DCD679 #E9E5AA #F5F4DA

Accessibility & contrast

On white

1.51
#DCD679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#DCD679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD679
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD679#FFFFFF#000000##000000
##DCD6791.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D071
Deuteranopia (green-blind)
#E7D47D
Tritanopia (blue-blind)
#E9CBC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd679;
/* rgb */ color: rgb(220, 214, 121);
/* oklch */ color: oklch(86.1% 0.116 105.3);
Tailwind
colors: {
  custom: {
    50: '#e8e2a1',
    500: '#dcd679',
    950: '#000000',
  },
}
SCSS
$custom: #dcd679;
$custom-light: #e8e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd679",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 121
  },
  "hsl": {
    "h": 56.364,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86112,
    "c": 0.11558,
    "h": 105.3
  },
  "luminance": 0.64689
}

Semantic roles & 50–950 ramp

primary
#DCD679
secondary
#4A50B0
accent
#29C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD679

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

Preview Lab → · Contrast checker → · Palette generator →

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