#DCD779#DCD779

#DCD779 is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.3% C 0.117 H 105.9°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#DCD779
RGBrgb(220, 215, 121)
HSLhsl(57, 59%, 67%)
HSVhsv(57, 45%, 86%)
CMYKcmyk(0%, 2.3%, 45%, 13.7%)
CIE-LABlab(84.59, -11.25, 46.77)
CIE-LCHlch(84.59, 48.10, 103.53°)
OKLaboklab(86.32% -0.032 0.1122)
OKLCHoklch(86.32% 0.117 105.9)
XYZxyz(57.2680, 65.1985, 27.6533)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD779 #797EDC
analogous
#DCA679 #DCD779 #B0DC79
triadic
#DCD779 #79DCD7 #D779DC
tetradic
#DCD779 #79DCA6 #797EDC #DC79B0
square
#DCD779 #79DCA6 #797EDC #DC79B0
split-complementary
#DCD779 #79B0DC #A679DC
monochromatic
#ADA72D #CFC948 #DCD779 #E9E5AA #F5F4DA

Accessibility & contrast

On white

1.50
#DCD779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#DCD779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD779
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD779#FFFFFF#000000##000000
##DCD7791.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D171
Deuteranopia (green-blind)
#E8D57D
Tritanopia (blue-blind)
#E9CCC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd779;
/* rgb */ color: rgb(220, 215, 121);
/* oklch */ color: oklch(86.3% 0.117 105.9);
Tailwind
colors: {
  custom: {
    50: '#e8e3a1',
    500: '#dcd779',
    950: '#000000',
  },
}
SCSS
$custom: #dcd779;
$custom-light: #e8e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd779",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 121
  },
  "hsl": {
    "h": 56.97,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8632,
    "c": 0.11665,
    "h": 105.9
  },
  "luminance": 0.65197
}

Semantic roles & 50–950 ramp

primary
#DCD779
secondary
#4A4FB0
accent
#28C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD779

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

Preview Lab → · Contrast checker → · Palette generator →

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