#DCD78D#DCD78D

#DCD78D is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.6% C 0.095 H 104.9°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#DCD78D
RGBrgb(220, 215, 141)
HSLhsl(56, 53%, 71%)
HSVhsv(56, 36%, 86%)
CMYKcmyk(0%, 2.3%, 35.9%, 13.7%)
CIE-LABlab(84.86, -9.14, 37.17)
CIE-LCHlch(84.86, 38.28, 103.82°)
OKLaboklab(86.63% -0.0243 0.0915)
OKLCHoklch(86.63% 0.095 104.9)
XYZxyz(58.6241, 65.7409, 34.7952)
Luminance0.6574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD78D #8D92DC
analogous
#DCAF8D #DCD78D #B9DC8D
triadic
#DCD78D #8DDCD7 #D78DDC
tetradic
#DCD78D #8DDCAF #8D92DC #DC8DB9
square
#DCD78D #8DDCAF #8D92DC #DC8DB9
split-complementary
#DCD78D #8DB9DC #AF8DDC
monochromatic
#B7AF38 #CEC75E #DCD78D #EAE7BC #F8F7E8

Accessibility & contrast

On white

1.48
#DCD78D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#DCD78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD78D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD78D#FFFFFF#000000##000000
##DCD78D1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D288
Deuteranopia (green-blind)
#E5D690
Tritanopia (blue-blind)
#E7CEC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd78d;
/* rgb */ color: rgb(220, 215, 141);
/* oklch */ color: oklch(86.6% 0.095 104.9);
Tailwind
colors: {
  custom: {
    50: '#e8e3af',
    500: '#dcd78d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd78d;
$custom-light: #e8e3af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd78d",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 141
  },
  "hsl": {
    "h": 56.203,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86632,
    "c": 0.09467,
    "h": 104.9
  },
  "luminance": 0.6574
}

Semantic roles & 50–950 ramp

primary
#DCD78D
secondary
#5A60B3
accent
#2FC025
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD78D

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

Preview Lab → · Contrast checker → · Palette generator →

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