#DCD379#DCD379

#DCD379 is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.5% C 0.112 H 103.5°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#DCD379
RGBrgb(220, 211, 121)
HSLhsl(55, 59%, 67%)
HSVhsv(55, 45%, 86%)
CMYKcmyk(0%, 4.1%, 45%, 13.7%)
CIE-LABlab(83.54, -9.23, 45.48)
CIE-LCHlch(83.54, 46.41, 101.48°)
OKLaboklab(85.49% -0.0262 0.1093)
OKLCHoklch(85.49% 0.112 103.5)
XYZxyz(56.2619, 63.1863, 27.3179)
Luminance0.6319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD379 #7982DC
analogous
#DCA179 #DCD379 #B4DC79
triadic
#DCD379 #79DCD3 #D379DC
tetradic
#DCD379 #79DCA1 #7982DC #DC79B4
square
#DCD379 #79DCA1 #7982DC #DC79B4
split-complementary
#DCD379 #79B4DC #A179DC
monochromatic
#ADA22D #CFC348 #DCD379 #E9E3AA #F5F3DA

Accessibility & contrast

On white

1.54
#DCD379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#DCD379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD379
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD379#FFFFFF#000000##000000
##DCD3791.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD72
Deuteranopia (green-blind)
#E5D27D
Tritanopia (blue-blind)
#E9C8BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd379;
/* rgb */ color: rgb(220, 211, 121);
/* oklch */ color: oklch(85.5% 0.112 103.5);
Tailwind
colors: {
  custom: {
    50: '#e8e0a1',
    500: '#dcd379',
    950: '#000000',
  },
}
SCSS
$custom: #dcd379;
$custom-light: #e8e0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd379",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 121
  },
  "hsl": {
    "h": 54.545,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8549,
    "c": 0.1124,
    "h": 103.5
  },
  "luminance": 0.63185
}

Semantic roles & 50–950 ramp

primary
#DCD379
secondary
#4A53B0
accent
#2EC61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD379

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

Preview Lab → · Contrast checker → · Palette generator →

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